Skip to content

Add conditional param-out to fix internal returns #134

Add conditional param-out to fix internal returns

Add conditional param-out to fix internal returns #134

Triggered via push March 15, 2024 13:32
Status Failure
Total duration 34s
Artifacts

phpstan.yml

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

Annotations

11 errors and 4 warnings
PHPStan (7.2): src/Preg.php#L93
Parameter &$matches @param-out type of method Composer\Pcre\Preg::matchAll() expects array<int|string, list<string|null>>, array<list<string|null>> given.
PHPStan (7.2): src/Preg.php#L134
Parameter &$matches @param-out type of method Composer\Pcre\Preg::matchAllWithOffsets() expects array<int|string, list<array{string|null, int<-1, max>}>>, array given.
PHPStan (7.2): src/Preg.php#L430
Parameter &$matches @param-out type of method Composer\Pcre\Preg::pregMatch() expects array<int|string, array{string|null, int<-1, max>}|string|null>, array<array{string|null, int<-1, max>}|string|null> given.
PHPStan (7.2): src/Preg.php#L448
Parameter &$matches @param-out type of method Composer\Pcre\Preg::pregMatch() expects array<int|string, array{string|null, int<-1, max>}|string|null>, array given.
PHPStan (7.2)
Process completed with exit code 1.
PHPStan (8.3)
The job was canceled because "_7_2" failed.
PHPStan (8.3): src/Preg.php#L93
Parameter &$matches @param-out type of method Composer\Pcre\Preg::matchAll() expects array<int|string, list<string|null>>, array<list<string|null>> given.
PHPStan (8.3): src/Preg.php#L134
Parameter &$matches @param-out type of method Composer\Pcre\Preg::matchAllWithOffsets() expects array<int|string, list<array{string|null, int<-1, max>}>>, array given.
PHPStan (8.3): src/Preg.php#L430
Parameter &$matches @param-out type of method Composer\Pcre\Preg::pregMatch() expects array<int|string, array{string|null, int<-1, max>}|string|null>, array<array{string|null, int<-1, max>}|string|null> given.
PHPStan (8.3): src/Preg.php#L448
Parameter &$matches @param-out type of method Composer\Pcre\Preg::pregMatch() expects array<int|string, array{string|null, int<-1, max>}|string|null>, array given.
PHPStan (8.3)
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.3)
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/