Commit Graph

47 Commits

Author SHA1 Message Date
Frédéric FRANCE
ec91ed2af9 test action (#31815)
* NEW : Add category feature on Fichinter

category update

* Update viewcat.php

* Update categories.lang

* Update categorie.class.php

* Update categories.lang

* Update viewcat.php

* Update viewcat.php

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* clean baseline

Debug v21

NEW: use Expedition::$date_shipping property in card and list (#31701)

* NEW: use Expedition::$date_shipping property in card and list

* FIX: translation

* FIX: PHPStan rebutal

* FIX: not a great idea to copy and not edit comment

* FIX: on create, expected delivery date should precede sending date

* Update card.php

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

clean baseline

clean baseline

clean baseline

* clean baseline

* clean baseline

* merge

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* fix translations

* fix translations

* fix

* fix filters

* fix filters

* fix filters

* fix filters

* fix

---------

Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com>
2024-11-15 14:09:04 +01:00
Frédéric FRANCE
eb2c137683 clean phpstan baseline (#31807) 2024-11-14 01:28:10 +01:00
Frédéric FRANCE
2c4d1038d0 fix phpstan (#31805)
* fix

* fix

* fix

* fix

* fix
2024-11-13 22:37:17 +01:00
Frédéric FRANCE
e5320c2302 fix phpstan (#31801)
* fix phpstan

* fix phpstan

* fix phpstan

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-13 21:21:15 +01:00
Frédéric FRANCE
8c0c033e49 add phpdoc in mailing modules (#31786)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* test

* test

* test

* test
2024-11-13 15:27:26 +01:00
Laurent Destailleur
2eb5bca23c Fix phan 2024-11-13 11:36:05 +01:00
Frédéric FRANCE
2f207dd347 switching on phpstan v2 level 10 (#31764)
* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* version

* fix phpstan

* fix phpstan

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* update baseline
2024-11-12 23:18:02 +01:00
Frédéric FRANCE
836bb71303 fix customreports.lib.php (#31771)
* fix customreports.lib.php

* Update commondict.class.php

* Update ctyperesource.class.php

* fix

* CommonDict is not a business class

* Update ctyperesource.class.php

* Update ctyperesource.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 03:38:38 +01:00
MDW
56dc321665 Qual: Fix phan notices (in order of appearance) (#31768)
* Qual: Fix phan notices (in order of appearance)

* Qual: Fix phan notices (in order of appearance)/2
2024-11-12 00:35:14 +01:00
Frédéric FRANCE
273386f52f display fichinter rec link (#31767)
* display fichinter rec link

* display fichinter rec link

* display fichinter rec link

* display fichinter rec link

* display fichinter rec link

* display fichinter rec link
2024-11-11 18:26:57 +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
661059ca9a fix phpstan (#31763)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 14:33:53 +01:00
Frédéric FRANCE
92ef950e6d fix phpstan (#31761)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* hide new error with phpstan 1.12.9
2024-11-10 23:47:14 +01:00
Frédéric FRANCE
7ef1d270e7 fix phpstan in loan cards (#31758)
* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in cards
2024-11-10 17:55:36 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Frédéric FRANCE
b7e52830b5 fix phpstan (#31734)
* fix phpstan

* fix phpstan

* fix phpstan
2024-11-08 17:50:34 +01:00
Frédéric FRANCE
5cf3074d28 clean phpstan baseline (#31725)
* clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-08 14:41:01 +01:00
Frédéric FRANCE
41a4f42b31 add phpdoc and clean phpstan baseline (#31717)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-07 17:31:40 +01:00
Laurent Destailleur
f785de0f96 Fix phan 2024-11-07 04:39:04 +01:00
MDW
178d748cad Qual: Fix phan/phpstan notices in class files (part 5) (#31617)
* Qual: fix commonstickergen..don.class

* Fix notifications for pdf_paiement...cronjob.class

* Qual: Fix notifications for emailcollector..price_parser.class

* Ensure that NULL is used in the database when fk's are 0/empty

* Fix notifications for pdf_paiement...cronjob.class

* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +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
b20838077b Try to merge the 2 phpstan files 2024-01-14 19:42:54 +01:00
Laurent Destailleur
e74ed60d0c Try to merge phpstan.neon and phpstan_action.neon 2024-01-14 13:14:52 +01:00
Laurent Destailleur
f711144428 Try to move tmp dir 2024-01-10 14:52:12 +01:00
Laurent Destailleur
c5ca38828b Move the tmp dir into build 2024-01-10 12:52:06 +01:00
Frédéric FRANCE
bd2c65246a Merge branch 'develop' into clean_phpstan_action 2024-01-05 08:50:23 +01:00
Laurent Destailleur
ef39446d89 Better bootstrap for phpstan 2024-01-04 14:25:35 +01:00
Frédéric FRANCE
1b6006c168 QUAL phpstan github action 2023-12-07 20:49:43 +01:00
Laurent Destailleur
697c8d14b7 Fix phpcs 2023-12-04 10:16:54 +01:00
HENRY Florian
3b252e50a3 fix: add /build/phpstan/phpstan/phpstan/vendor/bin and custom bootstrap.php in gitingnore and review README (#26679)
* fix: add /build/phpstan/phpstan/phpstan/vendor/bin and custom bootstrap.php in gitingnore and review README

* add other custom files

* add other custom files
2023-11-18 15:11:40 +01:00
Laurent Destailleur
c68d8a8dc8 Add nb of errors 2023-08-10 11:39:58 +02:00
Laurent Destailleur
819daa8e03 Fix phpstan 2023-08-08 12:55:18 +02:00
Laurent Destailleur
9e3db267bc Doc 2023-08-06 11:56:31 +02:00
Laurent Destailleur
d012615d6b Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-08-05 21:05:52 +02:00
Laurent Destailleur
f6ae89852e Fix phpstan 2023-08-05 21:04:59 +02:00
Laurent Destailleur
b59375fa39 Fix phpstan 2023-08-05 20:27:29 +02:00
Laurent Destailleur
bce7b869c2 Test phpstan 2023-08-05 13:46:58 +02:00
Laurent Destailleur
00731380bc Fix phpstan 2023-08-04 03:42:46 +02:00
Laurent Destailleur
2777857f5b Fix phpstan 2023-08-04 03:24:41 +02:00
Laurent Destailleur
23b35492fd Test phpstan 2023-08-04 02:57:10 +02:00
Laurent Destailleur
76338116bf Test phpstan 2023-08-04 02:38:10 +02:00
Laurent Destailleur
a27b783002 Rename REAME to README 2021-05-03 13:55:08 +02:00
UT from dolibit
d74359a4e4 Create REAME 2021-05-02 19:28:58 +02:00
Laurent Destailleur
2e68488231 Enhance scan using phpstan 2019-07-20 15:53:46 +02:00
Laurent Destailleur
399ffb2dcc Fix phpcs 2019-05-16 14:38:01 +02:00
Laurent Destailleur
4a69541419 Several bug fixes using phpstan 2019-05-15 18:59:46 +02:00