Skip to content

fix phpstan RC2

fix phpstan RC2 #7

Triggered via push June 12, 2025 07:37
Status Failure
Total duration 23s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
phpstan
Process completed with exit code 1.
phpstan: src/OpenApi/Storage/OpenAPI/SchemaStorage.php#L40
Method Astral\Serialize\OpenApi\Storage\OpenAPI\SchemaStorage::build() never assigns null to &$currentNode so it can be removed from the by-ref type.
phpstan: src/OpenApi/Storage/OpenAPI/SchemaStorage.php#L40
Deprecated in PHP 8.4: Parameter #2 $currentNode (array) is implicitly nullable via default value null.
phpstan: src/OpenApi/OpenApi.php#L68
Unreachable statement - code above always terminates.
phpstan: src/OpenApi/OpenApi.php#L64
Result of || is always true.
phpstan: src/OpenApi/OpenApi.php#L64
Negated boolean expression is always true.
phpstan: src/OpenApi/OpenApi.php#L64
Negated boolean expression is always true.