Commit Graph

132109 Commits

Author SHA1 Message Date
MDW
048f459869 Fix: $domain for setcookie() must be string 2024-03-15 23:41:24 +01:00
MDW
882533da0d Fix: $domain for setcookie() must be string 2024-03-15 23:41:22 +01:00
MDW
705296217c Fix: preg_match must be string, add cast
Note: ['type'] does not seem to be set.
2024-03-15 23:41:21 +01:00
MDW
49381e2af1 Fix: $domain for setcookie() must be string 2024-03-15 23:41:20 +01:00
MDW
0492b19c09 Fix: openssl_decrypt needs a string for $iv 2024-03-15 23:41:19 +01:00
MDW
b6f9df4ad3 Passing null to DOMDocument() is deprecated in PHP8.1 at the latest 2024-03-15 23:41:18 +01:00
MDW
375e4d7ccf Qual: Enable PhanTypeMismatchArgumentInternalReal 2024-03-15 23:41:17 +01:00
MDW
4c864a49e3 Add typing to fix PhanTypeMismatchArgumentInternalReal 2024-03-15 23:41:17 +01:00
Laurent Destailleur
ce5df34cc6 Merge pull request #28415 from frederic34/patch-11
fix phpstan
2024-03-15 21:04:09 +01:00
Laurent Destailleur
ae3878f522 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-15 20:26:44 +01:00
Laurent Destailleur
28269b1a0a Clean code for #28785 2024-03-15 20:26:22 +01:00
Laurent Destailleur
a1b4bcbaa9 Merge pull request #28879 from atm-lena/develop_FIX_loadvirtualstockinproduction
FIX function load_stats_inproduction()
2024-03-15 19:58:49 +01:00
Laurent Destailleur
9302eb645f Update product.class.php 2024-03-15 19:57:23 +01:00
Laurent Destailleur
dab45ad8d4 Merge pull request #28882 from mdeweerd/typing/commonobject/fields
Fix Typing on $fields for 2nd class in file
2024-03-15 19:53:35 +01:00
Laurent Destailleur
5fadea4d0d NEW Support Reply-To tracking in emails sending (tickets only for the
moment)
2024-03-15 19:40:32 +01:00
Laurent Destailleur
f95ccd91e8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-15 18:53:02 +01:00
Laurent Destailleur
ad45f2709b Clean code 2024-03-15 18:52:34 +01:00
Frédéric FRANCE
b903a393f4 Merge branch 'develop' into patch-11 2024-03-15 17:45:10 +01:00
MDW
61e05a9fde Fix Typing on $fields for 2nd class in file
# Fix Typing on $fields for 2nd class in file

This fixes the PHPstan notification for the $fields property of the
second CommonObject subclass in the files.

Example: 'PHPDoc type array of property BOMLine::$fields is not covariant with PHPDoc type array of overridden property CommonObject::$fields.'
2024-03-15 17:10:30 +01:00
Laurent Destailleur
372c8445fd Merge pull request #28809 from mdeweerd/PhanPluginPrintfIncompatibleArgumentTypeWeak
Fix & enable PhanPluginPrintfIncompatibleArgumentTypeWeak occurrences
2024-03-15 16:32:40 +01:00
Laurent Destailleur
0ee6fd6bad Merge pull request #28877 from mdeweerd/PhanTypeMismatchDefault
Fix & enable PhanTypeMismatchDefault
2024-03-15 15:44:30 +01:00
x
8ca7789780 FIX function load_stats_inproduction() 2024-03-15 15:36:05 +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
7d585f2a48 Merge pull request #28839 from lamrani002/fixTypagePAram
FIX PHPStan warnings
2024-03-15 15:25:51 +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
6042ea9228 Merge pull request #28870 from mdeweerd/fix/moduleparts/typing
Qual: Fix typing - module_parts['hooks'] may be empty
2024-03-15 15:22:58 +01:00
Laurent Destailleur
8431f2b9da Merge pull request #28876 from lamrani002/nbOfProperties
FIX number of properties for each object in modulebuilder
2024-03-15 15:22:41 +01:00
Laurent Destailleur
33656f26c9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-15 15:22:07 +01:00
Laurent Destailleur
8ce3584071 Merge pull request #28821 from mdeweerd/fix/PhanTypeMismatchPropertyProbablyReal
Fix & enable PhanTypeMismatchPropertyProbablyReal
2024-03-15 15:21:53 +01:00
Laurent Destailleur
e3c4c1aff0 Fix warning 2024-03-15 15:16:22 +01:00
Laurent Destailleur
1a722fa436 Merge branch 'develop' into fix/PhanTypeMismatchPropertyProbablyReal 2024-03-15 15:07:35 +01:00
Laurent Destailleur
90f9e61361 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-15 15:07:15 +01:00
Laurent Destailleur
29d6c2b76e Fix for #28821 ->status is int ->labelStatus is array of label. 2024-03-15 15:07:05 +01:00
MDW
1af4e90027 Qual: enable PhanTypeMismatchDefault 2024-03-15 14:53:07 +01:00
MDW
ca06a0ee7f Fix PhanTypeMismatchDefault with typing hint 2024-03-15 14:53:06 +01:00
MDW
38e7d389a9 Fix PhanTypeMismatchDefault by updating default to null 2024-03-15 14:53:05 +01:00
MDW
5c9a063160 Fix PhanTypeMismatchDefault by updating default to null 2024-03-15 14:53:04 +01:00
MDW
82157757f0 Fix PhanTypeMismatchDefault by updating defaults 2024-03-15 14:53:03 +01:00
MDW
61b55f21ab Fix PhanTypeMismatchDefault with typing hint 2024-03-15 14:53:02 +01:00
MDW
8495a75f43 Fix PhanTypeMismatchDefault by removing defaults, update typing
Also remove some unused references to globals
2024-03-15 14:53:01 +01:00
Frédéric FRANCE
b5cd2989d0 Merge branch 'develop' into patch-11 2024-03-15 14:43:32 +01:00
Laurent Destailleur
0617d43460 Fix link to create an event 2024-03-15 14:39:40 +01:00
Lamrani Abdel
d9694bec3d fix type by adding both to doc function 2024-03-15 14:38:22 +01:00
Lamrani Abdel
4a53b3dd17 fix type by adding both to doc function 2024-03-15 14:37:35 +01:00
MDW
920e1fbe77 Fix PhanTypeMismatchDefault by removing defaults ($object is required) 2024-03-15 14:29:21 +01:00
MDW
972028bb95 Fix PhanTypeMismatchDefault by removing defaults ($object is required) 2024-03-15 14:29:20 +01:00
MDW
e5cf5475a1 Qual: Improve test message on failure 2024-03-15 14:20:59 +01:00
MDW
c7ad91cfc0 Qual: Enable PhanTypeMismatchReturnProbablyReal 2024-03-15 14:20:58 +01:00
MDW
3b0e83c533 Fix PhanTypeMismatchReturnProbablyReal 2024-03-15 14:20:57 +01:00