Commit Graph

128556 Commits

Author SHA1 Message Date
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
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
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
thibdrev
5870f40e34 fix: phpstan
htdocs/adherents/card.php	310	Property CommonObject::$state_id (int) does not accept array|string.
htdocs/adherents/card.php	311	Property CommonObject::$country_id (int) does not accept array|string.
htdocs/adherents/card.php	337	Property CommonObject::$statut (int) does not accept array|string.
htdocs/adherents/card.php	338	Property CommonObject::$status (int) does not accept array|string.
htdocs/adherents/card.php	339	Property Adherent::$public (int) does not accept array|string.
2024-01-18 20:22:41 +01:00
thibdrev
e35c987559 fix: phpstan
htdocs/adherents/class/adherent.class.php	1198	Method Adherent::setPassword() should return string but returns int.
2024-01-18 20:16:32 +01:00
Frédéric FRANCE
9b86ed98ca fix phpstan 2024-01-18 20:15:58 +01:00
Frédéric France
64e049ac2e rename method 2024-01-18 19:47:35 +01:00
Frédéric France
b3bcdeafe5 rename method 2024-01-18 18:55:53 +01:00
thibdrev
1c075f69c8 fix: phpstan
htdocs/user/bank.php	133	Property Account::$state_id (int) does not accept array|string.
htdocs/user/bank.php	134	Property CommonObject::$country_id (int) does not accept array|string.
htdocs/user/bank.php	152	Property Account::$courant (int) does not accept array|string.
htdocs/user/bank.php	164	Property Account::$state_id (int) does not accept array|string.
htdocs/user/bank.php	165	Property CommonObject::$country_id (int) does not accept array|string.
2024-01-18 18:51:15 +01:00
thibdrev
4a9777bf56 fix: phpstan
htdocs/supplier_proposal/card.php	285	Property CommonObject::$shipping_method_id (int) does not accept array|string.
htdocs/supplier_proposal/card.php	286	Property CommonObject::$cond_reglement_id (int) does not accept array|string.
htdocs/supplier_proposal/card.php	287	Property CommonObject::$mode_reglement_id (int) does not accept array|string.
htdocs/supplier_proposal/card.php	288	Property CommonObject::$fk_account (int) does not accept array|string.
htdocs/supplier_proposal/card.php	290	Property CommonObject::$fk_project (int) does not accept array|string.
htdocs/supplier_proposal/card.php	302	Property CommonObject::$demand_reason_id (int) does not accept array|string.
htdocs/supplier_proposal/card.php	303	Property CommonObject::$shipping_method_id (int) does not accept array|string.
htdocs/supplier_proposal/card.php	304	Property CommonObject::$cond_reglement_id (int) does not accept array|string.
htdocs/supplier_proposal/card.php	305	Property CommonObject::$mode_reglement_id (int) does not accept array|string.
htdocs/supplier_proposal/card.php	306	Property CommonObject::$fk_account (int) does not accept array|string.
htdocs/supplier_proposal/card.php	307	Property CommonObject::$fk_project (int) does not accept array|string.
htdocs/supplier_proposal/card.php	314	Property CommonObject::$origin_id (int) does not accept array|string.
2024-01-18 18:46:13 +01:00
Frédéric FRANCE
e87362a9ad Update adherent.class.php 2024-01-18 18:45:35 +01:00
Laurent Destailleur
f1f952c65f Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 18:43:05 +01:00
Frédéric FRANCE
4ca05b97e2 remove unknown module required 2024-01-18 18:36:47 +01:00
Frédéric FRANCE
b83bc3db1e fix box_dolibarr_state_board.php
63f1e44493
2024-01-18 18:07:55 +01:00
Laurent Destailleur
b7212cbac4 Try bette fix for #27586 2024-01-18 18:06:10 +01:00