Skip to content

CI

CI #617

Triggered via schedule March 18, 2024 08:07
Status Failure
Total duration 2m 11s
Artifacts 1

ci.yaml

on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 23 warnings
Static analysis (ubuntu-latest, 8.1): src/Printers/Dumper.php#L107
Only numeric types are allowed in +, (int|string) given on the left side.
Static analysis (ubuntu-latest, 8.1)
Process completed with exit code 2.
Status check - CI
Process completed with exit code 1.
Coding standard (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test for mutants (ubuntu-latest, 8.1): src/Args/ArgsChecker.php#L46
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ public function checkAllowedArgs(array $argNames) : void { $actualArgNames = array_keys($this->args); - foreach ($actualArgNames as $name) { + foreach (array() as $name) { if (!in_array($name, $argNames, true)) { $hint = Helpers::getSuggestion($argNames, (string) $name); throw InvalidArgument::create()->withMessage(sprintf('Unknown argument "%s" given to "%s"%s', $name, $this->class, $hint !== null ? sprintf(', did you mean "%s"?', $hint) : ''));
Test for mutants (ubuntu-latest, 8.1): src/Args/ArgsChecker.php#L138
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ public function checkNullableInt(string $argName) : ?int { $argValue = $this->args[$argName]; - if ($argValue !== null && !is_int($argValue)) { + if ($argValue !== null && is_int($argValue)) { throw InvalidArgument::create()->withMessage($this->formatMessage('int|null', $argName, $argValue)); } return $argValue;
Test for mutants (ubuntu-latest, 8.1): src/Args/ArgsChecker.php#L170
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ if (is_int($argValue)) { $argValue = (float) $argValue; } - if ($argValue !== null && !is_float($argValue)) { + if ($argValue !== null && is_float($argValue)) { throw InvalidArgument::create()->withMessage($this->formatMessage('float|null', $argName, $argValue)); } return $argValue;
Test for mutants (ubuntu-latest, 8.1): src/Args/ArgsChecker.php#L194
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ public function checkNullableString(string $argName) : ?string { $argValue = $this->args[$argName]; - if ($argValue !== null && !is_string($argValue)) { + if ($argValue !== null && is_string($argValue)) { throw InvalidArgument::create()->withMessage($this->formatMessage('string|null', $argName, $argValue)); } return $argValue;
Test for mutants (ubuntu-latest, 8.1): src/Args/ArgsChecker.php#L241
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ public function checkInstanceOf(string $argName, string $className) : object { $argValue = $this->args[$argName]; - if (!$argValue instanceof $className) { + if (!true) { throw InvalidArgument::create()->withMessage($this->formatMessage("instance of {$className}", $argName, $argValue)); } return $argValue;
Test for mutants (ubuntu-latest, 8.1): src/Args/ArgsChecker.php#L258
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ public function checkNullableInstanceOf(string $argName, string $className) : ?object { $argValue = $this->args[$argName]; - if ($argValue !== null && !$argValue instanceof $className) { + if ($argValue !== null && !true) { throw InvalidArgument::create()->withMessage($this->formatMessage("instance of {$className}", $argName, $argValue)); } return $argValue;
Test for mutants (ubuntu-latest, 8.1): src/Callbacks/BaseCallback.php#L61
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public static function resolveArgs(array $args, ArgsContext $context, Reflector $reflector) : BaseCallbackArgs { $checker = new ArgsChecker($args, static::class); - $checker->checkAllowedArgs([self::Method, self::Runtime]); + $checker->checkRequiredArg(self::Method); $methodName = $checker->checkString(self::Method); $runtime = CallbackRuntime::Process;
Test for mutants (ubuntu-latest, 8.1): src/Callbacks/BaseCallback.php#L63
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $checker = new ArgsChecker($args, static::class); $checker->checkAllowedArgs([self::Method, self::Runtime]); - $checker->checkRequiredArg(self::Method); + $methodName = $checker->checkString(self::Method); $runtime = CallbackRuntime::Process; if ($checker->hasArg(self::Runtime)) {
Test for mutants (ubuntu-latest, 8.1): src/Callbacks/BaseCallback.php#L104
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ private static function validateMethod(ReflectionClass $class, ?ReflectionProperty $property, string $methodName) : ReflectionMethod { $method = self::validateMethodExistence($class, $methodName); - self::validateMethodSignature($method, $class, $property); + return $method; } /**
Test for mutants (ubuntu-latest, 8.1): src/Callbacks/BaseCallback.php#L172
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ throw InvalidArgument::create()->withMessage(sprintf('Callback method %s::%s should have only 2 required parameters, %s required parameters given', $class->getName(), $method->getName(), $requiredCount)); } $parameters = $method->getParameters(); - return [$parameters[0] ?? null, $parameters[1] ?? null]; + return [$parameters[0] ?? null, $parameters[2] ?? null]; } /** * beforeClass(<nothing>|mixed $data, MappedObjectContext $context): <anything>

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
358 KB