Skip to content

phpstan: Streamline vendor file location with local dev-env #375

phpstan: Streamline vendor file location with local dev-env

phpstan: Streamline vendor file location with local dev-env #375

Triggered via pull request March 25, 2024 11:32
Status Failure
Total duration 45s
Artifacts

php.yml

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

Annotations

15 errors and 7 warnings
Static analysis for php 7.2 on ubuntu-latest: library/Cube/Ido/IdoHostStatusCube.php#L80
Method Icinga\Module\Cube\Ido\IdoHostStatusCube::listAvailableDimensions() should return array but returns array<string, string>|false.
Static analysis for php 7.2 on ubuntu-latest: library/Cube/Ido/IdoServiceStatusCube.php#L69
Method Icinga\Module\Cube\Ido\IdoServiceStatusCube::listAvailableDimensions() should return array but returns array<string, string>|false.
Static analysis for php 7.2 on ubuntu-latest: library/Cube/Ido/ZfSelectWrapper.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function call_user_func_array expects callable\(\)\: mixed, array\{Zend_Db_Select, string\} given\.$# in path /home/runner/work/icingaweb2-module-cube/icingaweb2-module-cube/library/Cube/Ido/ZfSelectWrapper.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: library/Cube/Ido/ZfSelectWrapper.php#L75
Parameter #1 $function of function call_user_func_array expects callable(): mixed, array{Zend_Db_Select, string} given.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: library/Cube/Ido/IdoHostStatusCube.php#L80
Method Icinga\Module\Cube\Ido\IdoHostStatusCube::listAvailableDimensions() should return array but returns array<string, string>|false.
Static analysis for php 7.4 on ubuntu-latest: library/Cube/Ido/IdoServiceStatusCube.php#L69
Method Icinga\Module\Cube\Ido\IdoServiceStatusCube::listAvailableDimensions() should return array but returns array<string, string>|false.
Static analysis for php 7.4 on ubuntu-latest: library/Cube/Ido/ZfSelectWrapper.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function call_user_func_array expects callable\(\)\: mixed, array\{Zend_Db_Select, string\} given\.$# in path /home/runner/work/icingaweb2-module-cube/icingaweb2-module-cube/library/Cube/Ido/ZfSelectWrapper.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: library/Cube/Ido/ZfSelectWrapper.php#L75
Parameter #1 $function of function call_user_func_array expects callable(): mixed, array{Zend_Db_Select, string} given.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest: library/Cube/Ido/IdoHostStatusCube.php#L80
Method Icinga\Module\Cube\Ido\IdoHostStatusCube::listAvailableDimensions() should return array but returns array<string, string>|false.
Static analysis for php 7.3 on ubuntu-latest: library/Cube/Ido/IdoServiceStatusCube.php#L69
Method Icinga\Module\Cube\Ido\IdoServiceStatusCube::listAvailableDimensions() should return array but returns array<string, string>|false.
Static analysis for php 7.3 on ubuntu-latest: library/Cube/Ido/ZfSelectWrapper.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function call_user_func_array expects callable\(\)\: mixed, array\{Zend_Db_Select, string\} given\.$# in path /home/runner/work/icingaweb2-module-cube/icingaweb2-module-cube/library/Cube/Ido/ZfSelectWrapper.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: library/Cube/Ido/ZfSelectWrapper.php#L75
Parameter #1 $function of function call_user_func_array expects callable(): mixed, array{Zend_Db_Select, string} given.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.