Commit graph

133486 commits

Author SHA1 Message Date
Christophe Battarel
c3c7c1f742
Merge branch 'develop' into rdb 2024-01-19 08:54:06 +01:00
thibdrev
00d1b26d06
qual: phpstan
htdocs/admin/defaultvalues.php	163	Property CommonObject::$id (int) does not accept array|string.
htdocs/admin/defaultvalues.php	186	Property CommonObject::$id (int) does not accept array|string.
2024-01-19 08:46:08 +01:00
Regis Houssin
afda242968 FIX avoid sql error (issue #26342) 2024-01-19 08:37:29 +01:00
MDW
c98868d2db Fix: Update Stripe Exception class references
# Fix: Update Stripe Exception class references

The Stripe classes changed, update the references.
2024-01-19 01:33:45 +01:00
MDW
707c1d18bc Fix: Missing 'ref_supplier' argument
# Fix: Missing 'ref_supplier' argument

Argument ref_supplier was missing.

According to code read for the class, ->ref_fourn is ok, but
please double check
2024-01-18 23:53:34 +01:00
Frédéric France
4b3f351f95 phpdoc 2024-01-18 23:28:42 +01:00
MDW
eb8960bcd1 Qual: Cleanup method to ignore misspelled key
# Qual: Cleanup method to ignore misspelled key

With the method to ignore lines, the code can be cleaned up to ignore
the spelling issue.
2024-01-18 23:08:08 +01:00
Frédéric FRANCE
68d771c0d9
clean code 2024-01-18 23:07:18 +01:00
MDW
5dc5e42a29 Fix: Add missing argument to dol_print_error
# Fix: Add missing  argument to dol_print_error

Required  argument was missing.
2024-01-18 23:06:52 +01:00
Frédéric FRANCE
6875f78356
fix phpstan 2024-01-18 22:58:05 +01:00
Laurent Destailleur
f3d97a8a13
Merge pull request #27632 from mdeweerd/fix/depr/mysqli_init
Fix: Deprecated mysqli::init() in PHP8.1
2024-01-18 22:55:24 +01:00
Laurent Destailleur
d459977c6e
Merge pull request #27633 from frederic34/patch-7
fix phpstan
2024-01-18 22:54:22 +01:00
Laurent Destailleur
121f915435
Merge pull request #27631 from frederic34/patch-3
phpdoc
2024-01-18 22:45:18 +01:00
Laurent Destailleur
f5a6201a3a
Merge pull request #27630 from frederic34/patch-5
fix warnings
2024-01-18 22:44:50 +01:00
Frédéric FRANCE
99b0531ca7
fix phpstan 2024-01-18 22:43:17 +01:00
Laurent Destailleur
a8ba9e8135
Merge pull request #27628 from thibdrev/patch-13
fix: phpstan
2024-01-18 22:43:02 +01:00
Laurent Destailleur
fc035b28ec
Merge pull request #27629 from thibdrev/patch-14
fix: phpstan
2024-01-18 22:42:16 +01:00
Laurent Destailleur
799985b247
Merge pull request #27627 from thibdrev/patch-12
fix: phpstan
2024-01-18 22:40:53 +01:00
Laurent Destailleur
1ab234b74f
Merge pull request #27626 from thibdrev/patch-11
fix: phpstan
2024-01-18 22:40:32 +01:00
Laurent Destailleur
f241dacbdc css 2024-01-18 22:11:02 +01:00
Frédéric FRANCE
17335b25b4
fix phpstan 2024-01-18 22:06:56 +01:00
MDW
b4b0cdf105 Fix: Deprecated mysqli::init() in PHP8.1
# Fix: Deprecated mysqli::init() in PHP8.1

See https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.mysqli
2024-01-18 22:04:19 +01:00
Laurent Destailleur
0a5e9b26a5
Merge pull request #27522 from frederic34/patch-11
add function isDolTms
2024-01-18 21:38:45 +01:00
Frédéric FRANCE
2dca7faf26
phpdoc 2024-01-18 21:37:43 +01:00
Laurent Destailleur
c63896f746
Merge pull request #27563 from mdeweerd/fix/strftime_deprecation
Fix: PHP8.1 strftime deprecation -> dol_print_date
2024-01-18 21:36:22 +01:00
Laurent Destailleur
511a4f6f2f
Merge pull request #27625 from thibdrev/patch-10
fix: phpstan
2024-01-18 21:33:19 +01:00
Laurent Destailleur
0ce34c60a2
Merge pull request #27612 from thibdrev/patch-3
fix: phpstan
2024-01-18 21:32:28 +01:00
Frédéric FRANCE
c4de54f4a5
fix warnings 2024-01-18 21:31:48 +01:00
Laurent Destailleur
6421920dac
Merge pull request #27624 from thibdrev/patch-9
fix: phpstan
2024-01-18 21:29:20 +01:00
thibdrev
2a8b9ae7e5
fix: phpstan
htdocs/salaries/card.php	251	Property Salary::$fk_project (int) does not accept array|string.
htdocs/salaries/card.php	305	Property PaymentSalary::$fk_typepayment (int) does not accept array|string.
2024-01-18 21:29:05 +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
456c96744b
Merge pull request #27621 from thibdrev/patch-6
fix: phpstan
2024-01-18 21:24:57 +01:00
Laurent Destailleur
4429e70bc8
Merge pull request #27615 from frederic34/patch-5
remove unknown module required
2024-01-18 21:23:49 +01:00
thibdrev
680860082f
fix: phpstan
htdocs/resource/card.php	110	Property Dolresource::$fk_code_type_resource (int) does not accept array|string.
htdocs/resource/card.php	111	Property CommonObject::$country_id (int) does not accept array|string.
htdocs/resource/card.php	112	Property CommonObject::$state_id (int) does not accept array|string.
2024-01-18 21:22:44 +01:00
Laurent Destailleur
ff6c3ff29b
Merge pull request #27620 from thibdrev/patch-5
fix: phpstan
2024-01-18 21:22:28 +01:00
Laurent Destailleur
060e22e68b
Merge pull request #27618 from frederic34/patch-7
fix phpstan
2024-01-18 21:20:42 +01:00
thibdrev
c948d97ecf
fix: phpstan
htdocs/reception/dispatch.php	196	Property CommandeFournisseurDispatch::$fk_entrepot (int) does not accept array|string.
2024-01-18 21:20:26 +01:00
Laurent Destailleur
b081b08033
Merge pull request #27616 from thibdrev/patch-1
fix: phpstan
2024-01-18 21:17:52 +01:00
thibdrev
4fcb97dd8d
fix: phpstan
htdocs/product/stock/product.php	156	Property Product::$cost_price (float) does not accept string.
htdocs/product/stock/product.php	193	Property ProductStockEntrepot::$fk_entrepot (int) does not accept array|string.
htdocs/product/stock/product.php	222	Property Product::$seuil_stock_alerte (float) does not accept array|string.
2024-01-18 21:17:49 +01:00
Laurent Destailleur
c103e0e5fd
Merge pull request #27617 from thibdrev/patch-2
fix: phpstan
2024-01-18 21:15:49 +01:00
Laurent Destailleur
984d5ebb94
Merge pull request #27619 from thibdrev/patch-4
fix:phpstan
2024-01-18 21:14:13 +01:00
Laurent Destailleur
21c3e6715f
Merge pull request #27622 from thibdrev/patch-7
fix: phpstan
2024-01-18 21:13:07 +01:00
Laurent Destailleur
e2e194886a
Merge pull request #27623 from thibdrev/patch-8
fix: phpstan
2024-01-18 21:11:30 +01:00
thibdrev
9c794e66f0
fix: phpstan
htdocs/core/lib/pdf.lib.php	440	Function pdf_build_address() should return string but returns int.
htdocs/core/lib/pdf.lib.php	443	Function pdf_build_address() should return string but returns int.
2024-01-18 21:10:58 +01:00
Laurent Destailleur
e8e6a217bd Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-18 21:09:27 +01:00
thibdrev
b8d3ee8148
fix: phpstan
htdocs/core/lib/memory.lib.php	299	Function dol_getshmop() should return int but returns null.
htdocs/core/lib/memory.lib.php	303	Function dol_getshmop() should return int but returns null.
htdocs/core/lib/memory.lib.php	317	Function dol_getshmop() should return int but returns null.
2024-01-18 21:07:44 +01:00
Laurent Destailleur
7acee285a8 Fix test 2024-01-18 21:07:05 +01:00
thibdrev
c66efb3d71
fix: phpstan
htdocs/hrm/establishment/card.php	99	Property Establishment::$country_id (int) does not accept array|string.
htdocs/hrm/establishment/card.php	100	Property Establishment::$status (int) does not accept array|string.
htdocs/hrm/establishment/card.php	136	Property Establishment::$country_id (int) does not accept array|string.
htdocs/hrm/establishment/card.php	138	Property Establishment::$status (int) does not accept array|string.
2024-01-18 20:51:52 +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
thibdrev
41257cd977
fix: phpstan
htdocs/ecm/dir_card.php	209	Property EcmDirectory::$fk_parent (int) does not accept string.

htdocs/ecm/dir_card.php	211	Property EcmDirectory::$fk_parent (int) does not accept array|string.
2024-01-18 20:39:01 +01:00