Skip to content

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

phpstan: Streamline vendor file location with local dev-env

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

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

php.yml

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

Annotations

40 errors and 12 warnings
Unit tests with php 8.1 on ubuntu-latest
Process completed with exit code 127.
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/PaginationControl.php#L481
Variable $currentPageNumber might not be defined.
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 8.0 on ubuntu-latest: src/Control/PaginationControl.php#L481
Variable $currentPageNumber might not be defined.
Static analysis for php 8.0 on ubuntu-latest: src/FormElement/TermInput.php#L389
Ignored error pattern #^Parameter \#1 \$value of method ipl\\Web\\FormElement\\TermInput\:\:parseValue\(\) expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/FormElement/TermInput.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: src/Control/PaginationControl.php#L481
Variable $currentPageNumber might not be defined.
Static analysis for php 8.1 on ubuntu-latest: src/FormElement/TermInput.php#L389
Ignored error pattern #^Parameter \#1 \$value of method ipl\\Web\\FormElement\\TermInput\:\:parseValue\(\) expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/FormElement/TermInput.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
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/PaginationControl.php#L481
Variable $currentPageNumber might not be defined.
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.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/PaginationControl.php#L481
Variable $currentPageNumber might not be defined.
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 8.2 on ubuntu-latest: src/Control/PaginationControl.php#L481
Variable $currentPageNumber might not be defined.
Static analysis for php 8.2 on ubuntu-latest: src/FormElement/TermInput.php#L389
Ignored error pattern #^Parameter \#1 \$value of method ipl\\Web\\FormElement\\TermInput\:\:parseValue\(\) expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/FormElement/TermInput.php is expected to occur 2 times, but occurred only 1 time.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
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 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 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 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 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.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 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/.
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/.