clean phpstan baseline (#35836)

* clean phpstan baseline

* clean phpstan baseline
This commit is contained in:
Frédéric FRANCE 2025-10-19 01:56:26 +02:00 committed by GitHub
parent 66683105f1
commit 4bc77ebcda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 30 deletions

View file

@ -7410,12 +7410,6 @@ parameters:
count: 1
path: ../../../htdocs/core/modules/cheque/doc/pdf_blochet.class.php
-
message: '#^Parameter \#2 \$object of method BordereauChequeBlochet\:\:_pagefoot\(\) expects CommonObject, null given\.$#'
identifier: argument.type
count: 1
path: ../../../htdocs/core/modules/cheque/doc/pdf_blochet.class.php
-
message: '#^Property Commande\:\:\$availability \(string\) in isset\(\) is not nullable\.$#'
identifier: isset.property
@ -8796,30 +8790,6 @@ parameters:
count: 1
path: ../../../htdocs/core/website.inc.php
-
message: '#^Variable \$conf might not be defined\.$#'
identifier: variable.undefined
count: 3
path: ../../../htdocs/core/website.inc.php
-
message: '#^Variable \$db might not be defined\.$#'
identifier: variable.undefined
count: 7
path: ../../../htdocs/core/website.inc.php
-
message: '#^Variable \$hookmanager might not be defined\.$#'
identifier: variable.undefined
count: 2
path: ../../../htdocs/core/website.inc.php
-
message: '#^Variable \$websitekey might not be defined\.$#'
identifier: variable.undefined
count: 2
path: ../../../htdocs/core/website.inc.php
-
message: '#^Loose comparison using \=\= between 1 and 0 will always evaluate to false\.$#'
identifier: equal.alwaysFalse

View file

@ -24,6 +24,13 @@
* It is run only when a web page is called.
* The global variable $websitekey must be defined.
*/
/**
* @var Conf $conf
* @var DoliDB $db
* @var HookManager $hookmanager
*
* @var string $websitekey
*/
// Load website class
include_once DOL_DOCUMENT_ROOT.'/website/class/website.class.php';