2
0
forked from Wavyzz/dolibarr
Commit Graph

14063 Commits

Author SHA1 Message Date
Laurent Destailleur
faeee834ff Fix css 2024-03-25 00:11:18 +01:00
MDW
949ccf312a Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:24 +01:00
Laurent Destailleur
a5fec9f06f Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 20:44:54 +01:00
Laurent Destailleur
27ad9573f6 Debug v20 2024-03-23 19:32:08 +01:00
MDW
2ea00c10c0 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:33 +01:00
MDW
f09430a064 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:32 +01:00
MDW
5c2ff03077 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:31 +01:00
MDW
e01d205172 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:30 +01:00
MDW
03f32e50be Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:30 +01:00
MDW
359a2688ff Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:29 +01:00
MDW
0c8eae7240 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:28 +01:00
MDW
c6bc7eac88 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:27 +01:00
MDW
94808e7cdd Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:26 +01:00
MDW
76cf8ebe06 Fix PhanTypeInvalid{Left,Right}OperandOfNumericOp mostly by typing, casting, idate 2024-03-23 02:06:25 +01:00
MDW
e01f4670e2 Fix several typing issues with casts, deprecation, css class 2024-03-22 09:52:36 +01:00
MDW
ea9e34ebd9 Fix typing issue with cast 2024-03-22 09:52:35 +01:00
MDW
629e445f30 Fix typing with casts 2024-03-22 09:51:47 +01:00
MDW
b2a3985fb3 Fix typing with casts, idate and fix month/year formatting 2024-03-22 09:51:45 +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
b658bde88a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/class/html.formsetup.class.php
	htdocs/takepos/index.php
2024-03-22 02:11:58 +01:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
Laurent Destailleur
a44f1799c8 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2024-03-21 23:28:50 +01:00
Laurent Destailleur
ea1762f0fd Update releve.php 2024-03-21 14:36:31 +01:00
MDW
a42203cc93 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:09 +01:00
MDW
8e5871d1fc 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:07 +01:00
MDW
ecf24fd3b4 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:06 +01:00
PsyCrow
5f1c05308a PHP Warning: Undefined array key 1 on line 533
PHP Warning:  Undefined array key 1 on line 533
2024-03-21 00:54:54 -06:00
MDW
aeefca7e7e Fix $arrayfields typing lost by dol_sort_array() by forcing the type 2024-03-20 23:29:48 +01:00
Laurent Destailleur
0191993a16 FIX Selection of line to copy 2024-03-20 19:41:44 +01:00
MDW
d0c4a04964 Fix arg type to abs() with cast 2024-03-20 04:08:37 +01:00
MDW
1236f4ceca Fix arg type to abs() with cast 2024-03-20 04:08:36 +01:00
MDW
11ef094c2f Fix arg type to abs() with cast 2024-03-20 04:08:35 +01:00
MDW
34eb7c288a Fix arg type to preg_match(),abs(),trim() with cast 2024-03-20 04:08:34 +01:00
MDW
991ce81f93 Fix arg type to preg_match() and preg_replace() with cast 2024-03-20 04:08:34 +01:00
MDW
3812be38fe Fix arg type to abs() and preg_replace() with cast 2024-03-20 04:08:33 +01:00
MDW
4c3faabf3c Fix arg type to preg_replace() with cast 2024-03-20 04:08:32 +01:00
MDW
e515cc864d Fix arg type to preg_replace() with cast 2024-03-20 04:08:31 +01:00
MDW
f11191a9d9 Fix arg type to abs by exchanging func. calls 2024-03-20 04:08:28 +01:00
MDW
9d7eeec786 Fix arg type to abs() with cast to float 2024-03-19 20:38:38 +01:00
MDW
6eacf10d67 Fix arg type to preg_match with cast to string 2024-03-19 20:37:40 +01:00
Laurent Destailleur
10e3627c59 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-19 18:14:07 +01:00
Laurent Destailleur
e9e2105508 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/class/bookkeeping.class.php
	htdocs/core/class/CMailFile.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/ticket/class/ticket.class.php
2024-03-19 18:12:13 +01:00
Laurent Destailleur
43a3f449c4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-19 17:07:51 +01:00
ATM-Lucas
6f85a989f0 Condition on newDateLimReglement 2024-03-19 14:59:13 +01:00
MDW
d9970ff4e7 Fix type of argument for round 2024-03-19 02:59:02 +01:00
MDW
4c5ceace40 Fix type of argument for round 2024-03-19 02:59:01 +01:00
Laurent Destailleur
6b1f490ee1 Merge branch 'develop' into phpstanphpstan 2024-03-19 02:05:42 +01:00
Laurent Destailleur
488987005e Merge pull request #28928 from alxarafe/develop
Problem with database prefix in compta/index queries is solved
2024-03-19 02:04:00 +01:00
xbloq
277f49aff6 Update card.php #28938
Conflicts:
	htdocs/compta/prelevement/card.php
2024-03-19 02:02:39 +01:00
Laurent Destailleur
88db67143e Merge branch 'develop' into develop 2024-03-19 01:42:14 +01:00