switching on phpstan v2 level 10 #10583
ci.yml
on: pull_request
pre-commit
/
pre-commit
1m 43s
gh-travis
/
gh-travis
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
9 errors and 3 warnings
phan / Run phan
Process completed with exit code 1.
|
phan / Run phan
Process completed with exit code 1.
|
phpstan / php-stan (8.2):
htdocs/accountancy/journal/purchasesjournal.php#L353
Loose comparison using == between 1 and 1 will always evaluate to true.
|
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.
|
phan / Run phan:
htdocs/accountancy/journal/purchasesjournal.php#L353
purchasesjournal.php: PhanPluginDuplicateExpressionBinaryOp: Both sides of the binary operator == are the same: 1
|
phan / Run phan:
htdocs/accountancy/journal/purchasesjournal.php#L353
purchasesjournal.php: PhanTypeInvalidRightOperandOfBitwiseOp: Invalid operator: right operand of & is bool (expected int|string)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
Expired
|
434 Bytes |
|
phpstan-srcrt
Expired
|
652 Bytes |
|
precommit-logs
Expired
|
728 Bytes |
|