2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/accountancy
MDW 2cd1a1a303 Fix: Add parentheses to fix expression (#28365)
* Fix: Add parentheses to fix expression

# Fix: Add parentheses to fix expression

The priority of == is higher than bitwise & which is not what the
expression supposes.
(See https://www.php.net/manual/en/language.operators.precedence.php).

Detected as 'PhanPluginDuplicateExpressionBinaryOp: Both sides of the binary operator == are the same: 1' because of '1 == 1'

* Fix: Add parentheses to fix expression

# Fix: Add parentheses to fix expression

The priority of == is higher than bitwise & which is not what the
expression supposes.
(See https://www.php.net/manual/en/language.operators.precedence.php).

Detected as 'PhanPluginDuplicateExpressionBinaryOp: Both sides of the binary operator == are the same: 1' because of '1 == 1'

* Fix: Add parentheses to fix expression

# Fix: Add parentheses to fix expression

The priority of == is higher than bitwise & which is not what the
expression supposes.
(See https://www.php.net/manual/en/language.operators.precedence.php).

Detected as 'PhanPluginDuplicateExpressionBinaryOp: Both sides of the binary operator == are the same: 1' because of '1 == 1'
2024-02-23 13:39:17 +01:00
..
2024-02-21 18:59:46 +01:00
2023-12-12 01:40:26 +01:00
2024-02-22 02:45:36 +01:00