Trans #9284
ci-on-push.yml
on: push
pre-commit
/
pre-commit
5m 21s
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
12 errors and 5 warnings
|
phpstan / php-stan (8.2):
htdocs/don/paiement/list.php#L645
Variable $arrayofselected might not be defined.
|
|
phpstan / php-stan (8.2):
htdocs/don/paiement/list.php#L643
Left side of || is always false.
|
|
phpstan / php-stan (8.2):
htdocs/don/paiement/list.php#L535
Ignored error pattern #^Variable \$arrayofselected might not be defined\.$# (variable.undefined) in path /home/runner/work/dolibarr/dolibarr/htdocs/don/paiement/list.php is expected to occur 1 time, but occurred 2 times.
|
|
phpstan / php-stan (8.2):
htdocs/don/paiement/list.php#L533
Ignored error pattern #^Left side of \|\| is always false\.$# (booleanOr.leftAlwaysFalse) in path /home/runner/work/dolibarr/dolibarr/htdocs/don/paiement/list.php is expected to occur 1 time, but occurred 2 times.
|
|
phpstan / php-stan (8.2):
htdocs/core/customreports.php#L102
Variable $search_groupby in isset() always exists and is not nullable.
|
|
phpstan / php-stan (8.2):
htdocs/core/customreports.php#L100
Variable $search_xaxis in isset() always exists and is not nullable.
|
|
phpstan / php-stan (8.2):
htdocs/compta/prelevement/class/bonprelevement.class.php#L1521
Parameter #14 $id_prelevement_demande of method BonPrelevement::addWithdrawDetail() expects string, int given.
|
|
phpstan / php-stan (8.2):
htdocs/compta/prelevement/class/bonprelevement.class.php#L424
Default value of the parameter #13 $id_prelevement_demande (int) of method BonPrelevement::addline() is incompatible with type string.
|
|
phpstan / php-stan (8.2):
htdocs/compta/prelevement/class/bonprelevement.class.php#L356
Default value of the parameter #14 $id_prelevement_demande (int) of method BonPrelevement::addWithdrawDetail() is incompatible with type string.
|
|
phpstan / php-stan (8.2):
htdocs/admin/eventorganization_public.php#L112
Loose comparison using == between 'edit' and 'edit' will always evaluate to true.
|
|
phan / Run phan
Process completed with exit code 1.
|
|
phan / Run phan
Process completed with exit code 1.
|
|
pre-commit / pre-commit
Cache save failed.
|
|
phan / Run phan:
htdocs/compta/prelevement/class/bonprelevement.class.php#L2184
bonprelevement.class.php: PhanTypeMismatchArgument: Argument 16 ($row_drum) is $drum of type int but \BonPrelevement::EnregDestinataireSEPA() takes string defined at htdocs/compta/prelevement/class/bonprelevement.class.php:2431
|
|
phan / Run phan:
htdocs/compta/prelevement/class/bonprelevement.class.php#L430
bonprelevement.class.php: PhanPluginPHPDocInWrongComment: Saw possible phpdoc annotation in ordinary block comment "/*\n\t\t\t * @deprecated. This code can't work because code_... fields are empty. Not used. To remove.\n\t\t\t * We aggregate the lines.\n\t\t\t */". PHPDoc comments should start with "/**" (followed by whitespace), not "/*"
|
|
phan / Run phan:
htdocs/compta/prelevement/class/bonprelevement.class.php#L424
bonprelevement.class.php: PhanTypeMismatchDefault: Default value for string $id_prelevement_demande can't be 0
|
|
phan / Run phan:
htdocs/compta/prelevement/class/bonprelevement.class.php#L356
bonprelevement.class.php: PhanTypeMismatchDefault: Default value for string $id_prelevement_demande can't be 0
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
phan-srcrt
|
665 Bytes |
sha256:b49a08f9c4cd5b0662e41180e2c207424a06735d57f102dc10a9606280a612a0
|
|
|
phpstan-srcrt
|
887 Bytes |
sha256:72a3d2d8d973c815fa0baa0eb18e194c86dbcfbf43d5619ce84a3220916025c0
|
|
|
precommit-logs
|
559 Bytes |
sha256:03bf9c4bb27b4ab18daf2792b389819da78b25fdec4d69c9c8a22fff9a7e3d84
|
|