Upgrading laravel/pint 0.2 to 1
Breakingv0.2.4 → v1.32.1Breaking3Security1Platform4Deprecated1New31Changed53Fixed25Other5
BreakingUpgrade verdict
3 breaking changes and 4 platform requirement changes and a security fix.
In plain terms
- If your Pint configuration uses the `@PER` preset, it now has a new name, `@PER-CS`.
- A rule that was already marked deprecated is no longer available.
- Pint no longer accepts code piped in from standard input for formatting.
- Pint now partly works with PHP 8.5.
Must act Top 5 of 9 that need code or config changes
PHP requirement changed in v1.30.5: ^8.0 → ^8.3.0.
What you must change
Breaking3
Renames the
@PER rule set to @PER-CS.@PER@PER-CSRemoves the deprecated function_typehint_space rule.
function_typehint_spaceReverts support for formatting code from stdin.
Security1
No longer accepts loading a configuration over insecure http.
Platform4
Adds partial support for PHP 8.5.
Adds support for PHP 8.4.
Adds PHP 8.4 support.
Adds support for friendsofphp/php-cs-fixer version ^3.10.0.
friendsofphp/php-cs-fixerDeprecations to plan for
Deprecated1
Replaces deprecated rules with their supported equivalents.