Skip to content

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

phpstan: Streamline vendor file location with local dev-env

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

Triggered via pull request February 9, 2024 14:22
@nilmergnilmerg
synchronize #215
fix/phpstan
Status Failure
Total duration 1m 14s
Artifacts

php.yml

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

Annotations

30 errors and 12 warnings
Static analysis for php 7.2 on ubuntu-latest: src/Compat/CompatController.php#L1
Ignored error pattern #^Parameter \#2 \$values of function vsprintf expects array\<bool\|float\|int\|string\|null\>, array\<int\|string, mixed\> given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Compat/CompatController.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Compat/CompatController.php#L213
Parameter #2 $args of function vsprintf expects array<bool|float|int|string|null>, array<int, mixed> given.
Static analysis for php 7.2 on ubuntu-latest: src/Control/SearchBar/Suggestions.php#L1
Ignored error pattern #^Parameter \#3 \$length of function substr expects int\|null, int\|false given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SearchBar/Suggestions.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Control/SearchBar/Suggestions.php#L277
Parameter #3 $length of function substr expects int, int<0, max>|false given.
Static analysis for php 7.2 on ubuntu-latest: src/Control/SearchBar/Terms.php#L1
Ignored error pattern #^Parameter \#1 \$string of function rawurlencode expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SearchBar/Terms.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Control/SearchBar/Terms.php#L199
Parameter #1 $str of function rawurlencode expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, int\|string\|null given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Control/SortControl.php#L235
Parameter #2 $str of function explode expects string, int|string|null given.
Static analysis for php 7.2 on ubuntu-latest: src/Control/SortControl.php#L238
Parameter #1 $str of function strtolower expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: src/Compat/CompatController.php#L1
Ignored error pattern #^Parameter \#2 \$values of function vsprintf expects array\<bool\|float\|int\|string\|null\>, array\<int\|string, mixed\> given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Compat/CompatController.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Compat/CompatController.php#L213
Parameter #2 $args of function vsprintf expects array<bool|float|int|string|null>, array<int, mixed> given.
Static analysis for php 7.3 on ubuntu-latest: src/Control/SearchBar/Suggestions.php#L1
Ignored error pattern #^Parameter \#3 \$length of function substr expects int\|null, int\|false given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SearchBar/Suggestions.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Control/SearchBar/Suggestions.php#L277
Parameter #3 $length of function substr expects int, int<0, max>|false given.
Static analysis for php 7.3 on ubuntu-latest: src/Control/SearchBar/Terms.php#L1
Ignored error pattern #^Parameter \#1 \$string of function rawurlencode expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SearchBar/Terms.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Control/SearchBar/Terms.php#L199
Parameter #1 $str of function rawurlencode expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, int\|string\|null given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Control/SortControl.php#L235
Parameter #2 $str of function explode expects string, int|string|null given.
Static analysis for php 7.3 on ubuntu-latest: src/Control/SortControl.php#L238
Parameter #1 $str of function strtolower expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: src/Compat/CompatController.php#L1
Ignored error pattern #^Parameter \#2 \$values of function vsprintf expects array\<bool\|float\|int\|string\|null\>, array\<int\|string, mixed\> given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Compat/CompatController.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Compat/CompatController.php#L213
Parameter #2 $args of function vsprintf expects array<bool|float|int|string|null>, array<int, mixed> given.
Static analysis for php 7.4 on ubuntu-latest: src/Control/SearchBar/Suggestions.php#L1
Ignored error pattern #^Parameter \#3 \$length of function substr expects int\|null, int\|false given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SearchBar/Suggestions.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Control/SearchBar/Suggestions.php#L277
Parameter #3 $length of function substr expects int, int<0, max>|false given.
Static analysis for php 7.4 on ubuntu-latest: src/Control/SearchBar/Terms.php#L1
Ignored error pattern #^Parameter \#1 \$string of function rawurlencode expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SearchBar/Terms.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Control/SearchBar/Terms.php#L199
Parameter #1 $str of function rawurlencode expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, int\|string\|null given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Control/SortControl.php#L235
Parameter #2 $str of function explode expects string, int|string|null given.
Static analysis for php 7.4 on ubuntu-latest: src/Control/SortControl.php#L238
Parameter #1 $str of function strtolower expects string, mixed given.
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.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 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 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 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/.
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/.
Unit tests with 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/.
Unit tests with 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/.
Unit tests with 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/.
Unit tests with 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/.
Unit tests with 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/.
Unit tests with 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/.