Commit Graph

34655 Commits

Author SHA1 Message Date
MDW
60359aa418 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:49 +01:00
MDW
c3647c3af6 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:48 +01:00
MDW
6d6cbff08e Fix PhanPluginRedundantAssignment 2024-03-13 00:40:47 +01:00
MDW
271525deaa Fix PhanPluginRedundantAssignment 2024-03-13 00:40:46 +01:00
MDW
0302e4f2b5 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:45 +01:00
MDW
81fde8ffc3 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:44 +01:00
MDW
5668974d46 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:44 +01:00
MDW
c76c08e9f0 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:43 +01:00
MDW
509357d632 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:42 +01:00
MDW
d33e0a69ca Fix PhanPluginRedundantAssignment 2024-03-13 00:40:41 +01:00
MDW
d68f196ccf Fix PhanPluginRedundantAssignment 2024-03-13 00:40:40 +01:00
MDW
6319b5bff1 Fix PhanPluginDuplicateExpressionAssignment (NOOP assignment) 2024-03-12 22:25:37 +01:00
MDW
e670fcc32e Fix PhanPluginDuplicateExpressionAssignment (NOOP assignment) 2024-03-12 22:25:36 +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
d51b0f9ae4 Merge pull request #28792 from mdeweerd/fix/PhanTypeExpectedObjectOrClassName_part1
Fix/phan type expected object or class name part1
2024-03-12 22:14:14 +01:00
Laurent Destailleur
0563c487c0 Merge pull request #28797 from mdeweerd/fix/PhanPluginMixedKeyNoKey
Fix & enable PhanPluginMixedKeyNoKey
2024-03-12 22:02:35 +01:00
Laurent Destailleur
54556b37fd Clean code 2024-03-12 21:59:29 +01:00
MDW
4bc9f52957 Fix PhanPluginMixedKeyNoKey - real missing key/value mapping 2024-03-12 21:35:42 +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
0968183f6a Merge pull request #28794 from mdeweerd/fix/PhanPluginDuplicateIfCondition
Fix: fix/PhanPluginDuplicateIfCondition
2024-03-12 21:24:06 +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
Laurent Destailleur
03798025b9 FIX #28787 2024-03-12 20:44:02 +01:00
MDW
21e0bb4a76 Fix duplicate if condition (remove 2nd case with less effect 2024-03-12 20:00:58 +01:00
MDW
7e52b2f632 Fix duplicate if condition with same effect 2024-03-12 19:13:40 +01:00
MDW
1f31d29a77 Fix duplicate if condition with same effect 2024-03-12 19:09:53 +01:00
MDW
8bd965fb80 Fix duplicate if condition
# Fix duplicate if condition

Removed the duplicate which had a different action but it was not effective in the code
so it was removed (it looks like a leftover).
2024-03-12 19:09:06 +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
Frédéric France
fc732b1be5 fix mod barcode product 2024-03-12 18:49:29 +01:00
MDW
3d47d9b894 Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:06 +01:00
MDW
a59fd68987 Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:05 +01:00
MDW
7825954f2a Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:04 +01:00
MDW
bba0d4661e Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:03 +01:00
MDW
69e335a13b Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:02 +01:00
Laurent Destailleur
16edaf9208 Merge pull request #28783 from lamrani002/cMailFileSendmail
fix method sendfile return type
2024-03-12 16:19:36 +01:00
Laurent Destailleur
cf28211a78 Update CMailFile.class.php 2024-03-12 16:18:44 +01:00
Lamrani Abdel
8bf54dee9e fix method sendfile return type 2024-03-12 15:13:54 +01:00
Laurent Destailleur
a6926c29c0 Merge pull request #28778 from fappels/develop_fix_delivery_note
Fix shipping is not a delivery_note (is sub module of shipping)
2024-03-12 14:53:51 +01:00
Laurent Destailleur
74b8162d22 Merge pull request #28700 from mdeweerd/urlencode/fixuptype
Fix: Ensure the argument type for urlencode is string
2024-03-12 14:43:41 +01:00
Laurent Destailleur
9e16016125 Merge pull request #28770 from mdeweerd/typing/fields
Fix: Repeat fields typing in CommonClass children
2024-03-12 14:30:36 +01:00
Laurent Destailleur
ee3fa7f643 Merge pull request #28776 from mdeweerd/fix/phpdoc1
Fix: PHPdoc and minor code changes from phpstan logs
2024-03-12 14:27:52 +01:00
gdesnoues
c27f4e062f Merge branch 'develop' into patch-1 2024-03-12 14:19:56 +01:00
Laurent Destailleur
d62ef14064 Merge pull request #28768 from mdeweerd/fix/PhanTypeMismatchDeclaredParamNullable
Fix: PhanTypeMismatchDeclaredParamNullable & enable detection
2024-03-12 14:19:41 +01:00
Laurent Destailleur
f4b6dd927d Merge pull request #28771 from mdeweerd/typeing/module_parts
Qual: Typing : make all $module_parts fields optional and add missing
2024-03-12 14:15:56 +01:00
Francis Appels
6f1b184f17 Merge remote-tracking branch 'Dolibarr/develop' into develop_fix_delivery_note 2024-03-12 14:13:41 +01:00
Laurent Destailleur
949c885477 Merge branch 'develop' into fix/phpdoc1 2024-03-12 14:11:30 +01:00
Laurent Destailleur
0b936bebe7 Merge pull request #28773 from frederic34/clean_mod_code
clean code and phpdoc
2024-03-12 14:09:23 +01:00
gdesnoues
a75bc08d94 show image in a line description of a proposal PDF #28670
When you set FCKEDITOR_ENABLE_DETAILS_FULL to 1 you can add pictures in description proposal with the WYSIWYG bar.
Add preg_replace() to show this pictures in the PDF
2024-03-12 14:08:29 +01:00
MDW
88d59896ec Qual: 'enabled' in fields can be string ('isModEnabled(...)')
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')

Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
Francis Appels
ba1ca6dc7d module delivery_note not exist (no own module descriptor) is global MAIN_SUBMODULE_DELIVERY 2024-03-12 11:46:12 +01:00