Commit Graph

3790 Commits

Author SHA1 Message Date
Zephyriony
3fba583ffa Update functions.lib.php 2024-03-16 00:46:40 +01:00
Zephyriony
0c7ed79f40 Update functions.lib.php 2024-03-16 00:42:57 +01:00
Zephyriony
82dc53e796 Update functions.lib.php 2024-03-16 00:36:43 +01:00
Zephyriony
cd47aa1aad Update functions.lib.php 2024-03-16 00:34:09 +01:00
Zephyriony
dd7f84abde Update functions.lib.php 2024-03-16 00:30:24 +01:00
Zephyriony
d339f4252c Update functions.lib.php 2024-03-16 00:26:50 +01:00
Zephyriony
4dc118a759 Update functions.lib.php 2024-03-16 00:25:05 +01:00
Zephyriony
fb9f9a7c8b Update functions.lib.php 2024-03-16 00:22:17 +01:00
Zephyriony
13350802e5 Update functions.lib.php 2024-03-16 00:16:15 +01:00
Zephyriony
e1cf39773b Update functions.lib.php 2024-03-16 00:13:51 +01:00
Zephyriony
48bbc532b9 Update functions.lib.php 2024-03-16 00:11:06 +01:00
Zephyriony
c12af524d5 Update functions.lib.php 2024-03-16 00:05:34 +01:00
Zephyriony
05ee3d482c Update functions.lib.php 2024-03-16 00:00:06 +01:00
Zephyriony
f8ea5ac077 Proposed function for records that can't be found 2024-03-15 23:33:51 +01:00
Laurent Destailleur
0ee6fd6bad Merge pull request #28877 from mdeweerd/PhanTypeMismatchDefault
Fix & enable PhanTypeMismatchDefault
2024-03-15 15:44:30 +01:00
Laurent Destailleur
799ccf1a2f Merge pull request #28708 from atm-john/fix_element_type_part_05
NEW : Factoring and Fix external module elementType limit - Part 05
2024-03-15 15:29:03 +01:00
MDW
9a79e6b6d0 Fix PhanTypeMismatchDefault with typing hints 2024-03-15 13:26:23 +01:00
Laurent Destailleur
30037a5cba Fix: Test removalof one phan exception 2024-03-15 09:30:21 +01:00
Laurent Destailleur
1639bc83ca Merge pull request #28817 from frederic34/skiljob
fix warnings
2024-03-15 00:18:44 +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
c22a6219ec Debug v20 2024-03-14 16:40:06 +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
Frédéric France
edb12bc63d Merge remote-tracking branch 'upstream/develop' into skiljob 2024-03-13 18:42:52 +01:00
Frédéric France
26fe76733c fix warnings 2024-03-13 18:20:41 +01:00
MDW
3ffa85eb49 Fix: Remove stray $i++ 2024-03-13 17:38:05 +01:00
John BOTELLA
f64e8c0689 Merge branch 'develop' of github.com:Dolibarr/dolibarr into fix_element_type_part_05 2024-03-13 14:42:43 +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
c3f28b8592 Merge pull request #28802 from mdeweerd/PhanPluginRedundantAssignment
Fix PhanPluginRedundantAssignment
2024-03-13 11:04:02 +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
a57d0915a2 Fix PhanPluginRedundantAssignment 2024-03-13 01:03:53 +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
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
Laurent Destailleur
cc6fbef64d Update functions.lib.php 2024-03-12 14:44:48 +01:00
Laurent Destailleur
53c3406d11 Merge branch 'develop' into fix_element_type_part_05 2024-03-12 14:22:25 +01:00
Francis Appels
7ff68a5819 Fix shipping is not a delivery_note (sub module of shipping) 2024-03-12 11:07:18 +01:00
Laurent Destailleur
dcca7cc3f6 Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 02:54:05 +01:00
Laurent Destailleur
56950673b8 Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 02:41:47 +01:00
Laurent Destailleur
93638f3980 Merge pull request #28667 from atm-john/fix_element_type_part_03
NEW : Factoring and Fix external module elementType limit - Part 03
2024-03-11 16:19:00 +01:00
Laurent Destailleur
41078a9a46 Merge branch 'develop' into test/security_dol_eval_ob_cleanup_on_exception 2024-03-11 14:57:33 +01:00
John BOTELLA
ed6874154d Merge branch 'develop' into fix_element_type_part_05 2024-03-11 14:33:48 +01:00
Laurent Destailleur
0f2121e3ba Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-11 13:46:08 +01:00
Laurent Destailleur
ff0d147847 Merge branch 'develop' into test/security_dol_eval_ob_cleanup_on_exception 2024-03-11 12:48:31 +01:00
Laurent Destailleur
a327d39062 Fix warning 2024-03-11 11:39:51 +01:00
MDW
101d56a2c1 Fix: Ob buffer cleanup on exception
# Fix: Ob buffer cleanup on exception

The OB buffer capture was incorrectly cleaned up on exception.
This fixes that.

Also modified the SecurityTest to enable running it standalone
2024-03-10 15:17:58 +01:00