Skip to content

[PHP 8.4] Fixes for implicit nullability deprecation #18

[PHP 8.4] Fixes for implicit nullability deprecation

[PHP 8.4] Fixes for implicit nullability deprecation #18

Re-run triggered March 15, 2024 12:40
Status Failure
Total duration 40s
Artifacts

phpstan.yml

on: pull_request
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
PHPStan (7.2): src/PhpFileCleaner.php#L102
Offset 0 might not exist on array<int, string>|null.
PHPStan (7.2): src/PhpFileCleaner.php#L103
Offset 2 might not exist on array<int, string>|null.
PHPStan (7.2): src/PhpFileCleaner.php#L132
Parameter #2 $match of method Composer\ClassMapGenerator\PhpFileCleaner::match() expects array<int, string>|null, array<int|string, string|null>|null given.
PHPStan (7.2): src/PhpFileCleaner.php#L133
Offset 0 might not exist on array<int, string>|null.
PHPStan (7.2): src/PhpFileCleaner.php#L134
Offset 0 might not exist on array<int, string>|null.
PHPStan (7.2): src/PhpFileCleaner.php#L245
Parameter &$match by-ref type of method Composer\ClassMapGenerator\PhpFileCleaner::match() expects array<int, string>|null, array<int|string, string|null> given.
PHPStan (7.2)
Process completed with exit code 1.
PHPStan (8.1)
The job was canceled because "_7_2" failed.
PHPStan (8.1): src/PhpFileCleaner.php#L102
Offset 0 might not exist on array<int, string>|null.
PHPStan (8.1): src/PhpFileCleaner.php#L103
Offset 2 might not exist on array<int, string>|null.
PHPStan (8.1): src/PhpFileCleaner.php#L132
Parameter #2 $match of method Composer\ClassMapGenerator\PhpFileCleaner::match() expects array<int, string>|null, array<int|string, string|null>|null given.
PHPStan (8.1): src/PhpFileCleaner.php#L133
Offset 0 might not exist on array<int, string>|null.
PHPStan (8.1): src/PhpFileCleaner.php#L134
Offset 0 might not exist on array<int, string>|null.
PHPStan (8.1): src/PhpFileCleaner.php#L245
Parameter &$match by-ref type of method Composer\ClassMapGenerator\PhpFileCleaner::match() expects array<int, string>|null, array<int|string, string|null> given.
PHPStan (8.1)
The operation was canceled.
PHPStan (7.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan (7.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (7.2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHPStan (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/