clean phpstan baseline (#35836)
* clean phpstan baseline * clean phpstan baseline
This commit is contained in:
parent
66683105f1
commit
4bc77ebcda
2 changed files with 7 additions and 30 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue