Commit Graph

133486 Commits

Author SHA1 Message Date
MDW
6a14a8304d 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:10 +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
MDW
170a929656 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:04 +01:00
MDW
e44e29c446 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:03 +01:00
MDW
e114884d11 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:01 +01:00
MDW
66804f5f4d 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:00 +01:00
MDW
bf4243e0ab 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:44:59 +01:00
Laurent Destailleur
43a7db166e Update mailing-send.php 2024-03-21 13:44:57 +01:00
MDW
b6ac5dcf76 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:44:57 +01:00
MDW
81d9e8aa01 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).
2024-03-21 13:44:56 +01:00
MDW
3908b4df9d Qual: Enable PhanTypeInvalidLeftOperandOfBitwiseOp (all fixed) 2024-03-21 13:44:54 +01:00
Laurent Destailleur
1ad4acc87e Merge branch 'develop' into fix-email-sendscript 2024-03-21 13:37:10 +01:00
Regis Houssin
5ffdc44952 FIX missing entity parameter for ajax_constantonoff 2024-03-21 13:35:51 +01:00
Laurent Destailleur
b5804aecfd Fix bad cast for name newtoken 2024-03-21 13:34:16 +01:00
Laurent Destailleur
0d6675114e Merge branch 'develop' into qual/db/typing 2024-03-21 13:19:51 +01:00
Laurent Destailleur
380c1092eb Fix warnings 2024-03-21 13:19:31 +01:00
Laurent Destailleur
f3e6b38d9d Fix warning 2024-03-21 13:16:59 +01:00
Laurent Destailleur
e97f0a7668 Merge branch 'develop' into qual/db/typing 2024-03-21 13:06:35 +01:00
Laurent Destailleur
aee4ccc32c Fix warnings 2024-03-21 13:06:20 +01:00
Rémi Champlon
ab10f29db7 add invoice id 2024-03-21 13:06:09 +01:00
Laurent Destailleur
58e719eb56 Fix sanitization 2024-03-21 13:03:30 +01:00
Laurent Destailleur
9d5aa4a448 Fix sanitization 2024-03-21 13:02:41 +01:00
Laurent Destailleur
ae8e49e611 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-21 13:00:29 +01:00
Laurent Destailleur
84f2121610 Add a FIXME 2024-03-21 12:58:39 +01:00
Laurent Destailleur
5fa2bfff2e Merge branch 'develop' into qual/db/typing 2024-03-21 12:55:20 +01:00
Laurent Destailleur
56f2af9915 Merge pull request #28995 from mdeweerd/fix/PhanTypePossiblyInvalidDimOffset
Qual: Fix several typing issues with regards to array definitions
2024-03-21 12:55:01 +01:00
Laurent Destailleur
60c626dbe4 Merge branch 'develop' into fix/PhanTypePossiblyInvalidDimOffset 2024-03-21 12:53:59 +01:00
Laurent Destailleur
d7a8b9c6fe Merge pull request #28990 from mdeweerd/qual/bumplog2cs
Qual: Bump logToCheckStyle for better filename handling
2024-03-21 12:53:32 +01:00
Laurent Destailleur
b2adfa8be2 Merge pull request #28994 from mdeweerd/fix/PhanTypeMismatchReturnNullable
Fix Several nullable return values contrary to PHPdoc
2024-03-21 12:52:54 +01:00
Laurent Destailleur
61eefe5fa9 Merge branch 'develop' into fix/PhanTypeMismatchReturnNullable 2024-03-21 12:51:27 +01:00
Laurent Destailleur
ba9a846672 Fix trans missing 2024-03-21 12:50:30 +01:00
Laurent Destailleur
647b772f87 Merge pull request #29002 from atm-lucasmantegari/FIX_DefaultWorkstationOnBom
FIX - Default Workstation on bom
2024-03-21 12:48:51 +01:00
Laurent Destailleur
04d8a20b63 Merge branch 'develop' into qual/db/typing 2024-03-21 12:46:25 +01:00
Laurent Destailleur
aa77573cd9 Sanitize DDL instructions 2024-03-21 12:45:58 +01:00
Laurent Destailleur
171c32be34 Add DDLDropTable and DDLCreateTable into phpunit tests 2024-03-21 12:21:38 +01:00
Bradley Jarvis
dd6dec337b Merge branch 'Dolibarr:develop' into fix-email-sendscript 2024-03-21 22:14:19 +11:00
Laurent Destailleur
ce2959b022 Clean method DDLCreateTable (used by modulebuilder only) #28996 2024-03-21 12:10:09 +01:00
brad
4fc50c3761 Fix newline after parenthesis 2024-03-21 22:05:50 +11:00
brad
ebdcb0fa0e Fix spaces/tabs 2024-03-21 21:56:09 +11:00
Laurent Destailleur
ae10eedf2a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-21 11:29:16 +01:00
Laurent Destailleur
ce711c80fb Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-21 11:23:05 +01:00
Laurent Destailleur
57eb393dad Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-21 11:22:28 +01:00
Laurent Destailleur
01a058b208 Fix regression 2024-03-21 11:22:12 +01:00
Laurent Destailleur
27c0192b7c cast smallint 2024-03-21 11:17:15 +01:00
Laurent Destailleur
ad36de82a2 Merge pull request #28997 from am97/fix/18.0/DDLUpdateField
FIX: SQL syntax error in DDLUpdateField
2024-03-21 11:10:07 +01:00
ATM-Lucas
3b5aa4e03a FIX default workstation on BOM 2024-03-21 10:46:45 +01:00
brad
66d74b01f7 Fix send mail script
- correctly send only set number of emails per call
- will jump through each validated mailout
2024-03-21 20:46:08 +11: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