MDW
be23366e51
Fix: Check that certain properties exists before trying isset.
...
# Fix: Check that certain properties exists before trying isset.
Avoids triggering an undefined property notice from the DolDeprecationHandler
2024-03-24 17:39:03 +01:00
MDW
a6d4a99cca
NEW: DolDeprecationHandler for deprecations
...
# NEW: DolDeprecationHandler for deprecations
This reusable class avoids needed to implement double assignments while enabling
the detection of the use of deprecated variables and methods.
There is no efficiency overhead when the proper variables and methods are
used.
2024-03-24 17:39:02 +01:00
Laurent Destailleur
bd94ef3c80
Merge pull request #29040 from mdeweerd/fix/PhanNonClassMethodCall
...
Fix & Enable PhanNonClassMethodCall
2024-03-24 16:56:35 +01:00
Laurent Destailleur
d756c8c3d3
Fix unexpected quote
2024-03-24 16:13:19 +01:00
Laurent Destailleur
14278a3e8c
Update pdf_strato.modules.php
2024-03-24 16:08:58 +01:00
Laurent Destailleur
727b8c3a0d
Update pdf_strato.modules.php
2024-03-24 16:07:47 +01:00
Laurent Destailleur
d63e241050
Update pdf_strato.modules.php
2024-03-24 16:06:51 +01:00
Laurent Destailleur
247ab6d4f8
Merge branch 'develop' into new_branch_11_03_2024
2024-03-24 16:03:33 +01:00
Laurent Destailleur
3bbbf8ac38
Clean code
2024-03-24 16:03:00 +01:00
MDW
b749c37cfc
Force type to fix PhanNonClassMethodCall
2024-03-24 15:40:27 +01:00
MDW
969b078351
Add PHPdoc typing
2024-03-24 15:40:25 +01:00
MDW
949ccf312a
Force type to fix PhanNonClassMethodCall
2024-03-24 15:40:24 +01:00
MDW
8609985a28
PHPdoc typing for several arrays
2024-03-24 15:40:18 +01:00
Laurent Destailleur
841427601f
Merge pull request #29037 from mdeweerd/fix/PhanTypeInvalidPropertyName
...
Fix & Enable PhanTypeInvalidPropertyName
2024-03-24 14:56:42 +01:00
Laurent Destailleur
2fc1e4ba60
Merge pull request #29044 from mdeweerd/fix/phan20240324
...
Fix Phan notices
2024-03-24 14:56:17 +01:00
Laurent Destailleur
35e353cf0a
Clean global variable non required
2024-03-24 14:54:36 +01:00
Laurent Destailleur
ed7a87eea1
Clean code: Use the conf->cache to store cache data
2024-03-24 14:42:57 +01:00
Laurent Destailleur
1cc126b3e8
Merge branch 'develop' into fix/PhanTypeInvalidPropertyName
2024-03-24 14:36:05 +01:00
MDW
baaa7c721e
Fix PHPdoc typing ($cols, $phpmin)
2024-03-24 14:19:09 +01:00
Laurent Destailleur
e423ca625b
Doc
2024-03-24 14:12:55 +01:00
Laurent Destailleur
f5fc0beba0
Doc
2024-03-24 14:11:39 +01:00
MDW
8b960280d9
PHPdoc Allow empty array for + PHPdoc improvements
2024-03-24 14:09:32 +01:00
MDW
43addc08cb
Add PHPdoc typing
2024-03-24 11:03:04 +01:00
Laurent Destailleur
a17cb8aa42
Fix var_dump
2024-03-24 07:01:24 +01:00
Laurent Destailleur
57c75a7dec
Fix bad object name
2024-03-24 06:56:50 +01:00
Laurent Destailleur
946de96912
Fix for phan #29037
2024-03-24 06:42:29 +01:00
Laurent Destailleur
686463a292
Fix phan warning
2024-03-24 06:37:09 +01:00
Laurent Destailleur
072c3070b3
Add phpunit for Expedition
2024-03-24 06:23:56 +01:00
Laurent Destailleur
59c87c7cb6
Clean usage of ->origin_object instead of ->origin that was a string.
2024-03-24 06:12:18 +01:00
Laurent Destailleur
150845cd02
Debug v20
2024-03-24 05:23:06 +01:00
Laurent Destailleur
d1c9475089
Better management of MD file with style HTML tags
2024-03-24 03:23:07 +01:00
Laurent Destailleur
66c01b8e85
Merge branch 'develop' into addLayoutForWebsite
2024-03-24 02:28:07 +01:00
Laurent Destailleur
6c83239f16
Merge pull request #29034 from mdeweerd/PhanTypeInvalidRightOperandOfNumericOp
...
Fix & enable PhanTypeInvalidRightOperandOfNumericOp
2024-03-24 02:07:59 +01:00
Laurent Destailleur
6d8f946979
Debug v20
2024-03-24 02:03:34 +01:00
Laurent Destailleur
d9488770ae
GETPOST(..., 'alpha') does not accept \ char anymore. Replaced with /
2024-03-24 01:45:31 +01:00
Laurent Destailleur
8a471b06f0
Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp
2024-03-24 00:38:59 +01:00
Laurent Destailleur
fbc1890dfc
Remove deprecate. Seems not possible to depreciate a new function
...
without adding comment on each call.
2024-03-24 00:38:08 +01:00
Laurent Destailleur
a5fec9f06f
Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp
2024-03-23 20:44:54 +01:00
Laurent Destailleur
5eb8379846
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-23 19:40:25 +01:00
Laurent Destailleur
19fbfb9444
Merge pull request #29013 from frederic34/box_member_phpstan
...
clean code for phpstan
2024-03-23 19:36:27 +01:00
Laurent Destailleur
ce274c403e
Depreciate a method usage
2024-03-23 19:06:54 +01:00
Laurent Destailleur
f050f7925e
Merge pull request #29018 from bradley-jarvis/fix-add-state-province-filter-field
...
NEW add state province filter field
2024-03-23 17:39:06 +01:00
Laurent Destailleur
5c31471053
Merge pull request #29020 from frederic34/last_main_doc
...
fetch last_main_doc in invoice supplier
2024-03-23 17:37:38 +01:00
Laurent Destailleur
6a0678e717
Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp
2024-03-23 17:36:29 +01:00
Laurent Destailleur
d297dfe60e
Fix warning
2024-03-23 17:32:09 +01:00
Laurent Destailleur
17131bb620
Merge pull request #29036 from mdeweerd/fix/double_dollar_conf
...
Fix double $conf->global->$conf into $conf->global->...
2024-03-23 17:22:46 +01:00
Laurent Destailleur
8906df343a
NEW Add option THIRDPARTY_MIN_NB_PROF_ID and THIRDPARTY_MAX_NB_PROF_ID
2024-03-23 16:01:41 +01:00
MDW
3d130e3bd5
Fix double $conf->global->$conf into $conf->global->...
...
# Fix double $conf->global->$conf into $conf->global->...
Found with PhanTypeInvalidPropertyName - may be appropriate for backport
2024-03-23 15:17:12 +01:00
Laurent Destailleur
06bbdf2a67
Debug v20
2024-03-23 12:25:28 +01:00
MDW
35d2dd5611
Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
2024-03-23 02:06:47 +01:00