Commit Graph

537 Commits

Author SHA1 Message Date
MDW
ec2a1928ba Qual: Update fields phpdoc to include fields that are defined/used in some cases
# Qual: Update fields phpdoc to include fields that are defined/used in some cases

comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Laurent Destailleur (aka Eldy)
4e6d3217bc Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-02 01:58:06 +01:00
Laurent Destailleur (aka Eldy)
5c321cc678 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-02 01:52:08 +01:00
Günter Lukas
06808b38b5 Fix #27223 (#32173) 2024-12-01 23:29:42 +01:00
noec764
4706b5d1fe Fix: Plain MSG Can be empty with \n (#32003)
Co-authored-by: Noé <noe@scopen.fr>
2024-11-19 18:59:07 +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
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Laurent Destailleur
f68b248c22 Help debug 2024-10-31 18:29:15 +01:00
Laurent Destailleur
3b2c7a32f7 Fix regression 2024-10-31 16:29:19 +01:00
Laurent Destailleur
b70df2fcc8 Add log 2024-10-31 16:18:55 +01:00
Laurent Destailleur
d9a5636b77 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-29 15:55:42 +01:00
Laurent Destailleur
3caead1dc0 Help debug with button "Refresh token" 2024-10-29 13:01:14 +01:00
itkuchlbauer
ad2578db4a Fix: hooks are not initiated if Hookmanager exists. (#31552) 2024-10-25 13:38:32 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
Laurent Destailleur
d24069d5e2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:35:33 +02:00
Laurent Destailleur
86e34d8513 Fix typo 2024-10-03 16:20:56 +02:00
Laurent Destailleur
42471decac Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 15:50:44 +02:00
Laurent Destailleur
0674754ad7 Restore regression 2024-10-03 14:03:15 +02:00
Laurent Destailleur
0676a5e718 Fix a fix has been lsot by merge 2024-10-03 13:52:55 +02:00
Hasanuzzaman Sattar
877a6f6c4a FIX#31237 (#31239)
* FIX#31237

* FIX#31241

* FIX#31237

* FIX#31237
2024-10-03 13:47:28 +02:00
Laurent Destailleur
c955ab06e7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 01:07:09 +02:00
Laurent Destailleur
52616db1b7 Fix mutitenant MS oauth refresh 2024-10-03 01:06:44 +02:00
Laurent Destailleur
30c3ffa9dd Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-02 21:43:15 +02:00
Laurent Destailleur
50d2613124 Fix use of OAUTH for SMTP use with Microsoft 2024-10-02 21:25:21 +02:00
Laurent Destailleur
352077999a Clean code 2024-09-30 10:06:31 +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
MDW
42bb4fbf3e Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Frédéric FRANCE
a94cff63a7 fix phpstan (#31102)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-25 22:21:31 +02:00
Laurent Destailleur
e4227c6913 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-12 16:30:57 +02:00
Laurent Destailleur
94cdc284b3 Better log and fix search of contact for emailcollector 2024-09-12 12:32:33 +02:00
Laurent Destailleur
613c25b5ff Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-10 02:02:16 +02:00
Laurent Destailleur
4511e25895 Fix parsing header 2024-09-09 20:01:33 +02:00
Laurent Destailleur
cb0a751384 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-09 16:22:28 +02:00
Laurent Destailleur
e2bed26bb3 Log 2024-09-09 13:41:28 +02:00
Frédéric FRANCE
eb04c5c427 fix phpstan (#30860)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-06 13:44:29 +02:00
Frédéric FRANCE
80d1f47d4d fix ignored phpstan (most of expects string, int given) (#30649)
* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* 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

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-05 16:05:37 +02:00
MDW
a8367a6cd8 Qual: Fix getNextValue related phan notices (part2) (#30752)
* Qual: 🛟 Fix reference to $db with $this->db

# Qual: reference to $db with $this->db

$db was undeclared, use $this->db.

* Fix suspected issue with environment max size and md5sum working on limited files

* Qual: Fix LDAP typing

* Qual: Fix getNextValue related phan notices (part2)

* Update baseline

* Qual: Fix phan notice
2024-08-29 13:34:24 +02:00
Laurent Destailleur
eb30f2efa6 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-28 12:23:46 +02:00
Laurent Destailleur
85d2080081 Debug emailcollector - finding thirdparty 2024-08-28 12:21:39 +02:00
Laurent Destailleur
8958aed2ef Fix cursor 2024-08-28 03:30:06 +02:00
Laurent Destailleur
a31c0b09cd Process emails by email date 2024-08-28 02:41:58 +02:00
Laurent Destailleur
a40d280a01 Log 2024-08-28 01:32:46 +02:00
Laurent Destailleur
7464e22a4d Debug emailcollector with PHP-IMAP lib 2024-08-28 00:19:23 +02:00
Laurent Destailleur
921cbe40b8 More logs 2024-08-28 00:07:59 +02:00
Laurent Destailleur
d61efecc10 Fix move of several emails when using PHP-IMAP 2024-08-27 23:59:39 +02:00
Laurent Destailleur
367cdd7ccc Fix emailcollector from tickets 2024-08-27 22:21:29 +02:00
Laurent Destailleur
7e60db00b7 Fix log of emailcollector 2024-08-27 22:21:22 +02:00
Laurent Destailleur
1277c19a2d Fix emailcollector from tickets 2024-08-27 22:20:51 +02:00
Laurent Destailleur
9319727a39 Fix log of emailcollector 2024-08-27 21:50:44 +02:00
Laurent Destailleur
c0be147c02 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-27 20:01:25 +02:00