Qual: Fix phan issues related to getNextValue() notices (#30747)

* Qual: 🛟 Fix reference to $db with $this->db

# Qual: reference to $db with $this->db

$db was undeclared, use $this->db.

* Fix suspected issue with environment max size and md5sum working on limited files

* Qual: Fix LDAP typing

* Qual: Fix some phan typing related to getNextValue()

# Qual: Fix some phan typing related to getNextValue()

This fixes a few typings in relation to getNextValue().

* Update phan baseline

* PHPDoc: set arguments as nullable (+update array types)

* Improve PHPDoc

* Force toselect type to int[]

* Enable all phan notices on actions_massactions.inc.php

* Test was wrong, can not count when it's not an array

* Update baseline

* Remove ignore for notice that no longer exists

* Update baseline

* Fix format argument

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
MDW
2024-08-29 15:01:42 +02:00
committed by GitHub
parent a8367a6cd8
commit c496e84916
16 changed files with 47 additions and 39 deletions

View File

@@ -449,6 +449,8 @@ class Commande extends CommonOrder
}
$obj = new $classname();
'@phan-var-force ModeleNumRefCommandes $obj';
$numref = $obj->getNextValue($soc, $this);
if ($numref != "") {