2
0
forked from Wavyzz/dolibarr
Commit Graph

1414 Commits

Author SHA1 Message Date
Laurent Destailleur
0f83a789e6 Merge pull request #27910 from thibdrev/patch-7
qual: phpstan for htdocs/expensereport/class/expensereportstats.class.php
2024-01-31 20:38:53 +01:00
Laurent Destailleur
85aab4770e Merge pull request #27912 from thibdrev/patch-8
qual: phpstan for htdocs/expensereport/class/paymentexpensereport.class.php
2024-01-31 20:36:21 +01:00
thibdrev
3e023bffe9 qual: phpstan for htdocs/expensereport/class/paymentexpensereport.class.php
htdocs/expensereport/class/paymentexpensereport.class.php	137	Property PaymentExpenseReport::$fk_expensereport (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	143	Property PaymentExpenseReport::$fk_typepayment (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	293	Property PaymentExpenseReport::$fk_expensereport (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	299	Property PaymentExpenseReport::$fk_typepayment (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	308	Property PaymentExpenseReport::$fk_bank (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	311	Property PaymentExpenseReport::$fk_user_creat (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	314	Property PaymentExpenseReport::$fk_user_modif (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	503	Property PaymentExpenseReport::$fk_expensereport (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	508	Property PaymentExpenseReport::$fk_typepayment (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	511	Property PaymentExpenseReport::$fk_bank (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	512	Property PaymentExpenseReport::$fk_user_creat (int) does not accept string.
htdocs/expensereport/class/paymentexpensereport.class.php	513	Property PaymentExpenseReport::$fk_user_modif (int) does not accept string.
2024-01-30 22:36:41 +01:00
thibdrev
250b3fb6c8 qual: phpstan for htdocs/expensereport/class/expensereportstats.class.php
htdocs/expensereport/class/expensereportstats.class.php	113	Parameter #1 $year (string) of method ExpenseReportStats::getNbByMonth() should be compatible with parameter $year (int) of method Stats::getNbByMonth()
2024-01-30 22:31:45 +01:00
thibdrev
c10edc2396 qual: phpstan for htdocs/expensereport/class/expensereport.class.php
htdocs/expensereport/class/expensereport.class.php	502	Property ExpenseReport::$fk_user_valid (int) does not accept string.
htdocs/expensereport/class/expensereport.class.php	1692	Method ExpenseReport::getNextNumRef() should return string but returns int.
htdocs/expensereport/class/expensereport.class.php	1696	Method ExpenseReport::getNextNumRef() should return string but returns int.
2024-01-30 22:24:24 +01:00
Laurent Destailleur
991c0a7aa5 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-24 14:39:32 +01:00
Laurent Destailleur
531a5930bb Fix typo 2024-01-24 14:38:01 +01:00
Laurent Destailleur
ab52890e34 Merge branch 'develop' into dict/GETPOST_filter 2024-01-24 14:32:22 +01:00
MDW
b770448e30 Fix: GETPOST filters
# Fix: GETPOST filters

Some GETPOST filters have an invalid key.  Fixed.
2024-01-23 20:37:19 +01:00
thibdrev
c0f2d57dd9 qual : phsptan
htdocs/expensereport/payment/payment.php	113	Property PaymentExpenseReport::$fk_typepayment (int) does not accept array|string.
htdocs/expensereport/payment/payment.php	116	Property PaymentExpenseReport::$fk_bank (int) does not accept array|string.
2024-01-23 19:31:52 +01:00
Laurent Destailleur
28b3e656a9 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-23 10:44:10 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Laurent Destailleur
916c017aa6 Debug v19 2024-01-19 20:04:11 +01:00
Laurent Destailleur
7f84b1e569 Merge pull request #27614 from frederic34/patch-3
fix box_dolibarr_state_board.php
2024-01-18 21:28:03 +01:00
Laurent Destailleur
21c3e6715f Merge pull request #27622 from thibdrev/patch-7
fix: phpstan
2024-01-18 21:13:07 +01:00
thibdrev
2412ce3ba1 fix: phpstan
htdocs/expensereport/card.php	262	Property ExpenseReport::$fk_user_author (int) does not accept array|string.
htdocs/expensereport/card.php	287	Property ExpenseReport::$fk_user_validator (int) does not accept array|string.
htdocs/expensereport/card.php	336	Property ExpenseReport::$fk_user_validator (int) does not accept array|string.
2024-01-18 20:44:47 +01:00
Frédéric France
b3bcdeafe5 rename method 2024-01-18 18:55:53 +01:00
Laurent Destailleur
5d3c775b69 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-18 12:19:08 +01:00
Laurent Destailleur
8eab0776e4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-16 14:19:02 +01:00
Regis Houssin
d4fd234b75 FIX missing entity filter for check if period exists 2024-01-15 15:11:27 +01:00
Frédéric FRANCE
8a5d40b749 fix phpstan 2024-01-14 21:12:52 +01:00
MDW
bd002480ce Qual: Spelling htdocs/[d-k]* (#27427)
Highlights:

- htdocs/install/doctemplates/websites/website_template-restaurant/containers/page249.tpl.php

  Potential functional change (fix) because toekn was changed to token:
   `<input type=hidden name=toekn`

- htdocs/install/upgrade2.php
  $filles changed to $children

- htdocs/intracommreport/class/intracommreport.class.php
  Local $enveloppe changed to $envelope.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-13 19:48:41 +01:00
Laurent Destailleur
cb2ebb1d56 Fix phpcs 2024-01-12 20:51:10 +01:00
Frédéric FRANCE
0d3e0c8ec4 fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +01:00
Laurent Destailleur
f201692001 Fix phpstan 2024-01-12 19:50:22 +01:00
Laurent Destailleur
ad6c4c2deb Fix phpcs 2024-01-12 18:18:20 +01:00
Laurent Destailleur
52dfdbc7ad Merge branch 'develop' into 18a3 2024-01-11 11:27:10 +01:00
Laurent Destailleur
910a541c60 Clean code 2024-01-09 13:08:22 +01:00
Laurent Destailleur
27fc5a2f84 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-06 16:56:28 +01:00
Laurent Destailleur
76ee9e506d Debug v19 2024-01-06 16:43:01 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Fabian Heinz
b78632a20e api fixes
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Laurent Destailleur
aff0d68035 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-12-28 12:39:45 +01:00
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Laurent Destailleur
b5cce1c718 Merge pull request #27110 from defrance/patch-309
php V8 warning
2023-12-17 23:20:19 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Charlène Benke
d01150d613 php V8 warning 2023-12-14 17:29:58 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
a7125280bc Fix with php-cs-fixer 2023-12-04 12:12:12 +01:00
Laurent Destailleur
3ecfc1b55f Fix css 2023-12-02 20:27:09 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
06736918de Fix warning 2023-11-27 12:33:07 +01:00
Laurent Destailleur
7785ae93a1 Fix php8.2 warnings 2023-11-27 11:41:05 +01:00
Laurent Destailleur
e6eb34a8db Fiw warnings: The private array ->status_short, ->statuts and
->status_long are now array ->labelStatusShort and ->labelStatus
everywhere.
2023-11-24 10:10:24 +01:00
Laurent Destailleur
ac615448bb Debug v19 2023-11-22 14:28:03 +01:00
Laurent Destailleur
ff38cc4bdd Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-20 20:02:30 +01:00
Laurent Destailleur
cabd0937d0 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-20 19:59:34 +01:00
Laurent Destailleur
d1a80920ff Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-11-20 19:53:50 +01:00