Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  Use extension_loaded call to check if pcntl extension is loaded, as SIGTERM might be set be swoole
  [DomCrawler] UriResolver support path with columns
  attach all required parameters to query
  Bump Symfony version to 6.3.9
  Update VERSION for 6.3.8
  Update CHANGELOG for 6.3.8
  Bump Symfony version to 5.4.32
  Update VERSION for 5.4.31
  Update CONTRIBUTORS for 5.4.31
  Update CHANGELOG for 5.4.31
  Update VERSION for 4.4.51
  Update CHANGELOG for 4.4.51
  [Validator] updated Lithuanian translation
  • Loading branch information
derrabus committed Nov 14, 2023
2 parents ed0d2aa + 511fe4c commit 5c972ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Command/ConsumeMessagesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function complete(CompletionInput $input, CompletionSuggestions $suggesti

public function getSubscribedSignals(): array
{
return $this->signals ?? (\defined('SIGTERM') ? [\SIGTERM, \SIGINT] : []);
return $this->signals ?? (\extension_loaded('pcntl') ? [\SIGTERM, \SIGINT] : []);
}

public function handleSignal(int $signal, int|false $previousExitCode = 0): int|false
Expand Down
2 changes: 1 addition & 1 deletion Command/FailedMessagesRetryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int

public function getSubscribedSignals(): array
{
return $this->signals ?? (\defined('SIGTERM') ? [\SIGTERM, \SIGINT] : []);
return $this->signals ?? (\extension_loaded('pcntl') ? [\SIGTERM, \SIGINT] : []);
}

public function handleSignal(int $signal, int|false $previousExitCode = 0): int|false
Expand Down

0 comments on commit 5c972ca

Please sign in to comment.