Commit Graph

8393 Commits

Author SHA1 Message Date
Laurent Destailleur
d1c9475089 Better management of MD file with style HTML tags 2024-03-24 03:23:07 +01:00
Laurent Destailleur
a5fec9f06f Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 20:44:54 +01:00
Laurent Destailleur
19fbfb9444 Merge pull request #29013 from frederic34/box_member_phpstan
clean code for phpstan
2024-03-23 19:36:27 +01:00
Laurent Destailleur
5c31471053 Merge pull request #29020 from frederic34/last_main_doc
fetch last_main_doc in invoice supplier
2024-03-23 17:37:38 +01:00
Laurent Destailleur
6a0678e717 Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 17:36:29 +01:00
MDW
3d130e3bd5 Fix double $conf->global->$conf into $conf->global->...
# Fix double $conf->global->$conf into $conf->global->...

Found with PhanTypeInvalidPropertyName - may be appropriate for backport
2024-03-23 15:17:12 +01:00
MDW
35d2dd5611 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:47 +01:00
MDW
c97e400b9d Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:46 +01:00
MDW
7fe931c46f Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:45 +01:00
Laurent Destailleur
d448b57cf2 Debug v20 2024-03-22 19:58:33 +01:00
Frédéric FRANCE
b78766b904 fetch last_main_doc in invoice supplier 2024-03-22 12:28:56 +01:00
MDW
8e577b6d5a Fix typing with phpdoc 2024-03-22 09:52:33 +01:00
MDW
ba7a452451 Fix typing with phpdoc 2024-03-22 09:52:21 +01:00
MDW
37ceda734f Fix typing with phpdoc 2024-03-22 09:52:20 +01:00
MDW
e7e2ff95f6 Fix typing with phpdoc 2024-03-22 09:52:19 +01:00
MDW
fbb3cb3588 Fix typing with phpdoc 2024-03-22 09:52:18 +01:00
MDW
e31fa59fd4 Fix typing with phpdoc 2024-03-22 09:52:17 +01:00
MDW
396bf9079e Fix typing with phpdoc 2024-03-22 09:52:16 +01:00
MDW
2db76fbfff Fix typing with phpdoc 2024-03-22 09:52:15 +01:00
MDW
280dadbf6c Fix typing with phpdoc 2024-03-22 09:52:14 +01:00
MDW
afda2103ff Fix typing with phpdoc 2024-03-22 09:52:13 +01:00
MDW
f75e5cd13a Fix typing with phpdoc 2024-03-22 09:52:12 +01:00
MDW
d5400967ce Fix typing with phpdoc 2024-03-22 09:52:11 +01:00
MDW
aff10352c2 Fix typing with phpdoc 2024-03-22 09:52:10 +01:00
MDW
4d5e2d23a6 Fix typing with phpdoc 2024-03-22 09:52:09 +01:00
MDW
ec855a2e5c Fix typing with phpdoc 2024-03-22 09:52:08 +01:00
MDW
4500b30b8e Fix typing with phpdoc 2024-03-22 09:52:07 +01:00
MDW
d148c3f955 Fix typing with phpdoc 2024-03-22 09:52:06 +01:00
MDW
8bf8972a2d Fix typing with phpdoc 2024-03-22 09:52:05 +01:00
MDW
a7b00efafe Fix typing with phpdoc 2024-03-22 09:52:04 +01:00
MDW
90f36e4613 Fix typing with phpdoc 2024-03-22 09:52:03 +01:00
MDW
78c1bb4619 Fix typing with phpdoc 2024-03-22 09:52:02 +01:00
MDW
2fc604b1af Fix typing with phpdoc 2024-03-22 09:52:01 +01:00
MDW
56b6ab31f9 Fix typing with phpdoc 2024-03-22 09:51:59 +01:00
MDW
6944e71ec2 Fix typing with phpdoc 2024-03-22 09:51:58 +01:00
MDW
81c0026be6 Fix typing with phpdoc 2024-03-22 09:51:57 +01:00
MDW
378c98cac6 Fix typing with phpdoc 2024-03-22 09:51:56 +01:00
MDW
b84c9a1d47 Fix typing with phpdoc 2024-03-22 09:51:55 +01:00
MDW
58a6ef8c7c Fix typing with phpdoc 2024-03-22 09:51:54 +01:00
MDW
83ca2f80d8 Fix PHPdoc for typing 2024-03-22 09:51:49 +01:00
Frédéric France
c76ab41c91 fix warnings with syslog checkconfiguration 2024-03-21 22:01:11 +01:00
Frédéric France
ce38158c35 fix warnings with syslog checkconfiguration 2024-03-21 21:50:42 +01:00
Laurent Destailleur
922f30eceb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-21 15:38:11 +01:00
Laurent Destailleur
61eefe5fa9 Merge branch 'develop' into fix/PhanTypeMismatchReturnNullable 2024-03-21 12:51:27 +01:00
Laurent Destailleur
ae10eedf2a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-21 11:29:16 +01:00
Laurent Destailleur
57eb393dad Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-21 11:22:28 +01:00
MDW
2496d20d4f Fix nullable return with if($ok == 1) in stead of if($ok)
# Fix nullable return with if($ok == 1) in stead of if($ok)

This seems to be a bug in Phan where if($ok) changes the type of $ok.
Testing with '$ok == 1' instead fixes the issue.

This has been reported to the phan team.
2024-03-21 00:28:14 +01:00
MDW
942239b5d6 Update PHPdoc to show nullable return 2024-03-20 23:54:32 +01:00
MDW
9ecb4bd639 Fix null return by returning empty string in else case 2024-03-20 21:58:47 +01:00
MDW
e105b577ee Fix PhanTypeMismatchReturn by changing return and logging error 2024-03-20 21:58:39 +01:00