Commit Graph

107 Commits

Author SHA1 Message Date
MDW
1a2d4ed6be Qual: Fix phan (product-2) 2025-02-09 20:14:25 +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
MDW
178d748cad Qual: Fix phan/phpstan notices in class files (part 5) (#31617)
* Qual: fix commonstickergen..don.class

* Fix notifications for pdf_paiement...cronjob.class

* Qual: Fix notifications for emailcollector..price_parser.class

* Ensure that NULL is used in the database when fk's are 0/empty

* Fix notifications for pdf_paiement...cronjob.class

* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Laurent Destailleur
e6f1d4835f Clean sql code 2024-10-29 02:58:20 +01:00
MDW
115627a054 Qual: Fix PhanPluginUnknownObjectMethodCall where is the only phan notice (#30957)
* Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice

# Qual: PhanPluginUnknownObjectMethodCall where it is the only phan notice

Fix PhanPluginUnknownObjectMethodCall in files where it is the only phan notice

* Update phan baseline

* Fix $website global type in some contexts
2024-09-16 01:49:38 +02:00
MDW
18c4bfd808 Fix Initialise ->error as '' 2024-03-15 10:12:01 +01:00
Lamrani Abdel
98d0ed7110 FIX assignement variable (PHPStan warnings) 2024-03-14 16:14:55 +01:00
Frédéric FRANCE
fba15178eb all initAsSpecimen return int (#28577)
* all initAsSpecimen return int

* all initAsSpecimen return int

* all initAsSpecimen return int
2024-03-02 16:38:35 +01:00
Frédéric FRANCE
a96f1a85d6 fix phpstan (#28555)
* fix phpstan

* fix phpstan
2024-03-01 18:24:41 +01:00
MDW
39769482b1 Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
MDW
0395718521 Qual: Spelling htdocs/p[b-z]* (#27436)
# Qual: Fix spelling htdocs/p[b-z]*

Highlight:

Probably fixes a bug:
htdocs/product/stock/replenish.php: empty(->variants->eabled) corrected to ...enabled.
'eabled' could not be found elsewhere in the codebase.
2024-01-12 17:55:52 +01:00
Frédéric FRANCE
e106409a49 fix phpdoc (#27399) 2024-01-10 19:52:03 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
4daacd3371 Fix with php-cs-fixer 2023-12-04 13:49:31 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
481fc79721 Debug v18 - Fix extrafields visibility in customreports 2023-05-24 00:26:30 +02:00
Laurent Destailleur
ec45cb23ac Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-03-20 15:53:06 +01:00
Laurent Destailleur
ee30114ed9 Fix extralabels must not be used anymore. #24268 2023-03-19 14:29:34 +01:00
Laurent Destailleur
df6dfc34e9 Merge pull request #24268 from bloxera/fix_for_extrafields_parseexpression
Fix #24267: loading the extrafields of the related product in dynamic price expression
2023-03-19 14:18:44 +01:00
priojk
4a79bf2667 Sickler: indentation 2023-03-19 11:10:01 +01:00
priojk
72860e3385 Fix: loading the extrafields of the related product 2023-03-19 11:03:05 +01:00
priojk
ff1d6ff040 fixed hook (correct return value, option to change params) 2023-03-19 10:32:39 +01:00
FLIO
156922fc51 Fix (qodana) Incompatible return type 2023-02-14 14:09:56 +01:00
FLIO
0080b0a80f fix (qodana) fix condlicts 2023-02-01 23:38:49 +01:00
FLIO
c4521efa57 fix(qodana) fix function comment bad return 2023-01-23 16:31:14 +01:00
Laurent Destailleur
77d6b9510b Clean code 2022-12-28 13:04:11 +01:00
Frédéric FRANCE
d4344a736f add accessible values 2022-10-19 12:28:51 +02:00
Laurent Destailleur
c3673bfc3c NEW A public form for to send a message and create a lead is available 2022-05-16 13:05:17 +02:00
Laurent Destailleur
e2a957c738 Clean some trigger names 2022-04-02 16:08:04 +02:00
Regis Houssin
9278c7cb85 FIX convert dynamic_price class 2022-01-27 10:15:08 +01:00
stickler-ci
d1dd70f9cc Fixing style errors. 2022-01-25 08:10:58 +00:00
Je2fb
a1f676eb8c Add new expression in Dynamic Price
Add the expression supplier_min_price_with_discount for select the buy price.
2022-01-25 09:07:53 +01:00
Frédéric FRANCE
49d8f85ae7 fix doxygen nested comment 2021-10-21 12:33:48 +02:00
Frédéric FRANCE
3d5d2f0558 fix doxygen nested comment 2021-10-21 12:33:17 +02:00
Frédéric FRANCE
1157d7edfb fix doxygen nested comment 2021-10-21 12:32:28 +02:00
Laurent Destailleur
2f225ee7e5 Clean code by adding cast int. 2021-08-27 16:33:03 +02:00
Laurent Destailleur
5cc86d2319 Fix #yogosha6370 2021-06-14 13:51:09 +02:00
Laurent Destailleur
fb46ece906 Fix yogosha 6347 2021-06-09 15:36:47 +02:00
Laurent Destailleur
8a62d97b89 Remove one thousand of useless files 2021-04-12 15:57:16 +02:00
Laurent Destailleur
59c8e70fd2 Fix #yogosha4510 2021-04-07 23:43:10 +02:00
Laurent Destailleur
be6bb3a756 FIX #yogosha5746 - next step (work in progress) 2021-03-30 19:12:07 +02:00
Laurent Destailleur
12f50a76d7 Fix yogosha #5627 2021-03-14 11:48:39 +01:00
Frédéric FRANCE
fa7cd70052 code syntax product directory 2021-02-26 14:25:17 +01:00
Scrutinizer Auto-Fixer
7f52920716 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 13:32:18 +00:00
Frédéric FRANCE
b41ac00b98 add new rule 2020-05-21 15:05:19 +02:00
Frédéric FRANCE
a25ed0e041 add new rule 2020-05-21 01:56:06 +02:00
Scrutinizer Auto-Fixer
444c293c01 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-10 08:59:32 +00:00
Laurent Destailleur
94589158c0 Move class from external project as internal class (project is dead) 2020-03-13 02:32:33 +01:00
Scrutinizer Auto-Fixer
e44865d8b5 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-02-21 16:53:37 +00:00
josemariagomezroncero
601cd3809c Correction 2020-02-14 20:16:10 +01:00