Commit graph

135652 commits

Author SHA1 Message Date
Laurent Destailleur
cd68a097bb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-17 13:48:34 +02:00
Laurent Destailleur
f413481f7d Clean code 2024-06-17 13:48:15 +02:00
thibdrev
57c75aa350
qual: phpdoc for htdocs/variants/class/ProductAttributeValue.class.php (#30050)
* qual: phpdoc for htdocs/variants/class/ProductAttributeValue.class.php

htdocs/variants/class/ProductAttributeValue.class.php	78	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->id has an initial type that cannot be inferred

htdocs/variants/class/ProductAttributeValue.class.php	79	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->fk_product_attribute has an initial type that cannot be inferred

htdocs/variants/class/ProductAttributeValue.class.php	80	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->ref has an initial type that cannot be inferred

htdocs/variants/class/ProductAttributeValue.class.php	81	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->value has an initial type that cannot be inferred

htdocs/variants/class/ProductAttributeValue.class.php	82	Plugin PhanPluginUnknownPropertyType Property \ProductAttributeValue->position has an initial type that cannot be inferred

* phpcs

* better wording

* phpcs
2024-06-17 13:22:47 +02:00
Frédéric FRANCE
efdc7f92b9
fix phpstan empty oldcopy is not falsy (#30049)
* fix phpstan empty olcopy is not falsy

* fix phpstan empty olcopy is not falsy

* remove code not used

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-17 13:22:20 +02:00
Frédéric FRANCE
7690fd7191
phpstan ignore level 4 (#30047) 2024-06-17 13:17:38 +02:00
Laurent Destailleur
0a4735fdaa Fix phpunit 2024-06-17 13:13:05 +02:00
Laurent Destailleur
d636114540 Debug v20 - Fix getMultidirOutput 2024-06-17 13:06:43 +02:00
Laurent Destailleur
61bf5b0f96 Fix protection on too many lines was at the wrong place 2024-06-17 10:47:49 +02:00
Laurent Destailleur
045eb7cecb Finish the cache use in accountancy, remove the TODOs comment 2024-06-17 10:39:42 +02:00
Laurent Destailleur
5037067cdc Fix hooks cache was broken by the sorting on priotity 2024-06-17 10:14:39 +02:00
Laurent Destailleur
677c31938f Debug v20 2024-06-17 03:02:30 +02:00
Laurent Destailleur
940b59ca52 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-17 03:01:18 +02:00
Laurent Destailleur
ea9b05b621 Debug v20 2024-06-17 03:01:02 +02:00
Laurent Destailleur
8c44ce6224 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-16 14:59:13 +02:00
Laurent Destailleur
e2f8d50082 CSS 2024-06-16 14:58:57 +02:00
Laurent Destailleur
bd2bad2ea5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-16 13:17:21 +02:00
Laurent Destailleur
ac0ba02036 Exclude false positive 2024-06-16 13:17:10 +02:00
Laurent Destailleur
6e262ba185 Doc 2024-06-16 12:59:35 +02:00
Frédéric FRANCE
4372f329b8
phpstan ignore unused method in evalmath.class.php (#30048) 2024-06-16 12:56:42 +02:00
Laurent Destailleur
c8b3f52770 Doc 2024-06-16 12:34:56 +02:00
Laurent Destailleur
564757d379 Missing index 2024-06-16 12:33:28 +02:00
Laurent Destailleur
239b4bcc6e Debug v20 2024-06-16 12:23:12 +02:00
Laurent Destailleur
7054e05f86 doc 2024-06-16 12:18:57 +02:00
Laurent Destailleur
4532866f0f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-16 12:12:03 +02:00
Laurent Destailleur
d9ac7581fa Fix look and feel v20 2024-06-16 12:11:47 +02:00
Vincent de Grandpré
96e9d1051c
Fix #29900 - Show option values when in array_options of object (#29912)
* Show option values when in array_options of object

* pre-commit
2024-06-16 11:15:11 +02:00
Frédéric FRANCE
f25c1ffde4
ignore phpstan level 4 (#30046) 2024-06-16 11:10:26 +02:00
Frédéric FRANCE
a21af12652
fix phpstan (#30043)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpdoc

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-16 11:09:43 +02:00
Laurent Destailleur
1c2c3c36ad Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-16 01:33:58 +02:00
Laurent Destailleur
534606ed96 Prepare 20.0 2024-06-16 01:33:35 +02:00
Laurent Destailleur
88a48a1625 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-15 19:57:23 +02:00
Laurent Destailleur
55975c4575 Fix table not used 2024-06-15 19:57:11 +02:00
Frédéric FRANCE
80b41e0398
fix phpstan (#30042)
* fix phpstan

* Update modules_import.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-15 19:43:56 +02:00
Laurent Destailleur
12f7ba82c1 Doxygen 2024-06-15 19:42:52 +02:00
Laurent Destailleur
44a980d527 Fix phpunit 2024-06-15 19:41:09 +02:00
Laurent Destailleur
7e9a5e81d2 css 2024-06-15 19:04:28 +02:00
Laurent Destailleur
82614d7fca Debug v20 2024-06-15 18:55:17 +02:00
Laurent Destailleur
5c36b51d69 Clean code 2024-06-15 17:42:37 +02:00
yledoare
e7fc690fb8
Support Docker install in production environment (#29951)
* Bookcal : more date check

* fix phpcs warning

* No error if dateStartTimestamp not yet set

* Docker for PROD

* Update Readme

* Fix else if CodeSniffer warning

* Update Readme for Docker

* Random DB password

* Add install.forced.docker.php

* Enable dolibarr_main_url_roo writable in forced mode

* revert on main_url editable
2024-06-15 17:11:01 +02:00
Laurent Destailleur
c2e4451852 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-15 16:40:22 +02:00
Laurent Destailleur
a863333226 Fix #30012 2024-06-15 16:40:04 +02:00
Laurent Destailleur
060816e3dd Clean code 2024-06-15 16:30:28 +02:00
Frédéric FRANCE
cc48228a39
fix phpstan (#30015) 2024-06-15 16:05:41 +02:00
Frédéric FRANCE
93e111a615
fix phpstan is falsy (#30016) 2024-06-15 16:03:53 +02:00
Frédéric FRANCE
567e6e7c9c
fix phpstan dead catch in generic odt societe (#30017)
* fix phpstan dead catch

* fix phpstan dead catch
2024-06-15 16:03:10 +02:00
Frédéric FRANCE
a845409e4f
fix phpstan (#30018) 2024-06-15 16:02:47 +02:00
thibdrev
b14d20bc4c
qual fix PHAN warning when using $product->fetch($id) with $id not being an integer (#30019)
* qual fix phan warning on $object->fetch('')

TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($id) is '' of type '' but \Product::fetch() takes int (no real type) defined at htdocs/product/class/product.class.php:2540 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/variants/class/ProductCombination.class.php	773

* Update api_categories.class.php

* Update api_categories.class.php

* Update api_products.class.php

* Update api_products.class.php

* Update combinations.php
2024-06-15 15:53:36 +02:00
Laurent Destailleur
99f0888ed0 Fix #30021 2024-06-15 15:52:21 +02:00
Laurent Destailleur
b808254951 Fix bad property 2024-06-15 15:28:35 +02:00
Laurent Destailleur
7c6a4ea197 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-15 15:09:56 +02:00