Commit Graph

520 Commits

Author SHA1 Message Date
MDW
5ab895f31c Fix PhanPluginRedundantAssignment 2024-03-13 00:40:34 +01:00
MDW
3d0a85608b Qual: Fix and enable alias deprecation detection (#28716)
* Qual: Ignore some false positives for deprecated functions

# Qual: Ignore some false positives for deprecated functions

The Phan Deprecation Plugin for internal functions has mixed up some
mail functions and lists them as deprecated, this ignores that

* Qual: Enable detection and fixing of internal deprecations

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Replace 'join' with 'implode'

* Qual: Update codespell lines ignore list after format

# Qual: Update codespell lines ignore list after forma

Done using latest library, so also adds some exceptions that are needed
in the future;

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-08 21:34:18 +01:00
Laurent Destailleur
ce010a54c7 Clean code and prepare a more powerfull phpunit check for sql forging. 2024-03-05 00:22:12 +01:00
Laurent Destailleur
51f6111519 Comment 2024-03-03 15:56:09 +01:00
Frédéric FRANCE
fba15178eb all initAsSpecimen return int (#28577)
* all initAsSpecimen return int

* all initAsSpecimen return int

* all initAsSpecimen return int
2024-03-02 16:38:35 +01:00
Laurent Destailleur
4279478acd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-01 19:40:36 +01:00
Sébastien NASSIET
e6c4583bc4 Prevent infinite loop with add notrigger parameter to the functions create, update & setMultiLangs (#28530) 2024-02-29 20:23:08 +01:00
Frédéric FRANCE
75131fcc8f fix phpstan (#28414)
Default value of the parameter #7 $save_lastsearch_value (string) of method Categorie::getNomUrl() is incompatible with type int.
2024-02-25 22:10:38 +01:00
Laurent Destailleur
3809c0f52b Fix phpstan 2024-02-19 16:37:59 +01:00
Laurent Destailleur
978dd06c67 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-19 15:02:37 +01:00
Laurent Destailleur
7f32a49121 Fix tooltip 2024-02-18 18:26:40 +01:00
Frédéric FRANCE
cb995b293d add photos in category banner (#28221) 2024-02-18 15:39:42 +01:00
thibdrev
e0f6aca453 qual: phpstan for htdocs/categories/class/categorie.class.php (#27957)
htdocs/categories/class/categorie.class.php	389	Property Categorie::$type (string) does not accept int.
htdocs/categories/class/categorie.class.php	449	Property Categorie::$position (int) does not accept string.
2024-02-03 00:10:07 +01:00
mohamed daoud
6b92683dc0 manage position in categories 2024-01-17 21:11:42 +01:00
MDW
a04f2bf4e7 Qual: Spelling fixes that newly appeared. (#27495)
* Qual: Spelling fixes that newly appeared.

# Qual: Fix spelling erros that appeared since the bulk updates.

These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)

* Update modulebuilder.lib.php

* Update pdf_standard.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
Frédéric FRANCE
4cf62b9711 clean code and fix (#27446)
* clean code and fix

* clean code and fix
2024-01-12 17:11:08 +01:00
Hystepik
5e4a4da130 Fix some php codce smell 2023-12-20 14:22:45 +01:00
Laurent Destailleur
432a847ad9 Merge pull request #27004 from frederic34/fix-20231206
avoid phpstan error with phpdoc
2023-12-06 18:27:48 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
MDW
0dd46d1b2c FIX Define global (detected undefined phan #26480) 2023-12-05 19:46:43 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Laurent Destailleur
78268779c3 Fix warnings 2023-12-03 12:02:33 +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
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Laurent Destailleur
9275684ed1 Clean code 2023-10-21 17:58:31 +02:00
Laurent Destailleur
616f0e41d4 Clean code 2023-10-11 02:54:19 +02:00
Frédéric France
9d3cfe67cb fix phpstan 2023-08-25 18:29:00 +02:00
Frédéric France
62384fe7b3 fix phpstan 2023-08-25 18:21:24 +02:00
Laurent Destailleur
138d71ad66 Debug v18 2023-07-01 16:07:58 +02:00
Laurent Destailleur
c67ea96e19 FIX Multicompany for SEPA file generation 2023-06-14 15:09:36 +02:00
Philippe GRAND
f660e13f20 fix : Warning: Undefined array key cat_fk in /home/httpd/vhosts/doliweb.com/httpdocs/categories/class/categorie.class.php on line 289 2023-06-13 19:47:21 +02:00
Laurent Destailleur
e74c50aa8a Clean code 2023-04-28 16:05:25 +02:00
Laurent Destailleur
c891196b5b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-04-25 21:02:01 +02:00
stickler-ci
10f286c454 Fixing style errors. 2023-04-25 13:04:59 +00:00
jonathan-lescaut
2f68ba1e2f fix compatibility with actioncomm
Compatibility with actioncomm table which has id instead of rowid
2023-04-25 14:57:05 +02:00
Laurent Destailleur
8898a1a432 Debug ajax tooltip 2023-04-03 19:51:40 +02:00
Frédéric FRANCE
78bd96dd58 fix tooltip ajax 2023-03-28 20:03:42 +02:00
Laurent Destailleur
e247337fc2 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-03-24 19:47:24 +01:00
Laurent Destailleur
6b07447b81 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-03-24 19:42:06 +01:00
VESSILLER
daa34b85fe New filter products for sale 2023-03-20 13:27:48 +01:00
VESSILLER
d523f91a29 NEW limit load products in takepos 2023-03-20 12:28:18 +01:00
VESSILLER
8dd7a22482 FIX limit after order in get objects in category 2023-03-20 09:45:02 +01:00
Laurent Destailleur
a0c53bc0bc Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-14 21:04:44 +01:00
Laurent Destailleur
60231acf0f Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-14 11:01:50 +01:00
Benjamin Falière
c3fc14a45a FIX bad check on if in get_all_ways 2023-02-13 16:05:12 +01:00
Frédéric FRANCE
dc15349e83 clean code 2023-02-06 21:43:50 +01:00
Frédéric FRANCE
b238830c82 keep original label 2023-02-05 23:19:56 +01:00
Frédéric FRANCE
6e07cee3fc fix tooltip 2023-02-05 17:04:26 +01:00
Frédéric FRANCE
41dd574b16 clean js 2023-02-02 22:59:54 +01:00