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
MDW
bd14c05133
Fix type for argument $method_trans of set_infotrans
2024-03-19 00:32:02 +01:00
MDW
fd9d48faac
Fix phpstan CommonObject->fields - notnull is optional field
2024-03-19 00:32:00 +01:00
Frédéric France
87ac6e2f68
fix sql
2024-03-19 00:28:08 +01:00
Frédéric France
d98b721071
fix phpstan
2024-03-18 18:42:09 +01:00
xbloq
b1758520ea
Update card.php #28938
2024-03-18 18:28:49 +01:00
Frédéric France
eb8014c001
Merge remote-tracking branch 'upstream/develop' into phpstanphpstan
2024-03-18 17:50:42 +01:00
Laurent Destailleur
a956539b09
Merge pull request #28937 from mdeweerd/fix/PhanUndeclaredVariableAssignOp
...
Fix & enable PhanUndeclaredVariableAssignOp
2024-03-18 14:37:34 +01:00
Laurent Destailleur
90882d46b2
Update factures.php
2024-03-18 14:36:09 +01:00
Laurent Destailleur
d59da81dff
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2024-03-18 14:04:26 +01:00
Laurent Destailleur
3368041587
Fix filter
2024-03-18 14:04:10 +01:00
MDW
c5b62a4a73
Add typing to fix PhanTypeMismatchDimFetch
2024-03-18 13:55:03 +01:00
MDW
31482901d2
Fix PhanPossiblyUndeclaredGlobalVariable and PhanPossiblyUndeclaredGlobalVariable
2024-03-18 13:54:05 +01:00
MDW
935f788774
Fix: Initilialise $total_ttc to fix PhanUndeclaredVariableAssignOp
2024-03-18 12:20:44 +01:00
MDW
ef6b594001
Fix: Initilialise $amount_ttc_diff to fix PhanUndeclaredVariableAssignOp
2024-03-18 12:19:28 +01:00
MDW
4f46795006
Fix PhanTypeMismatchArgumentInternal - apply casts tofix
2024-03-18 04:03:52 +01:00
Frédéric France
295f5d5b1f
fix sql
2024-03-17 22:39:19 +01:00