lint/php-8.4
Upgrade to PHP 8.4: code a newer PHP removes, deprecates or does better.
add-csv-escape-argument
Add escape argument on CSV function calls
In the lint-recommended preset and every stricter one. In Rector’s rector/php84 set. Safe fix. Runs only when [php] version is 8.4 or later.
prefer-array-find
Replace foreach loops with array_find(), array_find_key(), array_any() or array_all() (PHP 8.4).
In the lint-recommended preset and every stricter one. In Rector’s rector/php-polyfills, rector/php84 sets. Safe fix. Runs only when [php] version is 8.4 or later.
prefer-round-mode-enum
Replace rounding mode constant to RoundMode enum in round()
In the lint-recommended preset and every stricter one. In Rector’s rector/php84 set. Safe fix. Runs only when [php] version is 8.4 or later.