Migrate to PHP 8.2, PHPUnit 10 and native attributes - #1
Draft
rybakit wants to merge 3 commits into
Draft
Annotations
10 warnings
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Static Analysis using Psalm:
src/Expectation/IsTruthyExpression.php#L45
src/Expectation/IsTruthyExpression.php:45:20: DeprecatedMethod: The method PHPUnit\Framework\Constraint\Constraint::exporter has been marked as deprecated (see https://psalm.dev/001)
|
|
Static Analysis using Psalm:
src/Expectation/IsTruthyExpression.php#L40
src/Expectation/IsTruthyExpression.php:40:43: MissingParamType: Parameter $other has no provided type (see https://psalm.dev/154)
|
|
Static Analysis using Psalm:
src/Expectation/IsTruthyExpression.php#L34
src/Expectation/IsTruthyExpression.php:34:32: MissingParamType: Parameter $other has no provided type (see https://psalm.dev/154)
|
|
Static Analysis using Psalm:
src/Annotation/Target.php#L72
src/Annotation/Target.php:72:16: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
|
Static Analysis using Psalm:
src/Annotation/Target.php#L44
src/Annotation/Target.php:44:38: ArgumentTypeCoercion: Argument 1 of ReflectionClass::__construct expects class-string|object|trait-string, but parent type string provided (see https://psalm.dev/193)
|
|
Static Analysis using Psalm:
src/Annotation/Requirement/PackageRequirement.php#L41
src/Annotation/Requirement/PackageRequirement.php:41:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
|
Static Analysis using Psalm:
src/Annotation/Requirement/PackageRequirement.php#L36
src/Annotation/Requirement/PackageRequirement.php:36:31: DeprecatedClass: PackageVersions\Versions is marked deprecated (see https://psalm.dev/098)
|
|
Static Analysis using Psalm:
src/Annotation/Requirement/ConditionRequirement.php#L72
src/Annotation/Requirement/ConditionRequirement.php:72:35: MissingParamType: Parameter $key has no provided type (see https://psalm.dev/154)
|
|
Static Analysis using Psalm:
src/Annotation/AnnotationExtension.php#L21
src/Annotation/AnnotationExtension.php:21:7: ClassMustBeFinal: Class PHPUnitExtras\Annotation\AnnotationExtension is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
background
wait
wait-all
cancel
parallel
Loading