chore(deps): update phpstan packages #324
Annotations
14 warnings
Infection
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Infection
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Infection
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Infection
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L22
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
private function setupInternalTerminationSignal(ConsumerConfig $config) : void
{
- $config->set('internal.termination.signal', SIGIO);
+
}
private function registerSignals(bool &$shouldRun) : void
{
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L31
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
$terminationCallback = static function () use(&$shouldRun) : void {
$shouldRun = false;
};
- pcntl_signal(SIGTERM, $terminationCallback);
+
pcntl_signal(SIGINT, $terminationCallback);
pcntl_signal(SIGHUP, $terminationCallback);
pcntl_sigprocmask(SIG_BLOCK, [SIGIO]);
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L32
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
$shouldRun = false;
};
pcntl_signal(SIGTERM, $terminationCallback);
- pcntl_signal(SIGINT, $terminationCallback);
+
pcntl_signal(SIGHUP, $terminationCallback);
pcntl_sigprocmask(SIG_BLOCK, [SIGIO]);
}
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L33
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
};
pcntl_signal(SIGTERM, $terminationCallback);
pcntl_signal(SIGINT, $terminationCallback);
- pcntl_signal(SIGHUP, $terminationCallback);
+
pcntl_sigprocmask(SIG_BLOCK, [SIGIO]);
}
private function degisterSignals() : void
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L34
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
pcntl_signal(SIGTERM, $terminationCallback);
pcntl_signal(SIGINT, $terminationCallback);
pcntl_signal(SIGHUP, $terminationCallback);
- pcntl_sigprocmask(SIG_BLOCK, [SIGIO]);
+ pcntl_sigprocmask(SIG_BLOCK, []);
}
private function degisterSignals() : void
{
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L34
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
pcntl_signal(SIGTERM, $terminationCallback);
pcntl_signal(SIGINT, $terminationCallback);
pcntl_signal(SIGHUP, $terminationCallback);
- pcntl_sigprocmask(SIG_BLOCK, [SIGIO]);
+
}
private function degisterSignals() : void
{
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L39
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
}
private function degisterSignals() : void
{
- pcntl_signal(SIGTERM, SIG_DFL);
+
pcntl_signal(SIGINT, SIG_DFL);
pcntl_signal(SIGHUP, SIG_DFL);
pcntl_sigprocmask(SIG_UNBLOCK, [SIGIO]);
}
}
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L40
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
private function degisterSignals() : void
{
pcntl_signal(SIGTERM, SIG_DFL);
- pcntl_signal(SIGINT, SIG_DFL);
+
pcntl_signal(SIGHUP, SIG_DFL);
pcntl_sigprocmask(SIG_UNBLOCK, [SIGIO]);
}
}
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L41
Escaped Mutant for Mutator "FunctionCallRemoval":
--- Original
+++ New
@@ @@
{
pcntl_signal(SIGTERM, SIG_DFL);
pcntl_signal(SIGINT, SIG_DFL);
- pcntl_signal(SIGHUP, SIG_DFL);
+
pcntl_sigprocmask(SIG_UNBLOCK, [SIGIO]);
}
}
|
Infection:
src/Clients/Consumer/WithSignalControl.php#L42
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
pcntl_signal(SIGTERM, SIG_DFL);
pcntl_signal(SIGINT, SIG_DFL);
pcntl_signal(SIGHUP, SIG_DFL);
- pcntl_sigprocmask(SIG_UNBLOCK, [SIGIO]);
+ pcntl_sigprocmask(SIG_UNBLOCK, []);
}
}
|