Laurent Destailleur
233629ed3a
Merge branch 'develop' into phpstan_user
2024-03-29 12:20:23 +01:00
Laurent Destailleur
5a6791aa5a
Clean code
2024-03-29 11:43:26 +01:00
Laurent Destailleur
b58e439a17
Clean use of $_POST
2024-03-28 21:29:02 +01:00
Frédéric France
7a7b1953ed
fix phpstan
2024-03-28 20:34:33 +01:00
Frédéric France
a3df8248a7
Merge remote-tracking branch 'upstream/develop' into phpstan_user
2024-03-28 20:26:57 +01:00
Laurent Destailleur
e73f79ca96
Qual: Remove unnecessary use of $_GET
2024-03-28 20:19:28 +01:00
Frédéric France
5b1af95864
fix phpstan
2024-03-28 20:16:32 +01:00
Frédéric France
cf41d3633b
fix phpstan
2024-03-28 20:08:44 +01:00
Frédéric France
a223e04c7f
fix phpstan
2024-03-28 19:01:32 +01:00
Laurent Destailleur
3fd0af7987
Fix #29085
2024-03-28 14:27:33 +01:00
Laurent Destailleur
415e99606d
Merge pull request #29091 from mdeweerd/fix/facturefournisseur/card
...
Fix card FactureFournisseur
2024-03-28 12:55:24 +01:00
Laurent Destailleur
c112a965cc
Fix phan warnings
2024-03-28 12:54:08 +01:00
MDW
32089fa3af
Fix deprecations/typing
2024-03-27 21:57:59 +01:00
MDW
27546808fc
subtype is not nullable int, reflect this in code
2024-03-27 21:57:57 +01:00
MDW
975243f1b5
Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
...
# Fix: Ensure DiscountAbsolute->fk_soc deprecation is possible
Assign socid whenever fk_soc is assigned so that socid can be accessed
instead of fk_soc.
2024-03-27 18:07:51 +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
Laurent Destailleur
dc43a7e87b
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-03-27 11:22:38 +01:00
Regis Houssin
38156a84fc
FIX wrong sql request with product category filter
2024-03-26 20:40:26 +01:00
Laurent Destailleur
a5fec9f06f
Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp
2024-03-23 20:44:54 +01:00
Laurent Destailleur
5c31471053
Merge pull request #29020 from frederic34/last_main_doc
...
fetch last_main_doc in invoice supplier
2024-03-23 17:37:38 +01:00
Laurent Destailleur
6a0678e717
Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp
2024-03-23 17:36:29 +01:00
Francis Appels
7521febb88
Fix cancel edit line dispatch should not update line
2024-03-23 16:43:53 +01:00
MDW
d68dc69c92
Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
2024-03-23 02:06:51 +01:00
MDW
ef894b0bec
Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate
2024-03-23 02:06:50 +01:00
Frédéric FRANCE
df13bc5ab4
fetch last_main_doc in invoice supplier
2024-03-22 12:24:52 +01:00
MDW
668207b34b
Fix typing with casts, fix AutoFillAmout typo
2024-03-22 09:52:41 +01:00
MDW
09b7308607
Fix type with cast/idate/phpdoc
2024-03-22 09:52:24 +01:00
Laurent Destailleur
51a3641105
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/bom/tpl/objectline_create.tpl.php
htdocs/compta/bank/releve.php
htdocs/core/class/html.formsetup.class.php
htdocs/takepos/freezone.php
2024-03-22 02:35:37 +01:00
Laurent Destailleur
7b0177a84d
Move to getDolGlobalString
2024-03-22 00:37:56 +01:00
Laurent Destailleur
922f30eceb
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-03-21 15:38:11 +01:00
MDW
effe9e79b5
Fix $mybool |=... which is binary op, not boolean op
...
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:23 +01:00
MDW
e19a60cd62
Fix $mybool |=... which is binary op, not boolean op
...
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:21 +01:00
MDW
476d8cfd9c
Fix $mybool |=... which is binary op, not boolean op
...
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:20 +01:00
MDW
aeefca7e7e
Fix $arrayfields typing lost by dol_sort_array() by forcing the type
2024-03-20 23:29:48 +01:00
MDW
9f93a55468
Fix arg type to trim with cast
2024-03-20 04:10:10 +01:00
MDW
32db6eebbb
Fix arg type to abs() with cast
2024-03-20 04:09:33 +01:00
MDW
2175c55085
Fix arg type to preg_replace() with cast
2024-03-20 04:09:32 +01:00
MDW
8ac8e5844c
Fix arg type to preg_match(),preg_replace(),abs() with cast
2024-03-20 04:09:31 +01:00
MDW
2c0f77c1b9
Fix arg type to preg_match(),preg_replace() with cast
2024-03-20 04:09:30 +01:00
MDW
3682cec8ff
Fix arg type to preg_match() with cast
2024-03-20 04:09:29 +01:00
MDW
60a3631d58
Fix arg type to abs() with cast
2024-03-20 04:08:42 +01:00
MDW
c5479f4520
Fix: Update typing for qty as float
2024-03-19 20:37:38 +01:00
Christophe Battarel
07597c4515
renaming of columns impact db access
2024-03-19 15:56:44 +01:00
Christophe Battarel
3f5ffc5e9d
renaming of columns impact db access
2024-03-19 15:50:15 +01:00
Christophe Battarel
446b574de5
renaming of columns impact db access
2024-03-19 15:49:42 +01:00
Christophe Battarel
f94d282c17
renam fk_commande and fk_commandefourdet
2024-03-19 15:24:08 +01:00
Christophe Battarel
b2baacccb4
update credentials
2024-03-19 14:58:05 +01:00
MDW
fd9d48faac
Fix phpstan CommonObject->fields - notnull is optional field
2024-03-19 00:32:00 +01:00
MDW
2917b34519
Fix phpstan $fields property issue
...
Fix Property FactureFournisseur::$fields (array) does not accept default value of type array{rowid: array
2024-03-19 00:31:58 +01:00
MDW
a5d16b326b
Fix: Initialise $amount_ttc_diff to fix PhanUndeclaredVariableAssignOp
2024-03-18 13:12:49 +01:00