Skip to content

Phpstan

Phpstan #459

Triggered via schedule July 15, 2024 08:22
Status Failure
Total duration 38s
Artifacts

phpstan.yml

on: schedule
Phpstan  /  Phpstan (8.3)
28s
Phpstan / Phpstan (8.3)
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Phpstan / Phpstan (8.3): src/DataSource/ElasticsearchDataSource.php#L40
Cannot access offset 'hits' on Elastic\Elasticsearch\Response\Elasticsearch|Http\Promise\Promise.
Phpstan / Phpstan (8.3): src/DataSource/ElasticsearchDataSource.php#L56
Cannot access offset 'hits' on Elastic\Elasticsearch\Response\Elasticsearch|Http\Promise\Promise.
Phpstan / Phpstan (8.3): src/Datagrid.php#L1268
Cannot access offset 'submit' on Nette\ComponentModel\IComponent.
Phpstan / Phpstan (8.3): src/Datagrid.php#L1286
Cannot access offset 'submit' on Nette\ComponentModel\IComponent.
Phpstan / Phpstan (8.3): src/Datagrid.php#L1318
Parameter #1 $id of method Contributte\Datagrid\Datagrid::redrawItem() expects int|string, array|Nette\Http\FileUpload|string|null given.
Phpstan / Phpstan (8.3): src/Datagrid.php#L1331
Cannot access offset 'submit' on Nette\ComponentModel\IComponent.
Phpstan / Phpstan (8.3): src/GroupAction/GroupActionCollection.php#L172
Parameter #1 $array of function array_keys expects array, array|Nette\Http\FileUpload|string|null given.
Phpstan / Phpstan (8.3): src/Utils/ItemDetailForm.php#L65
Parameter #1 $array of static method Nette\Utils\Arrays::get() expects array, array|Nette\Http\FileUpload|string|null given.
Phpstan / Phpstan (8.3)
Process completed with exit code 2.
Phpstan / Phpstan (8.3)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/