Commit b191cb8
PHP 8.0 > String to Number Comparison.
When $previousIndent was equal to 0, and $matches['indent'] = " "
PHP(before 8.0)> (0 != " ") ==> false
PHP8.0+ > (0 != " ") ==> true
In order to keep "false" value we avoid "0" as a valid value.
More details here why here:
https://www.php.net/manual/en/migration80.incompatible.php1 parent 7341b43 commit b191cb8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
0 commit comments