Commit Graph

171 Commits

Author SHA1 Message Date
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Laurent Destailleur
1cccc808e7 Clean code for barcode generators 2024-05-22 15:49:33 +02:00
Laurent Destailleur
71524d819b Clean code 2024-05-22 00:27:42 +02:00
Laurent Destailleur
ad28872b74 Clean code 2024-05-21 20:23:24 +02:00
Laurent Destailleur
c02194a3c5 Doc 2024-04-29 16:32:28 +02:00
Laurent Destailleur
f5adfeca59 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-29 13:39:20 +02:00
Philippe Grand
661582875a Fix : Warning: Undefined property: stdClass::$PRODUIT_DEFAULT_BARCODE_TYPE in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_product_standard.php on line 187 (#29479)
* 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>
2024-04-27 18:14:20 +02:00
Francis Appels
6a330096fd Fix debug phpbarcode 2024-04-02 09:48:48 +02:00
Laurent Destailleur
7158757fa1 Debug v20 2024-03-31 23:48:29 +02:00
Laurent Destailleur
3e8c3edd6d Clean code from _GET 2024-03-28 17:10:22 +01:00
MDW
cde95b3037 Fix bad typing in thirdparty lib (TCPDF) with cast 2024-03-19 02:59:20 +01:00
Laurent Destailleur
75fae0f27d Merge branch 'develop' into fix/PhanTypeMismatchReturn 2024-03-16 16:08:08 +01:00
MDW
9eed23c6d0 Fix return type by cast or typing update
# 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
2024-03-16 13:52:12 +01:00
MDW
13ab939691 Fix deprecated function calls 2024-03-16 13:27:51 +01:00
Frédéric France
41fccbaac5 fix phpstan warnings 2024-03-16 08:49:50 +01:00
MDW
5c57a24fbc Fix PhanPluginRedundantAssignment 2024-03-13 01:04:01 +01:00
MDW
b2528e2727 Fix PhanPluginRedundantAssignment 2024-03-13 01:04:00 +01:00
Frédéric France
fc732b1be5 fix mod barcode product 2024-03-12 18:49:29 +01:00
Laurent Destailleur
949c885477 Merge branch 'develop' into fix/phpdoc1 2024-03-12 14:11:30 +01:00
Frédéric FRANCE
9b4c8f2445 clean 2024-03-12 09:48:42 +01:00
Frédéric France
8b79cfa095 clean 2024-03-12 00:16:06 +01:00
MDW
eefe123dcb fixup! fix phpstan (#28727) 2024-03-11 23:46:53 +01:00
MDW
4e20c644c2 Qual: Correct PHPdoc typing 2024-03-11 21:51:04 +01:00
Frédéric France
7bcb635a4e clean code and phpdoc 2024-03-11 18:13:48 +01:00
Frédéric FRANCE
e00a9816f8 fix phpstan (#28727)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-03-09 14:48:06 +01:00
Frédéric FRANCE
3c055f671e fix phpstan (#28545)
* fix phpstan

* fix phpstan
2024-03-01 12:51:48 +01:00
thibdrev
e9eccb7ad2 qual: phpstan for htdocs/core/modules/barcode/modules_barcode.class.php (#28244)
* 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>
2024-02-18 15:02:20 +01:00
Laurent Destailleur
ff2d609814 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/class/commonobject.class.php
	htdocs/mrp/mo_production.php
2024-02-12 03:35:39 +01:00
Laurent Destailleur
65533360a2 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/main.inc.php
2024-02-12 03:32:58 +01:00
Laurent Destailleur
e0d8bf04b5 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-09 19:07:24 +01:00
Laurent Destailleur
c261b84667 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-09 19:06:52 +01:00
Laurent Destailleur
d07b7dc72e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-09 19:05:41 +01:00
Laurent Destailleur
2f1eecd709 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-02-09 19:04:06 +01:00
noec764
2c07bd764d FIX: Bar code verification should be done by entity because generation does (#28087)
* 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>
2024-02-09 14:07:04 +01:00
MDW
89004f7e03 Qual: Spelling htdocs/core (#27491)
Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
2024-01-13 19:48:20 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
9e1b90e4a1 Fix with php-cs-fixer 2023-12-04 12:07:31 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Mohamed DAOUD
00cbaa094c fix-warnings (#26500) 2023-11-08 17:26:00 +01:00
Laurent Destailleur
b546e7c624 css 2023-09-10 20:24:58 +02:00
Laurent Destailleur
08e428b46d Fix missing param 2023-08-09 18:00:31 +02:00
Laurent Destailleur
15ddb9a3a8 Fix inherit of CommonNumRef 2023-08-09 17:35:35 +02:00
Laurent Destailleur
db2a70b86a NEW Factorize a lot of code for numbering modules 2023-08-09 14:50:28 +02:00
Laurent Destailleur
da1d622f80 Fix warnings 2023-08-06 00:41:59 +02:00
Adnan RIHAN
21c665d536 Fix EAN13 prefix available for internal use
[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.
2023-01-09 02:12:27 +01:00
Frédéric FRANCE
f11418c108 doc translation 2022-12-21 17:23:33 +01:00
Frédéric FRANCE
690562c22e add numbering modules for members 2022-12-21 16:43:38 +01:00
Lamrani Abdel
0707318aed Fix issue scrutinizer in modules_barcode.class.php duction getNom() 2022-11-10 11:05:55 +01:00