Prevent NULL values for variable $s in dol_eval #17
ci-on-push.yml
on: push
pre-commit
/
pre-commit
1m 51s
Matrix: phpstan / php-stan
Matrix: windows-ci / win-test
Waiting for pending jobs
Annotations
12 errors and 11 warnings
|
phpstan / php-stan (8.2):
htdocs/emailcollector/class/emailcollector.class.php#L917
Variable $nberror might not be defined.
|
|
phpstan / php-stan (8.2):
htdocs/core/tpl/list_print_total.tpl.php#L92
Call to function is_null() with mixed will always evaluate to false.
|
|
phpstan / php-stan (8.2):
htdocs/core/modules/facture/doc/pdf_sponge.modules.php#L1097
Property CommonObject::$entity (int) on left side of ?? is not nullable.
|
|
phpstan / php-stan (8.2):
htdocs/core/modules/facture/doc/pdf_sponge.modules.php#L1096
Property CommonObject::$entity (int) on left side of ?? is not nullable.
|
|
phpstan / php-stan (8.2):
htdocs/core/modules/facture/doc/pdf_octopus.modules.php#L1148
Property CommonObject::$entity (int) on left side of ?? is not nullable.
|
|
phpstan / php-stan (8.2):
htdocs/core/modules/facture/doc/pdf_octopus.modules.php#L1147
Property CommonObject::$entity (int) on left side of ?? is not nullable.
|
|
phpstan / php-stan (8.2):
htdocs/core/modules/facture/doc/pdf_crabe.modules.php#L896
Property CommonObject::$entity (int) on left side of ?? is not nullable.
|
|
phpstan / php-stan (8.2):
htdocs/core/modules/facture/doc/pdf_crabe.modules.php#L895
Property CommonObject::$entity (int) on left side of ?? is not nullable.
|
|
phpstan / php-stan (8.2):
htdocs/core/class/commoninvoice.class.php#L1900
Call to function method_exists() with $this(CommonInvoice) and 'getRemainToPay' will always evaluate to true.
|
|
phpstan / php-stan (8.2):
htdocs/compta/facture/document.php#L146
Variable $upload_dir might not be defined.
|
|
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/mrp/class/mo.class.php#L1004
mo.class.php: PhanPossiblyUndeclaredVariable: Variable $stockmove is possibly undeclared
|
|
phan / Run phan:
htdocs/mrp/class/mo.class.php#L1000
mo.class.php: PhanPossiblyUndeclaredVariable: Variable $stockmove is possibly undeclared
|
|
phan / Run phan:
htdocs/mrp/class/mo.class.php#L998
mo.class.php: PhanPossiblyUndeclaredVariable: Variable $stockmove is possibly undeclared
|
|
phan / Run phan:
htdocs/mrp/class/mo.class.php#L981
mo.class.php: PhanPossiblyUndeclaredVariable: Variable $stockmove is possibly undeclared
|
|
phan / Run phan:
htdocs/mrp/class/mo.class.php#L977
mo.class.php: PhanPossiblyUndeclaredVariable: Variable $stockmove is possibly undeclared
|
|
phan / Run phan:
htdocs/mrp/class/mo.class.php#L975
mo.class.php: PhanPossiblyUndeclaredVariable: Variable $stockmove is possibly undeclared
|
|
phan / Run phan:
htdocs/emailcollector/class/emailcollector.class.php#L917
emailcollector.class.php: PhanUndeclaredVariable: Variable $nberror is undeclared (Did you mean $nbErrors)
|
|
phan / Run phan:
htdocs/emailcollector/class/emailcollector.class.php#L917
emailcollector.class.php: PhanTypeInvalidUnaryOperandIncOrDec: Invalid operator: unary operand of (expr)++ is null (expected int or string or float)
|
|
phan / Run phan:
htdocs/compta/facture/document.php#L146
document.php: PhanTypeMismatchArgumentNullable: Argument 1 ($utf8_path) is $upload_dir of type ?string but \dol_dir_list() takes string defined at htdocs/core/lib/files.lib.php:63 (expected type to be non-nullable)
|
|
phan / Run phan:
htdocs/compta/facture/document.php#L146
document.php: PhanPossiblyUndeclaredGlobalVariable: Global variable $upload_dir is possibly undeclared
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
phan-srcrt
Expired
|
659 Bytes |
sha256:155bb2099f5ba071a74db33745c1a40250a179966a4e70aa23dc1ff962cbcfcb
|
|
|
phpstan-srcrt
Expired
|
727 Bytes |
sha256:8e9ca338582dfce6e8bbed77bef247574be76b3f92554f205323a1aacf58d12b
|
|
|
precommit-logs
|
577 Bytes |
sha256:f532e66ea0e8d16249fd2191e941573641bf3dd622bf97af441b17667322c25f
|
|