switching on phpstan v2 level 10 #10587
ci.yml
on: pull_request
pre-commit
/
pre-commit
1m 45s
gh-travis
/
gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
6 errors and 1 warning
phpstan / php-stan (8.2):
htdocs/bookcal/availabilities_list.php#L492
Empty array passed to foreach.
|
phpstan / php-stan (8.2):
htdocs/bookcal/calendar_list.php#L476
Empty array passed to foreach.
|
phpstan / php-stan (8.2):
htdocs/mrp/class/mo.class.php#L1825
Ignored error pattern #^Property Mo\:\:\$tpl \(array\<string, int\|string\>\) does not accept array\<string, float\|int\|string\>\.$# (assign.propertyType) in path /home/runner/work/dolibarr/dolibarr/htdocs/mrp/class/mo.class.php is expected to occur 4 times, but occurred 6 times.
|
phpstan / php-stan (8.2):
htdocs/mrp/class/mo.class.php#L1831
Property Mo::$tpl (array<string, int|string>) does not accept array<string, float|int|string>.
|
phpstan / php-stan (8.2):
htdocs/mrp/class/mo.class.php#L1833
Property Mo::$tpl (array<string, int|string>) does not accept array<string, float|int|string>.
|
phpstan / php-stan (8.2)
Process completed with exit code 1.
|
pre-commit / pre-commit
Cache save failed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
Expired
|
199 Bytes |
|
phpstan-srcrt
Expired
|
565 Bytes |
|
precommit-logs
Expired
|
728 Bytes |
|