Skip to content

PD-115 Fix PHPStan

PD-115 Fix PHPStan #71

Triggered via pull request January 24, 2024 14:51
Status Failure
Total duration 59s
Artifacts 1

static-analysis.yaml

on: pull_request
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 6 warnings
Static Analysis with PHPStan (8.1, lowest, false): src/Scheduler/GenericDataIndexScheduleProvider.php#L37
Call to an undefined method Symfony\Component\Scheduler\Schedule::before().
Static Analysis with PHPStan (8.1, lowest, false): src/Scheduler/GenericDataIndexScheduleProvider.php#L37
Class Symfony\Component\Scheduler\Schedule does not have a constructor and must be instantiated without any parameters.
Static Analysis with PHPStan (8.1, lowest, false): src/Scheduler/GenericDataIndexScheduleProvider.php#L41
Parameter $event of anonymous function has invalid type Symfony\Component\Scheduler\Event\PreRunEvent.
Static Analysis with PHPStan (8.1, lowest, false): src/Scheduler/GenericDataIndexScheduleProvider.php#L43
Call to method getMessage() on an unknown class Symfony\Component\Scheduler\Event\PreRunEvent.
Static Analysis with PHPStan (8.1, lowest, false): src/Scheduler/GenericDataIndexScheduleProvider.php#L46
Call to method shouldCancel() on an unknown class Symfony\Component\Scheduler\Event\PreRunEvent.
Static Analysis with PHPStan (8.1, lowest, false): src/Service/SearchIndex/IndexQueue/QueueMessagesDispatcher.php#L42
Parameter #1 $transports of class Symfony\Component\Messenger\Stamp\TransportNamesStamp constructor expects array<string>, string given.
Static Analysis with PHPStan (8.1, lowest, false)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2, highest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis with PHPStan (8.2, highest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis with PHPStan (8.1, lowest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis with PHPStan (8.1, lowest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
phpstan-baseline.neon Expired
1.31 KB