PHPStan baseline #57
Annotations
10 errors
phpstan:
htdocs/core/class/timespent.class.php#L305
Call to function property_exists() with TimeSpent and 'label' will always evaluate to false.
|
phpstan:
htdocs/core/class/commondocgenerator.class.php#L919
Undefined variable: $o
|
phpstan:
htdocs/compta/localtax/quadri_detail.php#L389
Call to function is_array() with list<non-empty-array<string, mixed>> will always evaluate to true.
|
phpstan:
htdocs/comm/action/peruser.php#L1199
Call to function is_array() with string will always evaluate to false.
|
phpstan:
htdocs/comm/action/index.php#L1277
Call to function is_array() with string will always evaluate to false.
|
phpstan:
htdocs/bookmarks/bookmarks.lib.php#L65
Call to function is_array() with non-empty-array<mixed> will always evaluate to true.
|
phpstan:
htdocs/admin/system/database.php#L186
Variable $dolibarr_main_db_character_set might not be defined.
|
phpstan:
htdocs/admin/system/constall.php#L164
Variable $dolibarr_main_document_root_alt might not be defined.
|
phpstan:
htdocs/admin/system/constall.php#L161
Variable $dolibarr_main_url_root_alt might not be defined.
|
phpstan:
htdocs/accountancy/class/api_accountancy.class.php#L188
Loose comparison using == between 'actualandlastfiscal…' and 'actualandlastfiscal…' will always evaluate to true.
|