- [BREAKING] Upgrade PHP-CS-Fixer and configuration #3.
Requires
"friendsofphp/php-cs-fixer": "^3.60"
- Make PSR12 / PER explicit and fix short closure issue #2
- upgrade php8 package
- 3.16 require doctrine/annotation > 2, ticketing is not ready for that
- Added php8.1 support
- Upgrade php-cs-fixer to 3.16.0
- Default to all "Migration" rules, fallback for older version of PHP. It might break if php-cs-fixer changes the list of function in PHPXXMigration and that new rule needs a version of PHP that is not handled
- Upgrade php-cs-fixer to 2.17.0
Fix issue with items position
fix issue when ListSyntaxFixer does not exists (SF <3.0)
remove @PHP71Migration:risky as only void_return differ from PHP70Migration:risky
Add a possibility to set extra rule set. Only undefined rules will be set
- Set
void_return
tofalse
- Set
simplified_null_return
totrue
- Set
list_syntax
to "short"
Allow using Symfony 2.x by lowering php-cs-fixer dependency
Fixed issue with autoloading
Fixed issue with autoloading
Support for PHP 7.1 and 7.2
[Breaking] The classname changed from Mapado\CS\Config\Php70
to Mapado\Cs\Config
Initial version, compatible with php 7