MDW
ddf5156071
Fix arguments to dol_print_error
2024-03-27 10:23:41 +01:00
MDW
a99853efd3
Fix arguments to dol_print_error
2024-03-27 10:23:40 +01:00
MDW
3ea9ca350c
Fix arguments to dol_get_fiche_head
2024-03-27 10:22:52 +01:00
MDW
37958e8b1f
Fix arguments to price()
2024-03-27 10:21:25 +01:00
MDW
25faef6da8
Improve typing for arg $showempty
2024-03-27 10:18:43 +01:00
MDW
767eeb605d
Style (phpcbf not agreeing with php-cs-fixer)
2024-03-27 10:18:32 +01:00
MDW
d17c010e59
Improve PHPdoc typings
2024-03-27 10:18:32 +01:00
MDW
41644c03f1
Accept null for formquestion in formconfirm()
2024-03-27 10:18:23 +01:00
MDW
3b80d100ff
Cast return from DolEditor::Create(1) for static analysis
2024-03-27 10:18:22 +01:00
MDW
ba702cf25f
PHPdoc for $css, $theme, $modules, $module_parts, $cache
2024-03-27 10:18:19 +01:00
Laurent Destailleur
67a51988ce
Fix log
2024-03-26 18:48:26 +01:00
Laurent Destailleur
6b72371163
Fix warning
2024-03-26 18:46:28 +01:00
Laurent Destailleur
37c311e05a
Fix warning
2024-03-26 18:31:59 +01:00
Laurent Destailleur
92312ce4c2
Allow UFS syntax into load_previous_next_ref()
2024-03-25 20:11:24 +01:00
MDW
639ac1b740
Fix PHPdoc & event paramter for select_account
2024-03-25 02:19:35 +01:00
MDW
925e1db907
New: Apply DolDeprecatedHandler to Conf
...
# New: Apply DolDeprecatedHandler to Conf
Improve detection of deprecated values, avoid duplicating assignments,
alias deprecated property names to new properties.
2024-03-24 17:39:05 +01:00
MDW
8f3b245dbd
New: Use DolDeprecationHandler in CommonObject
...
# New: Use DolDeprecationHandler in CommonObject
Use deprecation handler for more efficient deprecations
2024-03-24 17:39:04 +01:00
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
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
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
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
66c01b8e85
Merge branch 'develop' into addLayoutForWebsite
2024-03-24 02:28:07 +01:00
Laurent Destailleur
6a0678e717
Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp
2024-03-23 17:36:29 +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
886b4c8cc1
Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
2024-03-23 02:06:39 +01:00
MDW
d9d09ce7e9
Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
2024-03-23 02:06:38 +01:00
MDW
f5e2444a2c
Add typing for cols, phpmin
2024-03-23 01:49:52 +01:00
Laurent Destailleur
84b7eaa65f
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-22 18:15:37 +01:00
Laurent Destailleur
0bf2f3b70d
Fix warning
2024-03-22 18:15:24 +01:00
MDW
7a42dab6d2
Fix PHPdoc typing
2024-03-22 09:52:37 +01:00
MDW
4d56da4e8c
Fix typing with casts
2024-03-22 09:51:52 +01:00
MDW
4b438b4204
Fix typing with idate
2024-03-22 09:51:51 +01:00
MDW
91a7f3b721
Fix typing with casting and idate
2024-03-22 09:51:50 +01:00
Laurent Destailleur
51a3641105
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/bom/tpl/objectline_create.tpl.php
htdocs/compta/bank/releve.php
htdocs/core/class/html.formsetup.class.php
htdocs/takepos/freezone.php
2024-03-22 02:35:37 +01:00
Laurent Destailleur
b658bde88a
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
...
Conflicts:
htdocs/core/class/html.formsetup.class.php
htdocs/takepos/index.php
2024-03-22 02:11:58 +01:00
Laurent Destailleur
7b0177a84d
Move to getDolGlobalString
2024-03-22 00:37:56 +01:00
Lamrani Abdel
880b5f2623
remove var_dump
2024-03-21 17:46:12 +01:00
Lamrani Abdel
f96f4fd3e9
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into addLayoutForWebsite
2024-03-21 17:36:17 +01:00
Lamrani Abdel
469735c74c
remove var_dump
2024-03-21 17:35:31 +01:00
MDW
2ec5504dcb
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:12 +01:00
Regis Houssin
5ffdc44952
FIX missing entity parameter for ajax_constantonoff
2024-03-21 13:35:51 +01:00
Lamrani Abdel
b5903da492
NEW preview exemple page in website when create page
2024-03-21 03:47:16 +01:00
MDW
53c628f219
Cast DolEditor::Create to string to avoid mistyping as void
2024-03-20 23:54:33 +01:00
MDW
44ef0de1ef
Fix null return by initialising return value, forcing type
2024-03-20 23:54:31 +01:00