forked from Wavyzz/dolibarr
PHPStan > Update baseline
This commit is contained in:
@@ -8724,24 +8724,12 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_actions.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$nblines might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 2
|
||||
path: ../../htdocs/core/boxes/box_actions.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_actions_future has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_actions_future.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$nblines might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 2
|
||||
path: ../../htdocs/core/boxes/box_actions_future.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_activity has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
@@ -8850,12 +8838,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_dolibarr_state_board.php
|
||||
|
||||
-
|
||||
message: '#^Property box_external_rss\:\:\$paramdef has no type specified\.$#'
|
||||
identifier: missingType.property
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_external_rss.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_factures has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
@@ -8952,12 +8934,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$mesg might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_graph_nb_ticket_last_x_days has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
@@ -8994,12 +8970,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_orders_permonth.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$mesg might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_orders_permonth.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_graph_orders_supplier_permonth has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
@@ -9018,12 +8988,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_orders_supplier_permonth.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$mesg might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_orders_supplier_permonth.php
|
||||
|
||||
-
|
||||
message: '#^Comparison operation "\>" between 0 and 0 is always false\.$#'
|
||||
identifier: greater.alwaysFalse
|
||||
@@ -9042,30 +9006,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_product_distribution.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$mesg might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_product_distribution.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$px1 might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 3
|
||||
path: ../../htdocs/core/boxes/box_graph_product_distribution.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$px2 might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 3
|
||||
path: ../../htdocs/core/boxes/box_graph_product_distribution.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$px3 might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 4
|
||||
path: ../../htdocs/core/boxes/box_graph_product_distribution.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_graph_propales_permonth has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
@@ -9078,12 +9018,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_propales_permonth.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$mesg might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_graph_propales_permonth.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_graph_ticket_by_severity has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
@@ -9192,24 +9126,12 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_project.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$num might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_project.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_project_opportunities has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_project_opportunities.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$num might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 1
|
||||
path: ../../htdocs/core/boxes/box_project_opportunities.php
|
||||
|
||||
-
|
||||
message: '#^Constructor of class box_propales has an unused parameter \$param\.$#'
|
||||
identifier: constructor.unusedParameter
|
||||
@@ -9786,24 +9708,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/class/commonorder.class.php
|
||||
|
||||
-
|
||||
message: '#^Property CommonOrderLine\:\:\$localtax1_type has no type specified\.$#'
|
||||
identifier: missingType.property
|
||||
count: 1
|
||||
path: ../../htdocs/core/class/commonorder.class.php
|
||||
|
||||
-
|
||||
message: '#^Property CommonOrderLine\:\:\$localtax2_type has no type specified\.$#'
|
||||
identifier: missingType.property
|
||||
count: 1
|
||||
path: ../../htdocs/core/class/commonorder.class.php
|
||||
|
||||
-
|
||||
message: '#^Property CommonOrderLine\:\:\$price has no type specified\.$#'
|
||||
identifier: missingType.property
|
||||
count: 1
|
||||
path: ../../htdocs/core/class/commonorder.class.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#2 \$pt of method CommonStickerGenerator\:\:Set_Char_Size\(\) expects int, float given\.$#'
|
||||
identifier: argument.type
|
||||
@@ -11688,12 +11592,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/core/lib/company.lib.php
|
||||
|
||||
-
|
||||
message: '#^Property Contact\:\:\$fields .*$#'
|
||||
identifier: assign.propertyType
|
||||
count: 3
|
||||
path: ../../htdocs/core/lib/company.lib.php
|
||||
|
||||
-
|
||||
message: '#^Ternary operator condition is always false\.$#'
|
||||
identifier: ternary.alwaysFalse
|
||||
@@ -31716,12 +31614,6 @@ parameters:
|
||||
count: 2
|
||||
path: ../../htdocs/societe/class/societe.class.php
|
||||
|
||||
-
|
||||
message: '#^Property Societe\:\:\$fields .*$#'
|
||||
identifier: assign.propertyType
|
||||
count: 3
|
||||
path: ../../htdocs/societe/class/societe.class.php
|
||||
|
||||
-
|
||||
message: '#^Property Societe\:\:\$fournisseur \(int\) in isset\(\) is not nullable\.$#'
|
||||
identifier: isset.property
|
||||
@@ -32808,12 +32700,6 @@ parameters:
|
||||
count: 1
|
||||
path: ../../htdocs/theme/md/flags-sprite.inc.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$conf might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 4
|
||||
path: ../../htdocs/theme/md/info-box.inc.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$left might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
|
||||
Reference in New Issue
Block a user