MDW
56dc321665
Qual: Fix phan notices (in order of appearance) ( #31768 )
...
* Qual: Fix phan notices (in order of appearance)
* Qual: Fix phan notices (in order of appearance)/2
2024-11-12 00:35:14 +01:00
MDW
9ec4618199
Qual: Fix FunctionArray phan notices ( #31754 )
...
* Qual: Fix FunctionArray phan notices
* Fix class name in typing of htdocs/modulebuilder/index.php
* Fix customreports phpdoc
* Adjust file type after completeFileArrayWithDatabaseInfo
* Further phpdoc typing improvements
* More phpdoc
* Improve typing with cast on position field
* Force phpstan version
* Add phpstan exception
* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Frédéric FRANCE
661059ca9a
fix phpstan ( #31763 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-11 14:33:53 +01:00
MDW
278d301f32
Qual: Fix phan/phpstan notices in class files (part 6) ( #31634 )
...
* Qual: Fix notices for paymentdonation...workstationusergroup.class
* Qual: Fix PhanPluginRedundantReturnComment, update baseline
* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +01:00
Laurent Destailleur
4bdd848bbe
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-11-06 13:26:08 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan ( #31632 )
...
* add baseline exclude for phpstan
* update
* update
* update
* update
* update
* merge
* restore one filter
* delete old errors
* fix
* fix
* fix
* $moreforfilter can t be empty
* fix
* enable check
* refresh baseline
* add phpdoc
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* update phpstan baseline
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-04 23:53:20 +01:00
Laurent Destailleur
7538c1ea2d
Add fk_task in actioncomm
2024-10-31 19:48:54 +01:00
Laurent Destailleur
870a78a0e8
FIX bad test on permission makes agenda event creation on object not
...
linked to object.
2024-10-31 19:40:11 +01:00
EnjoyFelix
9d67bc3428
Check if the society module is enabled before limiting the result in the agenda ( #31654 )
...
Co-authored-by: Elisée Chemin <elisee.chemin@tetras-libre.fr >
2024-10-31 18:43:18 +01:00
MDW
f4ff437026
Qual: Fix phan/phpstan notices in class files (part 4) ( #31598 )
...
* Qual: Fix phan notices for DolibarrModules.class
* Qual: Fix notices for classes actioncomm..task.class.php
* fixup! Qual: Fix notices for classes actioncomm..task.class.php
* Qual: Fix new notices blocking PR
2024-10-30 21:33:30 +01:00
Laurent Destailleur
cb0ab53709
Look and feel v21
2024-10-27 14:08:59 +01:00
Laurent Destailleur
e149f8ba6c
Debug v21
2024-10-27 02:40:58 +01:00
Frédéric FRANCE
0f563edb5f
replace fetch_projet() and fetch_project() by fetchProject() ( #29821 )
...
* fix cti
* fix cti
* deprecate fetch_projet fetch_project to fetchProject
* deprecate fetch_projet fetch_project to fetchProject
* deprecate fetch_projet fetch_project to fetchProject
* odfHandler->setSegment only throw OdfExceptionSegmentNotFound
* odfHandler->setSegment only throw OdfExceptionSegmentNotFound
* fix deprecated
* fix
* fix sql
2024-10-26 22:43:44 +02:00
MDW
0ac595364b
Qual: Fix phan/phpstan notices in class files (part 1) ( #31501 )
...
* Ignore phpstan configuration for spelling
* Qual: Fix phan notices in class files
2024-10-25 21:00:02 +02:00
Laurent Destailleur
ff4344d5c8
Clean code
2024-10-24 01:12:58 +02:00
Laurent Destailleur
622a296d0e
Look adn feel v21
2024-10-17 22:20:39 +02:00
Laurent Destailleur
3ef895d8c4
Debug v21
2024-10-17 03:57:13 +02:00
UltraViolet33
e8f1c47424
NEW: default configuration for event reminder ( #31407 )
...
* NEW: default configuration for event reminder
Set default reminder period + default email template for specific event types in agenda configuration.
Auto fill the notification event form on event creation when event type is in the event types set to use default reminder
* fix for ci
* fix offset value
---------
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-10-17 03:13:44 +02:00
Laurent Destailleur
046166f483
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-14 21:38:12 +02:00
Laurent Destailleur
916014707d
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-10-14 21:18:24 +02:00
Laurent Destailleur
b099e103b3
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-10-14 21:00:26 +02:00
Laurent Destailleur
d819d88718
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-10-14 20:18:46 +02:00
Laurent Destailleur
278eea6fae
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-10-14 20:18:22 +02:00
Laurent Destailleur
fa22ebd893
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2024-10-14 19:31:08 +02:00
Laurent Destailleur
793e77bc5f
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2024-10-14 19:21:00 +02:00
thomas-Ngr
70a453a5c2
FIX: substitutions THIRDPARTY_XXX are not available for actioncomm reminders ( #31385 )
2024-10-14 11:57:55 +02:00
MDW
0c26110636
Qual: Fix notices related to user classes ( #31291 )
...
# Qual: Fix notices related to user classes
This fixes several notices related to user classes (and reveals
some actual bugs or inconsistent typing).
2024-10-06 13:52:05 +02:00
Laurent Destailleur
9d79175638
Clean code
2024-10-04 19:25:02 +02:00
Laurent Destailleur
ab5575e0c2
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-04 18:51:00 +02:00
Laurent Destailleur
fe6a50ef11
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-10-04 18:46:27 +02:00
HENRY Florian
934d291194
fix: action/card.php do not display priority field if hidden conf not activated ( #31277 )
2024-10-04 18:45:54 +02:00
Laurent Destailleur
805555a059
Fix autoset end date on event creation
2024-10-01 12:55:12 +02:00
Laurent Destailleur
08a670a32c
Fix filter on type of event
2024-10-01 12:37:03 +02:00
Laurent Destailleur
072b3e7022
Fix empty value on combo to select types
2024-10-01 12:29:59 +02:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-29 21:52:31 +02:00
Frédéric FRANCE
340bd12ee7
add php doc ( #31173 )
...
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
2024-09-28 11:15:38 +02:00
Mohamed DAOUD
797957dfd3
work on date edit event ( #31112 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-26 22:46:50 +02:00
UltraViolet33
b2aafb37f3
Fix agenda event type label instead of event type code on actionComm card ( #31106 )
...
* Fix display agenda event type label instead of event type code when event type code has no translation
In a ActionComm card, if we use agenda event types, the type of event displayed is the event code if this event code has no translation.
Now, if there is no translation, the label of the event type is displayed instead of the code.
* fix for PHPStan
* fix for PHPStan
* fix for PHPStan
* fix for PHPStan
---------
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-26 17:47:49 +02:00
Frédéric FRANCE
a94cff63a7
fix phpstan ( #31102 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-25 22:21:31 +02:00
Frédéric FRANCE
000173c7b9
fix phpstan ( #31075 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-23 01:59:14 +02:00
MaximilienR-easya
7308b03b1d
autofill datef to now when we create an event with a status set to 100% ( #31036 )
2024-09-20 00:28:35 +02:00
MDW
099dbd9c1e
Qual: Fix notices for htdocs/admin/* ( #30982 )
...
* Fix (Possibly)UndeclaredGlobalVariable
* Update phan baseline
* Fix (Possibly)UndeclaredGlobalVariable (2)
* Qual: Fix notices for htdocs/admin/*
# Qual: Fix notices for htdocs/admin/*
Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
2024-09-18 03:27:25 +02:00
Laurent Destailleur
26ba862540
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-14 02:45:04 +02:00
Laurent Destailleur
da5d4f0f67
Debug v20
2024-09-13 15:58:26 +02:00
MDW
f89245b354
Qual: Fix some CommonIncoterm/DocGenerator/People typings ( #30940 )
...
* Fix extraparams property typing
* Fix argument typing
* Fix 'status' argument type in calls to dolGetButtonTitle
* Fix argument2 for price to 1 (was 2)
* Fix deliveryreceipt argument
* Fix PHPDoc dol_sort_array
* Fix range for int argument
* Fix arg type for str_pad and add some PHPDoc
* Fix natsort value for dol_sort_array
* Fix arguments on calls to dol_sort_array
* Reduce phpstan exceptions
* Qual: Add type hints for Stripe objects
# Qual: Add type hints for Stripe objects
Suggest the more specific implementation of the StripObject.
* Typing, initialisation
* Qual: Fix undeclared variables
* Update phan baseline
* Update baseline
* Qual: Add type hints for Stripe objects
# Qual: Add type hints for Stripe objects
Suggest the more specific implementation of the StripObject.
* Add PHPDoc for host class properties
* Ignore false positive (phan) for deprecated property
* Improve typing
* Update baseline
2024-09-13 03:09:23 +02:00
Laurent Destailleur
7a52dd8547
Debug v20 Fix token
2024-09-06 16:33:28 +02:00
Laurent Destailleur
045f99192b
Debug v20 Fix token
2024-09-06 16:31:48 +02:00
Laurent Destailleur
43f42d08ad
Fix warning
2024-09-06 14:01:55 +02:00
Laurent Destailleur
40f0173678
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-09-05 22:44:57 +02:00
Frédéric FRANCE
80d1f47d4d
fix ignored phpstan (most of expects string, int given) ( #30649 )
...
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* fix ignored phpstan
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* more ignore
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-09-05 16:05:37 +02:00