Commit Graph

8960 Commits

Author SHA1 Message Date
MDW
e94bb650d3 Qual: Fix typings in actioncomm
# Qual: Fix typings in actioncomm

Allow -1 for percentage.
$icalcolor as string.
Extend range of return types for update() and delete()
2024-04-02 13:55:12 +02:00
Laurent Destailleur
51f862ad28 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-02 13:21:00 +02:00
Laurent Destailleur
990216b13f NEW Api parameters are sanitized by the WAF, same code than GET/POST 2024-04-02 13:07:13 +02:00
Laurent Destailleur
11c1077557 Merge pull request #29167 from JonBendtsen/propal_update_single_array_option_element
allow updating a single Complementary Attribute
2024-04-02 11:52:01 +02:00
Laurent Destailleur
3024e72ee9 Merge pull request #29190 from mdeweerd/typing/actioncomm
Qual: actioncom - phpdoc typing, activate deprecationhandler for libelle
2024-04-02 11:22:22 +02:00
MDW
71f3637a8b Qual: actioncom - phpdoc typing, activate deprecationhandler for libelle
# Qual: actioncom - phpdoc typing, activate deprecationhandler for libelle

Fix several phan notices, activation deprecationhandler for libelle
2024-04-02 02:34:02 +02:00
Laurent Destailleur
e3037794aa Look and feel v20 2024-04-01 15:04:20 +02:00
Jon Bendtsen
4cdc8f643a will allow updating a single Complementary Attribute without specifying all of them that we don't want to change. Similar to # 29115 but just for proposals 2024-04-01 09:54:18 +02:00
MDW
04c3e80fc5 Fix typing 2024-03-29 18:26:48 +01:00
Laurent Destailleur
233629ed3a Merge branch 'develop' into phpstan_user 2024-03-29 12:20:23 +01:00
Laurent Destailleur
5a6791aa5a Clean code 2024-03-29 11:43:26 +01:00
Laurent Destailleur
0fbaf8b118 Fix example 2024-03-29 11:25:33 +01:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00
Frédéric France
7a7b1953ed fix phpstan 2024-03-28 20:34:33 +01:00
Frédéric France
a3df8248a7 Merge remote-tracking branch 'upstream/develop' into phpstan_user 2024-03-28 20:26:57 +01:00
Frédéric France
5b1af95864 fix phpstan 2024-03-28 20:16:32 +01:00
Laurent Destailleur
3e8c3edd6d Clean code from _GET 2024-03-28 17:10:22 +01:00
Laurent Destailleur
787b1a1c83 Merge branch 'develop' into fix/filebyfile 2024-03-28 14:23:54 +01:00
Laurent Destailleur
a7e33e6573 Merge pull request #29047 from mdeweerd/fix/PhanPluginUnknownObjectMethodCall1
Fixes for PhanPluginUnknownObjectMethodCall
2024-03-28 14:20:57 +01:00
Laurent Destailleur
7535a884ac Merge pull request #29069 from mdeweerd/fix/price
Fix arguments to price()
2024-03-28 13:07:25 +01:00
Laurent Destailleur
415e99606d Merge pull request #29091 from mdeweerd/fix/facturefournisseur/card
Fix card FactureFournisseur
2024-03-28 12:55:24 +01:00
Laurent Destailleur
6fa8a02c4b Fix server shown in emailing 2024-03-27 19:44:59 +01:00
MDW
975243f1b5 Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
# Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible

Assign socid whenever fk_soc is assigned so that socid can be accessed
instead of fk_soc.
2024-03-27 18:07:51 +01:00
MDW
7afeeb120d Fix arguments to price() 2024-03-27 10:21:22 +01:00
MDW
30f1701c6f Improve typings, adapt 2024-03-27 10:18:31 +01:00
MDW
3d88f94dbe Force typing (phan) for typing checks 2024-03-27 10:18:04 +01:00
Laurent Destailleur
69bd6c6deb Fix look and feelv20 2024-03-24 23:05:40 +01:00
MDW
5c5ad3260c Fix PhanNonClassMethodCall with extra test 2024-03-24 15:40:21 +01:00
MDW
daf2d36bcd PHPdoc typing 2024-03-24 11:03:05 +01:00
MDW
04b3ed0c7e Fix extrafeild typo 2024-03-24 11:03:03 +01:00
Laurent Destailleur
5541560e1c Fix phan warnings 2024-03-24 05:44:55 +01:00
Laurent Destailleur
a5fec9f06f Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 20:44:54 +01:00
Laurent Destailleur
7b4aa959ae Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-23 20:39:22 +01:00
Laurent Destailleur
193144c489 Merge pull request #29023 from Easya-Solutions/fix-event-create-date-end-btn-now
FIX now button when editing an event
2024-03-23 18:44:03 +01:00
MDW
eb3ee3db44 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:22 +01:00
MDW
c4fe7773cb Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:21 +01:00
MDW
6b0e99be28 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:20 +01:00
MDW
1fee38e1d0 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:19 +01:00
Can Arslan
4d6bd2a8e0 FIX: PHP Warning: Undefined properties 2024-03-22 14:17:39 -06:00
VESSILLER
828cf2cbce NEW now button when editing an event 2024-03-22 14:20:03 +01:00
MDW
6eeab82dd4 Fix typing with casts 2024-03-22 09:51:46 +01:00
MDW
a6f69d3304 Fix PhanTypeInvalidLeftOperandOfAdd with casts 2024-03-22 09:51:41 +01:00
brad
5d02743f21 Merge branch 'fix-add-state-province-filter-field' of github.com:bradley-jarvis/dolibarr into fix-add-state-province-filter-field 2024-03-22 15:37:57 +11:00
brad
48ad0f87ce Merge branch 'fix-add-state-province-filter-field' of github.com:bradley-jarvis/dolibarr into fix-add-state-province-filter-field 2024-03-22 15:23:22 +11:00
brad
d351005cb1 FIX Add state/province filter to email adv select 2024-03-22 15:19:18 +11:00
brad
1fa7013313 FIX Add state/province filter to email adv select 2024-03-22 15:11:52 +11:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
MDW
e44e29c446 Fix $mybool |=... which is binary op, not boolean op
# Fix $mybool |=... which is binary op, not boolean op

This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:03 +01:00
Laurent Destailleur
60c626dbe4 Merge branch 'develop' into fix/PhanTypePossiblyInvalidDimOffset 2024-03-21 12:53:59 +01:00
MDW
aeefca7e7e Fix $arrayfields typing lost by dol_sort_array() by forcing the type 2024-03-20 23:29:48 +01:00