Commit Graph

10622 Commits

Author SHA1 Message Date
Laurent Destailleur
1639bc83ca
Merge pull request #28817 from frederic34/skiljob
fix warnings
2024-03-15 00:18:44 +01:00
Laurent Destailleur
e478fd8cbc
Merge pull request #28859 from mdeweerd/fix/PhanPluginUnknownClosureParamType
Fix & enable PhanPluginUnknownClosureParamType
2024-03-14 23:10:37 +01:00
Laurent Destailleur
009ff45f61
Merge pull request #28835 from W1W1-M/qual-project-lib
Fix undefined task object
2024-03-14 22:54:07 +01:00
MDW
a408288ba1
Fix & enable PhanPluginUnknownClosureParamType
# Fix & enable PhanPluginUnknownClosureParamType

Typing of anonymous functions to fix this notice.
Optimised some minor things.
2024-03-14 22:42:26 +01:00
Laurent Destailleur
e12faaa663 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-14 22:38:31 +01:00
Laurent Destailleur
390f18f557 FIX #yogosha20932 2024-03-14 22:06:43 +01:00
Laurent Destailleur
c22a6219ec Debug v20 2024-03-14 16:40:06 +01:00
Laurent Destailleur
967c444d8d FIX support of multiobject in APIs generated by modulebuilder 2024-03-14 16:39:12 +01:00
William Mead
9dbc249cf0 Fixed undefined task object 2024-03-14 14:59:04 +01:00
Laurent Destailleur
fb85f17ef4 FIX: Better error management in loading a website template 2024-03-14 12:09:35 +01:00
Frédéric FRANCE
23b0faeb44
Merge branch 'develop' into skiljob 2024-03-14 11:04:11 +01:00
Laurent Destailleur
ee214ae7fd Test to avoid not found method 2024-03-13 22:39:41 +01:00
Laurent Destailleur
45a68ba612 Better error management 2024-03-13 20:17:26 +01:00
Frédéric France
edb12bc63d Merge remote-tracking branch 'upstream/develop' into skiljob 2024-03-13 18:42:52 +01:00
Laurent Destailleur
03b7057212
Merge pull request #28816 from mdeweerd/fix/PhanTypeInvalidUnaryOperandIncOrDec
Fix & enable PhanTypeInvalidUnaryOperandIncOrDec
2024-03-13 18:21:22 +01:00
Frédéric France
26fe76733c fix warnings 2024-03-13 18:20:41 +01:00
Laurent Destailleur
9918f99c6d
Merge pull request #28815 from W1W1-M/qual-user-agenda
FIX user agenda
2024-03-13 18:12:33 +01:00
Laurent Destailleur
f15725ee33
Update usergroups.lib.php 2024-03-13 18:10:30 +01:00
MDW
3ffa85eb49
Fix: Remove stray $i++ 2024-03-13 17:38:05 +01:00
MDW
a0ea2ed654
Fix: Remove stray $i++ 2024-03-13 17:38:03 +01:00
William Mead
cd727f22a6 Fixed event count 2024-03-13 16:26:52 +01:00
Laurent Destailleur
4afadf6dc4
Merge pull request #28804 from mdeweerd/fix/PhanPluginUnknownFunctionParamType
Fix & enable PhanPluginUnknownFunctionParamType
2024-03-13 14:31:18 +01:00
Laurent Destailleur
e0d7948d91 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-13 11:06:48 +01:00
Laurent Destailleur
c3f28b8592
Merge pull request #28802 from mdeweerd/PhanPluginRedundantAssignment
Fix PhanPluginRedundantAssignment
2024-03-13 11:04:02 +01:00
Laurent Destailleur
acf84f44d5
Merge pull request #28805 from mdeweerd/fix/PhanPluginPrintfNotPercent
# Fix & enable PhanPluginPrintfNotPercent
2024-03-13 11:02:07 +01:00
Laurent Destailleur
930af6b838 Doc 2024-03-13 10:54:20 +01:00
MDW
1debf4f538
# Fix & enable PhanPluginPrintfNotPercent
Fix PhanPluginPrintfNotPercent by setting format length to non 0 value.

