Commit Graph

520 Commits

Author SHA1 Message Date
MDW
4af154c6d5
Qual: Fix phan notices
# Qual: Fix phan notices

Fix phan notices mostly in relation with supplier invoices,
Fix phan notices in relation with formquestion (phpdoc update, casts).
2025-02-03 16:05:57 +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
Regis Houssin
3e3f9c755d FIX Check "$search_sale" only if it's an internal user 2024-12-02 12:10:39 +01:00
Regis Houssin
9ae5c03f28 FIX #32186 2024-12-02 09:47:43 +01:00
Frédéric FRANCE
15490b292f
fix phpstan and fix CI (#31739)
* 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-11-10 11:16:23 +01:00
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +01:00
Frédéric FRANCE
0d7bc505d3
add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +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
lamrani abdelwadoud
43e3dff510
add badge for section fourn generated invoices (#31560) 2024-10-25 20:45:53 +02:00
Florian Mortgat
cc02bff277
NEW 21.0 - tab on recurring invoice card to see the list of generated invoices (#31463)
* NEW 21.0 - tab on recurring invoice card to see the list of invoices generated from this recurring invoice (customer and supplier invoices)

* tab on recurring invoice card: missing url param in $param

* tab on recurring invoice card: stronger typing for phpstan compliance

* tab on recurring invoice card: wrong typing in phpdoc of supplier_invoice_rec_prepare_head
2024-10-19 01:02:21 +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
Laurent Destailleur
b32225283d Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop 2024-09-25 22:32:36 +02:00
Laurent Destailleur
59dadd88a3 FIX Duplicate trigger printFieldPreListTitle 2024-09-25 13:43:11 +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
3e714ad8fe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-16 21:27:01 +02:00
Laurent Destailleur
9261375180 Fix travis 2024-08-16 21:21:11 +02:00
Thomas C.
d8e30f6e4a fix (#30648)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-16 20:38:20 +02:00
Thomas C.
0ee38230d0
fix (#30648)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-16 20:35:21 +02:00
Laurent Destailleur
53561f033b Debug v20 - Error message when requesting credit transfer/direct debit 2024-07-30 11:18:18 +02:00
Laurent Destailleur
3229b8ac6e Debug v20 - Error message when requesting credit transfer/direct debit 2024-07-30 11:16:19 +02:00
Laurent Destailleur
e956c052c4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-18 06:39:34 +02:00
Laurent Destailleur
5ff47f31f0 Fix css 2024-07-18 06:22:43 +02:00
atm-lena
9bf04d6447
NEW llxHeader CSS Body facture_fourn (#30383)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-15 23:58:32 +02:00
Laurent Destailleur
147a8bfaee Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/adherents/subscription/list.php
	htdocs/categories/viewcat.php
	htdocs/contrat/card.php
	htdocs/contrat/list.php
	htdocs/eventorganization/conferenceorbooth_list.php
	htdocs/expedition/list.php
	htdocs/societe/card.php
2024-07-11 10:44:39 +02:00
Alexandre SPANGARO
128769811c
Add css bodylist on list (#30334)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-11 00:45:05 +02:00
Zephyriony
4170bd410c
NEW Opacity for finished lines (#30219)
* Update list.php

* Update list.php

* Update list.php

* Update list.php

* Update list.php

* Update list.php

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-01 14:17:44 +02:00
Alexandre SPANGARO
96afcaa476
Better comments (#30200)
* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* CI Missing language key

* Update eventorganization.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00
Laurent Destailleur
9e7daee7b3 Fix look and feel v20 2024-06-22 13:00:29 +02:00
Laurent Destailleur
37750e0afc css 2024-06-10 18:22:34 +02:00
Laurent Destailleur
41078480f4 Debug v20 2024-06-10 17:56:05 +02:00
Laurent Destailleur
66834b0422 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 21:29:02 +02:00
Laurent Destailleur
683c11e6c4 Fix sql error 2024-05-23 15:06:17 +02:00
Laurent Destailleur
66f4562300 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 14:50:17 +02:00
Laurent Destailleur
a854e58905 FIX Missing $param in hook call for list 2024-05-23 14:41:56 +02:00
Laurent Destailleur
59ae417912 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 12:52:28 +02:00
Laurent Destailleur
2ab36e25b6 FIX Bad count of total of supplie rinvoice into the list 2024-05-23 12:32:12 +02:00
Laurent Destailleur
f07f740bc5 css 2024-05-13 22:54:53 +02:00
Laurent Destailleur
d74065ab12 Debug v20 2024-05-06 21:53:52 +02:00
Laurent Destailleur
e3daa23949 Look and feel v20 2024-04-30 09:45:28 +02:00
Laurent Destailleur
8db9b30fbb Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-27 04:07:00 +02:00
PsyCrow
c17026f652
FIX: PHP Warning: Undefined array key "totalam" on line 1890 (#29489)
* FIX: PHP Warning:  Undefined array key "totalam" on line 1890

FIX PHP Warning:  Undefined array key "totalam" on line 1890

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 03:57:16 +02:00
Laurent Destailleur
b8b964169a Merge 2024-04-27 03:32:22 +02:00
PsyCrow
80ee6c813c
FIX PHP Warning: Undefined array key "totalam" on line 1891 (#29487)
FIX PHP Warning:  Undefined array key "totalam" on line 1891
2024-04-26 23:50:54 +02:00
Laurent Destailleur
ab53b275eb Fix default value 2024-04-08 12:09:05 +02:00
Laurent Destailleur
14afdf6b0e Fix regression on GETPOSTINT 2024-04-03 17:50:24 +02:00
MDW
9afe7dba59
Fix phan notices related to fournisseur.facture.class.php
# Fix phan notices related to fournisseur.facture.class.php

This fixes deprecations and phpdoc.
2024-03-29 23:48:40 +01:00
Laurent Destailleur
5a6791aa5a Clean code 2024-03-29 11:43:26 +01:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
Laurent Destailleur
3fd0af7987 Fix #29085 2024-03-28 14:27:33 +01:00
Laurent Destailleur
0465aeb412 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-27 11:39:26 +01:00