* fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/compta/bank/various_payment/list.php on line 370
* backward
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_product_standard.php on line 187
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_thirdparty_standard.php on line 188
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/class/html.formbarcode.class.php on line 83
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/class/html.formbarcode.class.php on line 84
* fix :Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/admin/barcode.php on line 460
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/admin/barcode.php on line 471
* Update mod_barcode_product_standard.php
* Update mod_barcode_thirdparty_standard.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
# Fix return type by cast or typing update
Fix most PhanTypeMismatchReturn notifications.
The remaining ones are likely real bugs or need more Dolibarr
knowledge to fix them efficiently
* qual: phpstan for htdocs/core/modules/barcode/modules_barcode.class.php
htdocs/core/modules/barcode/modules_barcode.class.php 59 PHPDoc type int of property ModeleNumRefBarCode::$code_null is not covariant with PHPDoc type int<0, 1> of overridden property CommonNumRefGenerator::$code_null.
htdocs/core/modules/barcode/modules_barcode.class.php 64 PHPDoc type int of property ModeleNumRefBarCode::$code_auto is not covariant with PHPDoc type int<0, 1> of overridden property CommonNumRefGenerator::$code_auto.
* Update modules_barcode.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* FIX: Bar code verification should be done by entity because generation does
* FIX: handle Entities shared tables
* FIX: Remove unused global
---------
Co-authored-by: Noé <noe@scopen.fr>
[GS1](https://www.gs1.org/prefixes) only allows prefixes 040-049 for internal use
within a company, while the often mistakenly 020-029 prefixes are restricted.