Upgrading friendsofphp/php-cs-fixer 0.5 to 1
Breakingv0.5.7 → v1.13.3Breaking1Deprecated3New74Changed36Fixed196Other179
BreakingUpgrade verdict
1 breaking change.
In plain terms
- The old switch for hiding the progress bar is gone; use the normal verbosity flag instead.
- The getLine method on the Token class is deprecated.
- Deprecates non-default Configs and Finders.
- Deprecates ConfigInterface::getDir, ConfigInterface::setDir and Finder::setDir.
Must act 4 items need code or config changes
PHP requirement changed in v1.12.0: >=5.3.6 → ^5.3.6 || >=7.0 <7.2.
What you must change
Breaking1
Removes the --no-progress option, replaced by the standard -v verbosity flag.
--no-progress-vDeprecations to plan for
Deprecated3
Deprecates Token::getLine().
Token::getLine()Deprecates non-default Configs and Finders.
Deprecates ConfigInterface::getDir, ConfigInterface::setDir and Finder::setDir.
ConfigInterface::getDirConfigInterface::setDirFinder::setDir