Example of Notification message:

    'Format string "%0.10F" contains something that is not a percent sign, it will be treated as a format string '%0.10F' with padding of "0" and alignment of '' but no width. Use %% for a literal percent sign, or '%1$.10F' to be less ambiguous' .
2024-03-13 10:42:13 +01:00
MDW
09a62365eb
Fix PhanPluginUnknownFunctionParamType
# Fix PhanPluginUnknownFunctionParamType

PHPdoc for $object was incorrect.
Also updated the return type and the parameter typing for $head
in complete_head_from_modules
2024-03-13 10:08:12 +01:00
MDW
d8a785fa2b
FIX get_string_between
# FIX get_string_between

Noticed that the typing of the arguments was incorrect and then found
the implementation suspicious.  The implemented test confirmed that it
was flawed.  Fixed.

Apparently this method is used in get_next_value .
2024-03-13 02:58:59 +01:00
MDW
8f15e595b1
Fix PhanPluginRedundantAssignment 2024-03-13 01:03:58 +01:00
MDW
2fc8cc7bb9
Fix PhanPluginRedundantAssignment 2024-03-13 01:03:57 +01:00
MDW
4f86b65f78
Fix PhanPluginRedundantAssignment 2024-03-13 01:03:56 +01:00
MDW
452b2600be
Fix PhanPluginRedundantAssignment 2024-03-13 01:03:55 +01:00
MDW
e50f2028e4
Fix PhanPluginRedundantAssignment 2024-03-13 01:03:54 +01:00
MDW
c05221c879
Fix PhanPluginRedundantAssignment 2024-03-13 01:03:53 +01:00
MDW
a57d0915a2
Fix PhanPluginRedundantAssignment 2024-03-13 01:03:53 +01:00
MDW
bbe0368bbd
Fix PhanPluginRedundantAssignment 2024-03-13 00:58:39 +01:00
MDW
439979a439
Fix PhanPluginRedundantAssignment 2024-03-13 00:58:38 +01:00
MDW
e073692e4d
Fix PhanPluginRedundantAssignment 2024-03-13 00:58:37 +01:00
MDW
73b7cf9338
Fix PhanPluginRedundantAssignment 2024-03-13 00:58:37 +01:00
MDW
323c66216a
Fix PhanPluginRedundantAssignment 2024-03-13 00:58:36 +01:00
MDW
5c09a7df85
Fix PhanPluginRedundantAssignment 2024-03-13 00:40:52 +01:00
Laurent Destailleur
04351f898d
Merge pull request #28780 from gdesnoues/patch-1
show image in a line description of a proposal PDF #28670
2024-03-12 22:17:53 +01:00
Laurent Destailleur
54556b37fd Clean code 2024-03-12 21:59:29 +01:00
Laurent Destailleur
8c42ca11ef Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-12 21:24:34 +01:00
Laurent Destailleur
9807ed32e8
Update functions.lib.php 2024-03-12 21:09:23 +01:00
Laurent Destailleur
bf954e9cd7 Fix for compatibility 2024-03-12 21:04:20 +01:00
MDW
21e0bb4a76
Fix duplicate if condition (remove 2nd case with less effect 2024-03-12 20:00:58 +01:00
MDW
1f31d29a77
Fix duplicate if condition with same effect 2024-03-12 19:09:53 +01:00
MDW
29b8d0db84
Fix: Duplicate test on "shipping", replaced duplicate with delivery_note
# Fix: Duplicate test on "shipping", replaced duplicate with delivery_note

The second test on "shipping" was without effect but as the module was set to
"expedition_bon", I modified the test to delivery_note and put it closer to
the test on "shipping"
2024-03-12 19:05:15 +01:00