2
0
forked from Wavyzz/dolibarr
Commit Graph

10710 Commits

Author SHA1 Message Date
MDW
b6f9df4ad3 Passing null to DOMDocument() is deprecated in PHP8.1 at the latest 2024-03-15 23:41:18 +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
Laurent Destailleur
e6a6142b8b Merge pull request #28831 from lamrani002/addDeleteForContact
NEW function for removing company contacts
2024-03-15 15:25:24 +01:00
Laurent Destailleur
b658beab99 Merge pull request #28872 from mdeweerd/fix/PhanTypeMismatchReturnProbablyReal
Fix & enable PhanTypeMismatchReturnProbablyReal
2024-03-15 15:24:31 +01:00
Laurent Destailleur
1a722fa436 Merge branch 'develop' into fix/PhanTypeMismatchPropertyProbablyReal 2024-03-15 15:07:35 +01:00
MDW
c5c79a9fc5 Fix PhanTypeMismatchReturnProbablyReal 2024-03-15 14:20:56 +01:00
MDW
9a79e6b6d0 Fix PhanTypeMismatchDefault with typing hints 2024-03-15 13:26:23 +01:00
MDW
e36dccff59 Qual: better typing for getCountry() 2024-03-15 10:12:48 +01:00
MDW
db0134183d Qual: improve hist typing 2024-03-15 10:11:57 +01:00
MDW
3384a0b847 Fix & enable PhanUndeclaredTypeReturnType
# Fix & enable PhanUndeclaredTypeReturnType

One typo, and replace 'number' with int or int|float
2024-03-15 10:07:15 +01:00
Laurent Destailleur
30037a5cba Fix: Test removalof one phan exception 2024-03-15 09:30:21 +01:00
Laurent Destailleur
ba4e454827 Merge pull request #28829 from rycks/develop_add_projects_linked_by_a_contact_option
NEW Can show the list of projects having at least one contact that is a contact of the third party
2024-03-15 08:29:39 +01:00
Laurent Destailleur
1639bc83ca Merge pull request #28817 from frederic34/skiljob
fix warnings
2024-03-15 00:18:44 +01:00
Laurent Destailleur
0691839c7b Merge branch 'develop' into develop_add_projects_linked_by_a_contact_option 2024-03-14 23:57:30 +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
Lamrani Abdel
fc753daa26 NEW functionality for delete contact of company list 2024-03-14 11:58:23 +01:00
Frédéric FRANCE
23b0faeb44 Merge branch 'develop' into skiljob 2024-03-14 11:04:11 +01:00
Eric Seigne
89d6fe8d5d add project list linked by a contact 2024-03-14 10:02:23 +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
John BOTELLA
94b943bc2f Merge branch 'fix_element_type_part_05' of github.com:atm-john/dolibarr into fix_element_type_part_06 2024-03-13 15:00:20 +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
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