Skip to content

Merge remote-tracking branch 'origin/3.4.x' into 4.0.x #174

Merge remote-tracking branch 'origin/3.4.x' into 4.0.x

Merge remote-tracking branch 'origin/3.4.x' into 4.0.x #174

Triggered via push November 23, 2024 21:03
Status Failure
Total duration 1m 1s
Artifacts
Static Analysis with PHPStan
35s
Static Analysis with PHPStan
Static Analysis with Psalm
50s
Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
Static Analysis with PHPStan: src/Mapping/ClassMetadata.php#L878
If condition is always true.
Static Analysis with PHPStan
Process completed with exit code 1.
RedundantCondition: src/Mapping/ClassMetadata.php#L878
src/Mapping/ClassMetadata.php:878:13: RedundantCondition: Operand of type ReflectionClass<T:Doctrine\ORM\Mapping\ClassMetadata as object> is always truthy (see https://psalm.dev/122)
RedundantCondition: src/Mapping/Driver/AttributeDriver.php#L79
src/Mapping/Driver/AttributeDriver.php:79:28: RedundantCondition: Type ReflectionClass<object> for $<tmp coalesce var>2290 is never null (see https://psalm.dev/122)
TypeDoesNotContainNull: src/Mapping/Driver/AttributeDriver.php#L82
src/Mapping/Driver/AttributeDriver.php:82:16: TypeDoesNotContainNull: Cannot resolve types for $<tmp coalesce var>2290 - ReflectionClass<object> does not contain null (see https://psalm.dev/090)
LessSpecificImplementedReturnType: src/Mapping/Driver/LoadMappingFileImplementation.php#L18
src/Mapping/Driver/LoadMappingFileImplementation.php:18:52: LessSpecificImplementedReturnType: The inherited return type 'array<class-string, SimpleXMLElement>' for Doctrine\Persistence\Mapping\Driver\FileDriver::loadMappingFile is more specific than the implemented return type for Doctrine\ORM\Mapping\Driver\LoadMappingFileImplementation::loadmappingfile 'array<array-key, mixed>' (see https://psalm.dev/166)
ImplementedReturnTypeMismatch: src/Mapping/GetReflectionClassImplementation.php#L15
src/Mapping/GetReflectionClassImplementation.php:15:47: ImplementedReturnTypeMismatch: The inherited return type 'ReflectionClass<T:Doctrine\ORM\Mapping\ClassMetadata as object>' for Doctrine\Persistence\Mapping\ClassMetadata::getReflectionClass is different to the implemented return type for Doctrine\ORM\Mapping\GetReflectionClassImplementation::getreflectionclass 'ReflectionClass' (see https://psalm.dev/123)
InvalidNullableReturnType: src/Mapping/GetReflectionClassImplementation.php#L15
src/Mapping/GetReflectionClassImplementation.php:15:47: InvalidNullableReturnType: The declared return type 'ReflectionClass' for Doctrine\ORM\Mapping\GetReflectionClassImplementation::getReflectionClass is not nullable, but 'ReflectionClass<T>|null' contains null (see https://psalm.dev/144)
UnusedBaselineEntry: src/Mapping/GetReflectionClassImplementation.php#L1
src/Mapping/GetReflectionClassImplementation.php:0:0: UnusedBaselineEntry: Baseline for issue "ImplementedReturnTypeMismatch" has 1 extra entry. (see https://psalm.dev/316)
UnusedBaselineEntry: src/Query/SqlWalker.php#L1
src/Query/SqlWalker.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyNullReference" has 1 extra entry. (see https://psalm.dev/316)
Static Analysis with Psalm
Process completed with exit code 2.
Static Analysis with PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/