Skip to content

Update all non-major dependencies #1817

Update all non-major dependencies

Update all non-major dependencies #1817

Triggered via pull request February 20, 2024 04:19
Status Failure
Total duration 16m 39s
Artifacts

continuous-integration.yml

on: pull_request
Matrix: Check Backward Compatibility
Matrix: Run benchmarks
Matrix: Check Coding Standards
Matrix: Test Compatibility
Matrix: Check Demo Scripts
Matrix: Mutation tests
Matrix: PHPUnit tests
Matrix: Static Analysis by PHPStan
Matrix: Static Analysis by Psalm
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 40 warnings
InvalidReturnType: src/Reflection/Adapter/ReflectionAttribute.php#L24
src/Reflection/Adapter/ReflectionAttribute.php:24:34: InvalidReturnType: The declared return type '1|2|4|8|16|32|63' for Roave\BetterReflection\Reflection\Adapter\ReflectionAttribute::getTarget is incorrect, got '0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63' (see https://psalm.dev/011)
InvalidReturnStatement: src/Reflection/Adapter/ReflectionAttribute.php#L26
src/Reflection/Adapter/ReflectionAttribute.php:26:16: InvalidReturnStatement: The inferred type '0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63' does not match the declared return type '1|2|4|8|16|32|63' for Roave\BetterReflection\Reflection\Adapter\ReflectionAttribute::getTarget (see https://psalm.dev/128)
RedundantCondition: src/SourceLocator/Type/FileIteratorSourceLocator.php#L61
src/SourceLocator/Type/FileIteratorSourceLocator.php:61:52: RedundantCondition: '' can never contain non-falsy-string (see https://psalm.dev/122)
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
Process completed with exit code 2.
Static Analysis by PHPStan (locked, 8.1, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Compatibility (locked, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test Compatibility (locked, 8.2, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check Demo Scripts (locked, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run benchmarks (locked, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check Backward Compatibility (locked, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run benchmarks (locked, 8.2, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check Coding Standards (locked, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (highest, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (locked, 8.2, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (locked, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (highest, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (locked, 8.1, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (highest, 8.1, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (lowest, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (locked, 8.3, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (highest, 8.1, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (lowest, 8.2, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (lowest, 8.1, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (locked, 8.1, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (highest, 8.2, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (highest, 8.3, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (lowest, 8.1, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (lowest, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit tests (lowest, 8.3, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mutation tests (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L112
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ $startLine = null; if ($node->hasAttribute('startLine')) { $startLine = $node->getStartLine(); - assert($startLine > 0); + assert($startLine >= 0); } $endLine = null; if ($node->hasAttribute('endLine')) {
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L118
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ $endLine = null; if ($node->hasAttribute('endLine')) { $endLine = $node->getEndLine(); - assert($endLine > 0); + assert($endLine >= 0); } $this->startLine = $startLine; $this->endLine = $endLine;
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L507
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if ($returnType === null) { return null; } - assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); + assert(true || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); return ReflectionType::createFromNode($this->reflector, $this, $returnType); } /** @return list<ReflectionAttribute> */
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L507
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if ($returnType === null) { return null; } - assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); + assert($returnType instanceof Node\Identifier || true || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); return ReflectionType::createFromNode($this->reflector, $this, $returnType); } /** @return list<ReflectionAttribute> */
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L507
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if ($returnType === null) { return null; } - assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); + assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || true || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); return ReflectionType::createFromNode($this->reflector, $this, $returnType); } /** @return list<ReflectionAttribute> */
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L507
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if ($returnType === null) { return null; } - assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); + assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || true || $returnType instanceof Node\IntersectionType); return ReflectionType::createFromNode($this->reflector, $this, $returnType); } /** @return list<ReflectionAttribute> */
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L507
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if ($returnType === null) { return null; } - assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); + assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || true); return ReflectionType::createFromNode($this->reflector, $this, $returnType); } /** @return list<ReflectionAttribute> */
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L507
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if ($returnType === null) { return null; } - assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); + assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || false); return ReflectionType::createFromNode($this->reflector, $this, $returnType); } /** @return list<ReflectionAttribute> */
Mutation tests (locked, 8.3, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L507
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": --- Original +++ New @@ @@ if ($returnType === null) { return null; } - assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType); + assert(!$returnType instanceof Node\Identifier || !$returnType instanceof Node\Name || !$returnType instanceof Node\NullableType || !$returnType instanceof Node\UnionType || !$returnType instanceof Node\IntersectionType); return ReflectionType::createFromNode($this->reflector, $this, $returnType); } /** @return list<ReflectionAttribute> */
Mutation tests (locked, 8.3, ubuntu-latest): src/SourceLocator/Type/AutoloadSourceLocator.php#L202
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ } private function silenceErrors() : void { - set_error_handler(static fn(): bool => true); + set_error_handler(static fn(): bool => false); } /** * We can only load functions if they already exist, because PHP does not