MDW
bf6cd79494
Improve typing for member_prepare_head() return value
2024-03-27 10:22:51 +01:00
MDW
37958e8b1f
Fix arguments to price()
2024-03-27 10:21:25 +01:00
MDW
f41d21407f
Fix typing for $links arg in dol_fiche_head()
2024-03-27 10:18:45 +01:00
MDW
ceeaf8b534
Be less restrictive on links index (for phpstan)
2024-03-27 10:18:44 +01:00
MDW
25faef6da8
Improve typing for arg $showempty
2024-03-27 10:18:43 +01:00
MDW
a30bf48e16
Improve phpdoc typing
2024-03-27 10:18:40 +01:00
MDW
d765e847a7
Allow empty array for dol_print_date() return
2024-03-27 10:18:38 +01:00
MDW
006a8c34e6
Adjust to real typings
2024-03-27 10:18:36 +01:00
MDW
1ee639bb81
Adjust to real typings
2024-03-27 10:18:35 +01:00
MDW
e2b0295308
Adjust to real typings
2024-03-27 10:18:34 +01:00
MDW
37515f1154
Adjust to real typings
2024-03-27 10:18:33 +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
61bc1986f3
Adjust sprintf to real type
2024-03-27 10:18:23 +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
cfe66e2f60
Improve typing, init var, suppress notification
2024-03-27 10:18:21 +01:00
MDW
7c660d3392
PHPdoc improvement: dol_print_error_email, price
2024-03-27 10:18:20 +01:00
MDW
ba702cf25f
PHPdoc for $css, $theme, $modules, $module_parts, $cache
2024-03-27 10:18:19 +01:00
MDW
974ecf82fe
Fix get_class on potential null
2024-03-27 10:18:18 +01:00
MDW
c76baf1e10
Fix typing, inits, ignore some phan's, fix caching reuse
2024-03-27 10:18:16 +01:00
MDW
9a65d5fabc
Force LANGFILE constant in subclass
2024-03-27 10:18:13 +01:00
MDW
28521f7dcd
Adjust write_file signature
2024-03-27 10:18:12 +01:00
MDW
8c2b046ca0
Suppress PhanUndeclaredMethod notification
2024-03-27 10:18:10 +01:00
MDW
23e302082d
Force typing (phan) for typing checks
2024-03-27 10:18:08 +01:00
MDW
92bdf2308c
Add abstract method for improved typing check
2024-03-27 10:17:30 +01:00
MDW
2cbd57654a
Improve PHPdoc for getEntity/setEntity
2024-03-27 10:17:26 +01:00
Regis Houssin
2ae4f94eed
FIX inventoryDeletePermission id define twice
2024-03-27 02:24:57 +01:00
Regis Houssin
f16b08fbdb
FIX peut pas faire mieux !
2024-03-27 01:21:15 +01:00
Regis Houssin
d8e102a24c
FIX wrong stock permission number
2024-03-27 01:15:03 +01:00
Regis Houssin
0da7288546
FIX try to fix phan error
2024-03-26 22:47:57 +01:00
Regis Houssin
08aed338c1
FIX phan phan la tulip
2024-03-26 22:35:21 +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
caf6367a4e
NEW Add the process and user ID into log
2024-03-26 14:14:11 +01:00
Laurent Destailleur
4efa503400
NEW Accept the __NOW__ and __USER_ID__key into filters
2024-03-25 23:53:28 +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
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