MDW
2e30ae50ac
Qual: fix phpstan notices after fixing phan notices
2025-02-05 01:43:49 +01:00
Laurent Destailleur
adae4f0fb3
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-01-27 01:37:52 +01:00
Laurent Destailleur
940e42c1e4
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-01-27 01:30:34 +01:00
Frédéric FRANCE
0ca2921950
fix doc
2025-01-22 09:14:43 +01:00
Laurent Destailleur
a4f2e16b76
Merge pull request #32627 from vmaury/Fix_31370_pb_ext_account
...
Fix 31370 Pb with external account
2025-01-20 15:20:39 +01:00
Laurent Destailleur
67521e9c4f
Clean code
2025-01-20 03:54:04 +01:00
Laurent Destailleur (aka Eldy)
f6f38aebb4
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-01-15 13:02:21 +01:00
Laurent Destailleur (aka Eldy)
cf62921762
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-01-15 13:01:03 +01:00
Laurent Destailleur (aka Eldy)
c58016c2cf
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-01-15 12:46:26 +01:00
vmaury
cf0c04c6ee
Fix 31370 Pb with external account
2025-01-13 11:58:16 +01:00
sonikf
56efa67432
Update box_graph_product_distribution.php
2025-01-12 03:31:01 +02:00
Frédéric France
86e1625793
fix phpstan
2025-01-06 18:27:30 +01:00
MDW
d48a2e907f
Qual: Fix phan notices (mostly in box files)
...
# Qual: Fix phan notices (mostly in box files)
Fix several phan notices reported in box files and a few extra cases.
2024-12-04 23:41:04 +01:00
Laurent Destailleur
5aab141714
Clean code
2024-11-16 18:48:08 +01:00
Frédéric FRANCE
e5320c2302
fix phpstan ( #31801 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
* add phpdoc
2024-11-13 21:21:15 +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
1857b22aed
Fix trans
2024-11-04 23:17:22 +01:00
Frédéric FRANCE
801a759975
fix phpstan ( #31543 )
...
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
* fix phpstan
2024-10-25 14:15:39 +02:00
Laurent Destailleur
ff8bef75cb
Trans
2024-10-15 00:56:51 +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
Regis Houssin
7b81cccc55
FIX uniformize and check delete contact action ( #31384 )
...
* FIX uniformize and check delete contact action
* FIX syntax error
* FIX missing private contact checking
* FIX missing show errors
* FIX missing "oldcopy" for trigger
* FIX missing private contact filter in selectcontact
2024-10-14 16:45:46 +02:00
lamrani abdelwadoud
39e021feba
NEW Share msg "not found" for widgets and add a button to add new record when none exists ( #31309 )
...
* New msg displayed on widghet
* update msg
* comment code on box_fediverse
* comment code on box_fediverse and delete code langs
* fix errors
* remove underscore before comparing files
* update boxes for get messages and buttons
* continue adding button for widgets
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-14 11:56:59 +02:00
MDW
67263522eb
Fix: code_compta aliased as code_compta_client ( #31349 )
...
* Fix: code_compta aliased as code_compta_client
# Fix: code_compta aliased as code_compta_client
Fix warning regarding non-existing field on sql result
* Handle code_compta with deprecationhandler
2024-10-13 16:52:48 +02:00
Laurent Destailleur
5ef619eae3
FIX look and feel v20
2024-10-07 12:02:37 +02:00
Laurent Destailleur
2737f713d9
Debug v21
2024-10-07 11:58:32 +02:00
Laurent Destailleur
79598795ca
Fix trans
2024-10-07 11:38:34 +02:00
Laurent Destailleur
df5cde2ec2
Look and feel v21
2024-09-30 14:02:39 +02:00
Laurent Destailleur
1754ee61d5
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-29 22:49:02 +02:00
Laurent Destailleur
9eed19578a
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-09-29 22:42:49 +02:00
Laurent Destailleur
399a752c78
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-09-29 22:42:13 +02:00
Laurent Destailleur
97eacefa6b
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-09-29 22:41:54 +02:00
Laurent Destailleur
f5fbbcfcb8
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-09-29 22:40:45 +02:00
Laurent Destailleur
2c67c8b6ff
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2024-09-29 22:32:01 +02:00
Laurent Destailleur
d0fb08adf4
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2024-09-29 22:31:42 +02:00
Florian Mortgat
385927fe06
FIX: box_actions.php still uses fk_user_done which no longer exists ( #31190 )
...
Co-authored-by: FlorianMortgat <5845502+FlorianMortgat@users.noreply.github.com>
2024-09-29 22:18:18 +02:00
Laurent Destailleur
f086d9ee3e
QUAL Standardize name of user cookies
2024-09-28 15:18:46 +02:00
MDW
0da4d51003
Qual: Fix multiple phan notifications ( #31151 )
...
* Qual: Fix notifications multiple files
# Qual: Fix notifications multiple files
Fixes to files with UnknownObject notices, fixing other
notices in these files as well
* Improve boxes typing
* Qual: Extend accepted types to reduce notices
* Fix type for GET/POST arguments of GETPOST* calls
2024-09-28 12:09:35 +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
Laurent Destailleur
a2edb28f5d
Fix css
2024-09-19 19:39:08 +02:00
Laurent Destailleur
f00a07e564
FIX Translation of widget label into combo
2024-09-19 13:29:07 +02:00
Laurent Destailleur
e003c6a516
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-07 02:20:15 +02:00
Laurent Destailleur
bd04568799
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-09-07 02:18:33 +02:00
Laurent Destailleur
43f42d08ad
Fix warning
2024-09-06 14:01:55 +02:00
Alexandre SPANGARO
bdd67368ce
FIX Invoice unpaid widget - SQL error on group by with constant MAIN_COMPANY_PERENTITY_SHARED ( #30866 )
2024-09-06 13:22:46 +02:00
Laurent Destailleur
022732df10
CSS
2024-09-06 03:54:40 +02:00
Laurent Destailleur
ecf19c5a39
css
2024-09-06 03:53:00 +02:00
Laurent Destailleur
f23ff1867a
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-03 17:52:25 +02:00
Laurent Destailleur
dd930e2d4b
Debug v20
2024-09-03 14:38:09 +02:00
MDW
b0087aaf61
Qual: Enable phan on modulebuilder ( #30652 )
...
* Allow null for buyer, and force '' for in printObjectLine(s)
* Allow null for Contact in show_actions_done
* Qual: Enable phan on modulebuilder
# Qual: Enable phan on modulebuilder
Most files of the modulebuilder template can be checked as regular files.
It will help improve the template
* Update baseline (enable modulebuilder notices)
* Add properties that are expected to exist on modules_boxes
* Qual: Ignore false positive (phan)
* Set phpdoc type to include null on formAddObjectLine
* Qual: Fixes for modulebuilder (phan, phpstan, bugs, format)
* Fix phpcs for intracom
* Make ModeleBoxes:showBox() signature match child class's
* Fix *box::showBox() phpdoc types
* Update index.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-18 18:16:08 +02:00
MDW
75ed925f06
Qual: Fix PhanPluginUnknownObjectMethodCall ("part 1") ( #30563 )
...
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add typing hint to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add typing hint in phan config to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint to fix phan notice.
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjectBlock
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjectBlock
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for linkedObjects
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
# Qual: Fix PhanPluginUnknownObjectMethodCall (add typing hints)
Add/improve typing hint for PhanPluginUnknownObjectMethodCall
* Fix: MemberNumRefNumbers getExample does not take any arguments
Found thanks to adding the typing for phan!
* Qual: Correct forced type for $module
* Qual: Ignore phan false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Ignore false positive
* Qual: phan/Ignore false positive, replace depr.prop with method
* Qual: Fix typing for count by adding is_array check
* Qual: replace depr.prop `nom` with method
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Fix depr.prop with getter and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: phan/Correct module type and ignore false positive
* Qual: Improve typing for mymodule template
* Make info method arguments match calls
* Make PrintingDriver abstract class because we added abstract methods
* Add phpdoc typing for phan
* Update getExample function signature for compatibility
* Update getExample function signature for compatibility
* Update getExample function signature for compatibility
* Update header wit correct information
* Update getExample method signature
* Update getExample method signature
* Correct reference to class in comment
* Force php phan typing for numbering modules
* Correct $_GLOBALS to $GLOBALS
* Add phpdoc to indicat type of properties
* Correct default to null
* Improve getNextValue typehint
* Improve getNextValue typehint
* Qual: Improve ModeleNumRefTakepos typing
* Qual: Improve ModeleNumRefRecruitmentJobPosition typing
* Fix default for $langs
* Do not use non-existing ModeleNumRefTakepos::nom
* Allow getNextValue argument to be null
* Correct $_GLOBAL into $GLOBALS
* Improve typing for ldap functions
* Allow null for outputlangs argument
* Improve typing for printOriginLine
* Improve typing for linkedObject access
* Fix PhanTypeMismatchArgumentNullableInternal and optimize
* Fix PhanPossiblyUndeclaredVariable by setting default value
* Ignore PhanPluginDuplicateExpressionAssignmentOperation - needs PHP7.4
* getToolTip does not accept null, changed to ''
* Improve getNextValue typing
* Change PrintingDriver back to normal class (instantiated)
And add errors for functions that should be overloaded
* Adjust pringOriginLine typing to match parent
* Fix phpdoc for getNextValue
* Fix phan typing
* Add/Improve phpdoc typing hints
* Qual: Adjustments to match typing
* Update typing for unit, use GETPOSTINT
* ModeleNumRefTask needs Project
* Fix several notices appearing after update from develop
* Index for choices is int, use GETPOSTINT
* Qual: Ignore empty foreach
* Force BOMLine on object line
* phan typing to indicate that linked objects are BOM
* Type the correct variable name (phan)
* Add typing for $langs
* Type to CommonNumRefGenerator (no class for availabilities)
* Resolve several phan notices after update from dev branch
* Extra typing fixes
* Move common attributes to parent class (phan)
* Add typing to Calendar class
* Improve typing hints
* Add typing to pdf_eagle_proforma
* Qual: Add typing for token in generic_oauthcallback.php
* Add typing for objMod
* Correct getNextValue function signature (phpstan)
* Fix typing (phpstan)
* Update version declarations (fix phpstan)
* Fix phpstan typing issues
* Adjust typing (phpstan)
* Qual: Update baseline & conf to detect 25% of PhanPluginUnknownObjectMethodCall
2024-08-17 19:32:52 +02:00