Skip to content

Fixed property from interface implemented by trait #2798

Fixed property from interface implemented by trait

Fixed property from interface implemented by trait #2798

Triggered via pull request February 12, 2025 20:07
Status Failure
Total duration 15m 35s
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

8 errors and 7 warnings
Check Coding Standards (locked, 8.4, ubuntu-latest)
Process completed with exit code 2.
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest): test/unit/Reflection/ReflectionClassTest.php#L3203
Call to static method PHPUnit\Framework\Assert::assertSame() with 'Timestamps' and class-string will always evaluate to false.
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest): test/unit/Reflection/ReflectionClassTest.php#L3204
Call to static method PHPUnit\Framework\Assert::assertSame() with 'Example' and class-string will always evaluate to false.
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest)
Process completed with exit code 1.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
The operation was canceled.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest)
The operation was canceled.
Mutation tests (locked, 8.4, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L380
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } /** @psalm-var mixed $nodePropertyArrayItem */ foreach ($nodeProperty as $nodePropertyArrayItem) { - if ($nodePropertyArrayItem instanceof Node && $this->nodeIsOrContainsYield($nodePropertyArrayItem)) { + if (true && $this->nodeIsOrContainsYield($nodePropertyArrayItem)) { return true; } }
Mutation tests (locked, 8.4, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_": @@ @@ 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.4, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_": @@ @@ 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.4, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_": @@ @@ 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.4, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_": @@ @@ 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.4, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "InstanceOf_": @@ @@ 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.4, ubuntu-latest): src/Reflection/ReflectionFunctionAbstract.php#L516
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": @@ @@ 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> */