fix phpstan RC2 #7
Annotations
7 errors
Run PHPStan
Process completed with exit code 1.
|
Run 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.
|
Run PHPStan:
src/OpenApi/Storage/OpenAPI/SchemaStorage.php#L40
Deprecated in PHP 8.4: Parameter #2 $currentNode (array) is implicitly nullable via default value null.
|
Run PHPStan:
src/OpenApi/OpenApi.php#L68
Unreachable statement - code above always terminates.
|
Run PHPStan:
src/OpenApi/OpenApi.php#L64
Result of || is always true.
|
Run PHPStan:
src/OpenApi/OpenApi.php#L64
Negated boolean expression is always true.
|
Run PHPStan:
src/OpenApi/OpenApi.php#L64
Negated boolean expression is always true.
|
Loading