Skip to content

Github Actions: Add PhpStan #49

Github Actions: Add PhpStan

Github Actions: Add PhpStan #49

Triggered via pull request August 22, 2023 15:25
@yhabteabyhabteab
synchronize #16
phpstan
Status Failure
Total duration 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

php.yml

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

Annotations

42 errors
Static analysis for php 7.3 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function array_map expects \(callable\(array\<int, string\>\|string\)\: mixed\)\|null, 'strtolower' given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function array_map expects \(callable\(array\<int, string\>\|string\)\: mixed\)\|null, 'strtolower' given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function array_map expects \(callable\(array\<int, string\>\|string\)\: mixed\)\|null, 'strtolower' given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function array_map expects \(callable\(array\<int, string\>\|string\)\: mixed\)\|null, 'strtolower' given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function array_map expects \(callable\(array\<int, string\>\|string\)\: mixed\)\|null, 'strtolower' given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function array_map expects \(callable\(array\<int, string\>\|string\)\: mixed\)\|null, 'strtolower' given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$haystack of function strpos expects string, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$string of function substr expects string, string\|null given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: src/Locale.php#L1
Ignored error pattern #^Parameter \#1 \$subject of static method ipl\\Stdlib\\Str\:\:trimSplit\(\) expects string\|null, array\<int, array\<int, array\<int, int\|string\>\|int\|string\>\|int\|string\>\|string given\.$# in path /app/src/Locale.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.