Bump phpstan/phpstan from 1.10.16 to 1.10.27 #1882
test.yml
on: pull_request
Matrix: deptrac
Matrix: infection
Matrix: unit-tests
Annotations
18 warnings
unit-tests (ubuntu-20.04, 8.2, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
deptrac (ubuntu-20.04, 8.1, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
deptrac (ubuntu-20.04, 8.1, false)
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/
|
deptrac (ubuntu-20.04, 8.2, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
deptrac (ubuntu-20.04, 8.2, true)
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/
|
unit-tests (ubuntu-20.04, 8.1, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
infection (ubuntu-20.04, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
infection (ubuntu-20.04, 8.1):
src/Contract/Analyser/EventHelper.php#L37
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
public function shouldViolationBeSkipped(string $depender, string $dependent) : bool
{
$skippedViolation = $this->skippedViolations[$depender] ?? [];
- $matched = [] !== $skippedViolation && in_array($dependent, $skippedViolation, true);
+ $matched = [] !== $skippedViolation || in_array($dependent, $skippedViolation, true);
if (!$matched) {
return false;
}
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnDisallowedLayer.php#L24
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -1]];
+ return [];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnDisallowedLayer.php#L25
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -1]];
+ return [ProcessEvent::class => ['invoke', -2]];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnDisallowedLayer.php#L25
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -1]];
+ return [ProcessEvent::class => ['invoke', -0]];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnInternalToken.php#L21
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -2]];
+ return [];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnInternalToken.php#L22
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -2]];
+ return [ProcessEvent::class => ['invoke', -3]];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnInternalToken.php#L22
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -2]];
+ return [ProcessEvent::class => ['invoke', -1]];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnPrivateLayer.php#L20
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -3]];
+ return [];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnPrivateLayer.php#L21
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -3]];
+ return [ProcessEvent::class => ['invoke', -4]];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1):
src/Core/Analyser/EventHandler/DependsOnPrivateLayer.php#L21
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
public static function getSubscribedEvents()
{
- return [ProcessEvent::class => ['invoke', -3]];
+ return [ProcessEvent::class => ['invoke', -2]];
}
public function invoke(ProcessEvent $event) : void
{
|
infection (ubuntu-20.04, 8.1)
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/
|