Commit Graph

829 Commits

Author SHA1 Message Date
Laurent Destailleur
f39f05889a Merge pull request #32925 from frederic34/2025-02-03-fix_phpstan
fix phpstan
2025-02-05 03:01:14 +01:00
Laurent Destailleur (aka Eldy)
39d15ffde2 Fix annotation 2025-02-05 00:06:43 +01:00
Laurent Destailleur (aka Eldy)
efeeab4108 Debug v22 2025-02-04 23:58:14 +01:00
Frédéric France
fa846254e5 fix phpstan 2025-02-04 20:42:07 +01:00
Laurent Destailleur (aka Eldy)
ab4eb1f834 WIP Dir statement in ECM 2025-02-04 18:46:20 +01:00
Laurent Destailleur (aka Eldy)
41dd4e884e Debug v21 2025-02-04 17:20:42 +01:00
Laurent Destailleur
821565e031 Debug v21 2025-01-23 01:29:29 +01:00
Laurent Destailleur (aka Eldy)
0f198186e7 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-01-03 16:38:50 +01:00
Frédéric FRANCE
786a6571f4 Merge branch 'develop' into extrafields_object_filter 2024-12-19 20:36:32 +01:00
Regis Houssin
0da6e25881 FIX backport from develop to avoid php warning 2024-12-19 11:23:45 +01:00
Laurent Destailleur (aka Eldy)
81f0bb8921 Debug v21 2024-12-15 17:47:08 +01:00
Frédéric France
02937ac100 fix phpstan 2024-11-27 18:25:18 +01:00
Frédéric France
cdf71ad042 doc 2024-11-25 22:26:15 +01:00
Frédéric France
ad8a5c9054 Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter 2024-11-19 21:26:20 +01:00
MDW
7304048afb Qual: Fix phan notices (#31996)
# Qual: Fix phan notices

Fix phan notices up to htdocs\core\ajax\selectsearchbox.php.
2024-11-19 03:07:18 +01:00
Frédéric France
4492cedc54 fix 2024-11-16 01:15:25 +01:00
Frédéric France
2a19191fd5 Merge remote-tracking branch 'origin' into extrafields_object_filter 2024-11-16 01:06:14 +01:00
MDW
9ec4618199 Qual: Fix FunctionArray phan notices (#31754)
* Qual: Fix FunctionArray phan notices

* Fix class name in typing of htdocs/modulebuilder/index.php

* Fix customreports phpdoc

* Adjust file type after completeFileArrayWithDatabaseInfo

* Further phpdoc typing improvements

* More phpdoc

* Improve typing with cast on position field

* Force phpstan version

* Add phpstan exception

* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Frédéric FRANCE
66374f2859 Merge branch 'develop' into extrafields_object_filter 2024-11-09 11:46:45 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Laurent Destailleur
91eeb61706 Fix test 2024-10-30 02:42:23 +01:00
Laurent Destailleur
c8c4bd4e7f Debug v21 2024-10-30 02:38:59 +01:00
Frédéric France
259ce6020d Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter 2024-10-26 18:27:45 +02:00
MDW
67e9eaff46 Qual: Fix phan/phpstan notices in class files (part 2) (#31523)
* Qual: Fix phan notices in class files (part 2)

* Qual: Fix phan notices doleditor...events.class

* Qual: Fix phan notices defaultvalues...formprojet.class

* Qual: Fix notices formsetup...formwebsite.class

* Qual: Fix phan notices in class files (part 2)

* Qual: Fix phan notices doleditor...events.class

* Qual: Fix phan notices defaultvalues...formprojet.class

* Qual: Fix notices formsetup...formwebsite.class
2024-10-26 18:24:40 +02:00
Frédéric France
3e685dffb2 fix phpstan 2024-10-26 18:23:33 +02:00
Frédéric FRANCE
8828b41679 Merge branch 'develop' into extrafields_object_filter 2024-10-26 17:24:49 +02:00
Frédéric FRANCE
801a759975 fix phpstan (#31543)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-25 14:15:39 +02:00
Frédéric FRANCE
cf27abb4b4 Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter 2024-10-24 18:59:33 +02:00
MDW
0d2f1cf666 Qual: Fix phpstan notices (int expected) (#31485)
# Qual: Fix phpstan notices (int expected)

Fix several notices where int was expected (casting/phpdoc/GETPOSTINT).
Separate phpstan exceptions for methods containing 'pdf' from
other methods/functions.
2024-10-24 14:01:30 +02:00
Frédéric FRANCE
ee12679f49 Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter 2024-10-24 09:25:05 +02:00
Frédéric FRANCE
12ca029fb0 fix phpstan (#31491)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-23 23:28:38 +02:00
Frédéric FRANCE
05c4dbcf09 new ajax search with infinite scroll 2024-10-22 22:45:51 +02:00
Frédéric FRANCE
12a9b43dee new ajax search with infinite scroll 2024-10-22 22:37:48 +02:00
Frédéric FRANCE
a7ee5b6a29 new ajax search with infinite scroll 2024-10-22 22:29:41 +02:00
Frédéric FRANCE
2a0d4bf2ae new ajax search with infinite scroll 2024-10-22 21:46:04 +02:00
Mohamed DAOUD
b4732da616 NEW: Star Field Type for Extra Fields (#31348)
* stars type for extrafields

* min value

* fix phan
2024-10-13 17:24:15 +02:00
UltraViolet33
c0035cdf60 Fix set tiers as customer on online propal signature (#31316)
* fix set tiers as customer on online propal signature

* use setAsCustomer instead of set_as_client

---------

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-10-09 01:06:23 +02:00
Laurent Destailleur
04e89fd37e Fix trans in notifications 2024-10-04 18:13:36 +02:00
Laurent Destailleur
2c518be378 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-30 20:10:47 +02:00
Francis Appels
f101423901 FIX State dropdown is not working on User card #31198 (#31205)
* FIX State dropdown is not working on User card #31198

* Fix phan
2024-09-30 16:50:54 +02:00
MDW
8236aed22f Qual: Fix phan notices (#31193)
# Qual: Fix phan notices

Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
2024-09-30 10:05:24 +02:00
Laurent Destailleur
b1a235b810 Prepare code to allow ECM access to externale users 2024-09-26 02:36:36 +02:00
MDW
099dbd9c1e Qual: Fix notices for htdocs/admin/* (#30982)
* Fix (Possibly)UndeclaredGlobalVariable

* Update phan baseline

* Fix (Possibly)UndeclaredGlobalVariable (2)

* Qual: Fix notices for htdocs/admin/*

# Qual: Fix notices for htdocs/admin/*

Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
2024-09-18 03:27:25 +02:00
lamrani abdelwadoud
5fcca27fc4 NEW display when click on NEWS templateDrop down for model (#30332)
* New update for templateMail by creating files

* New updating for get php content

* Update html.formmail.class.php

* Fix updating content news

* Fix CTI Errors

* edit html file for news

* NEW display for news with option

* replace file in ajax folder

* fix multiselect news

* Fix phan errors and remove part of useless css

* Fix brakets needed in script

* Fix Phan errors

* Fix display multiselect and fix security injection

* cancel removing part of code for classe modelMail

* Fix phstan errors

* Fix space line

* Fix error phpStan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-17 15:37:34 +02:00
MDW
115627a054 Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice (#30957)
* Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice

# Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice

Fix PhanPluginUnknownObjectMethodCall in files where it is the only phan notice

* Update phan baseline

* Fix $website global type in some contexts
2024-09-16 01:49:38 +02:00
William Mead
e644f05f98 Qual clean use of CommonSignedObject trait (#30927)
* Cleaned & refactored code to make full use of CommonSignedObject trait

* Fixed Phan warning

* Revert "Fixed Phan warning"

This reverts commit b79b362733.

* Try @static tag

* Cleaned code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-13 17:45:05 +02:00
Laurent Destailleur
04ebf52bd0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-13 11:13:51 +02:00
Laurent Destailleur
4a303a61d1 More robust test on missing permission for CTI 2024-09-13 11:13:38 +02:00
Laurent Destailleur
75d62b5f0a Fix check on permissions 2024-09-13 04:47:07 +02:00
William Mead
3922b855da Fixed intervention online signature position (#30926)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-13 03:11:10 +02:00