2
0
forked from Wavyzz/dolibarr
Commit Graph

8934 Commits

Author SHA1 Message Date
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
MDW
0a1a663e34 Fix PhanTypeMismatchReturnNullable with initialisation 2024-03-20 21:58:35 +01:00
MDW
3a27977b46 Fix PhanTypeMismatchReturnNullable with typing test 2024-03-20 21:58:34 +01:00
MDW
69b64d30f5 Fix arg type to urlencode with cast 2024-03-20 04:10:07 +01:00
Laurent Destailleur
43d1d33e0d Update propal.class.php 2024-03-20 04:08:43 +01:00
MDW
1303b0fe76 Fix arg to preg_replace() with cast, fix PHPdoc, Add FIXME
The handling of special_code seems suspicious -> FIXME
2024-03-20 04:08:28 +01:00
MDW
d78a1838c2 Fix arg type to str_replace() by cast 2024-03-20 04:08:27 +01:00
Laurent Destailleur
96bca35d43 Merge pull request #28972 from mdeweerd/fix/PhanTypeMismatchInternal4
Fix PhanTypeMismatchInternal notifications (part 4)
2024-03-20 01:00:45 +01:00
Laurent Destailleur
2b93caa7e7 Debug v20 2024-03-20 00:47:24 +01:00
Laurent Destailleur
71c833b3a2 FIX Title of event no visible on calendar 2024-03-20 00:40:58 +01:00
Laurent Destailleur
dad22a455b NEW Show error on ical parse 2024-03-20 00:38:10 +01:00
Laurent Destailleur
999c90642a Fix import of ical file 2024-03-20 00:05:24 +01:00
Laurent Destailleur
f756b5e872 Fix bad logic in date conversion 2024-03-19 23:30:27 +01:00
MDW
c5479f4520 Fix: Update typing for qty as float 2024-03-19 20:37:38 +01:00
Laurent Destailleur
fb2feb705a Merge pull request #27081 from altairisfr/htmlnotes
FIX : correct display of html notes in lists
2024-03-19 17:01:19 +01:00
Christophe Battarel
feaa2e5ba3 fix conflict 2024-03-19 10:55:59 +01:00
MDW
9958fde08a Fix type of argument for usleep 2024-03-19 02:59:00 +01:00
MDW
1933349eb0 Fix type of argument for str_pad 2024-03-19 02:58:59 +01:00
MDW
2c034e6aac Fix types of arguments for round and str_pad 2024-03-19 02:58:58 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
MDW
884cc5bd55 Fix: Initilialise $out to fix PhanUndeclaredVariableAssignOp 2024-03-18 12:18:06 +01:00
MDW
2a534539cb Fix json_decode requires bool for arg2 fixes PhanTypeMismatchArgumentInternal 2024-03-18 04:03:48 +01:00
Laurent Destailleur
ad99b89856 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 21:25:46 +01:00
Laurent Destailleur
9627894d8d More default values for colors 2024-03-17 21:07:21 +01:00
MDW
aa5aa2bf26 Add one more index to the theme_datacolor 2024-03-17 19:49:10 +01:00
MDW
a848a06b76 Force typing for /global did not help 2024-03-17 18:56:51 +01:00
Laurent Destailleur
de58435ef1 FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00