Commit graph

151292 commits

Author SHA1 Message Date
Laurent Destailleur
340458af11 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-25 12:09:42 +01:00
Laurent Destailleur
4f540ae677 Fix label for date of end of membership 2024-03-25 12:09:19 +01:00
Laurent Destailleur
b876c16a9a
Merge pull request #29048 from mdeweerd/fix/filebyfile
Fix Phan notices on a file by file basis
2024-03-25 10:38:50 +01:00
MDW
b4443fd97e
Initialise variables, use $db->num_rows() 2024-03-25 02:31:52 +01:00
MDW
d83ff2e22a
Fix PhanTypeMismatchArgumentNullableInternal with forced typing 2024-03-25 02:23:19 +01:00
MDW
43d94f10b6
Fix uninitialised variables, type array argument 2024-03-25 02:19:36 +01:00
MDW
639ac1b740
Fix PHPdoc & event paramter for select_account 2024-03-25 02:19:35 +01:00
MDW
b8dce2166f
Match select_account argument type for events 2024-03-25 02:19:34 +01:00
MDW
71c9fc6fb4
Fix phpdoc for array parameter 2024-03-25 02:19:33 +01:00
MDW
3319f54424
Fix phpdoc for array parameter 2024-03-25 02:19:32 +01:00
Laurent Destailleur
8e93ac85e1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-25 01:12:25 +01:00
Laurent Destailleur
ca2056d219 Fix look and feel v19 2024-03-25 01:08:33 +01:00
Laurent Destailleur
faeee834ff Fix css 2024-03-25 00:11:18 +01:00
Laurent Destailleur
8341476b49 Look and feel v20 2024-03-24 23:08:23 +01:00
Laurent Destailleur
69bd6c6deb Fix look and feelv20 2024-03-24 23:05:40 +01:00
Laurent Destailleur
d271f8b47a Doc 2024-03-24 22:40:44 +01:00
Laurent Destailleur
5827ee5a2b Fix warnings 2024-03-24 22:19:03 +01:00
Laurent Destailleur
7aed9cf0e1 Look and feel v20 2024-03-24 22:15:39 +01:00
Laurent Destailleur
975d57b141 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-24 22:08:52 +01:00
Laurent Destailleur
43d2c13a59 Debug v20 2024-03-24 22:05:52 +01:00
MDW
d60a630d35
Fix: note<->note_private aliasing is handled by DeprecationHandler
# Fix: note<->note_private aliasing is handled by DeprecationHandler

The extra copy is useless, the aliasing for the deprecated property is already handled
2024-03-24 17:39:06 +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
d00eb55e89 Clean code 2024-03-24 17:01:07 +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
8bcfefe42f
Update config_fixer.php 2024-03-24 16:39:25 +01:00
Laurent Destailleur
414c51d631
Update config_extended.php 2024-03-24 16:38:51 +01:00
Laurent Destailleur
d78bafe602
Update config_extended.php 2024-03-24 16:38:21 +01:00
Laurent Destailleur
c43bb3d52c
Update config.php 2024-03-24 16:37:21 +01:00
Laurent Destailleur
f598bcbd54 Look and feel v20 2024-03-24 16:36:08 +01:00
Laurent Destailleur
d756c8c3d3 Fix unexpected quote 2024-03-24 16:13:19 +01:00
Laurent Destailleur
83823597d2
Merge pull request #28767 from grandoc/new_branch_11_03_2024
update code and better compliance with php 8
2024-03-24 16:09:18 +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
9c953353c2
Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 15:40:33 +01:00
MDW
0a925dd0a9
Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 15:40:32 +01:00
MDW
71818bd4f4
Extra test to fix PhanTypeInvalidPropertyName 2024-03-24 15:40:31 +01:00
MDW
6ff0688d7e
Force typing on var 2024-03-24 15:40:30 +01:00
MDW
bbc086ce26
Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:29 +01:00
MDW
c86c5f694a
Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:28 +01:00
MDW
b749c37cfc
Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:27 +01:00
MDW
1986888333
Update PHPdoc for User::$users 2024-03-24 15:40:26 +01:00
MDW
969b078351
Add PHPdoc typing 2024-03-24 15:40:25 +01:00
MDW
a1ae115757
Set cache_codes global type 2024-03-24 15:40:25 +01:00
MDW
949ccf312a
Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:24 +01:00