umpirsky / Symfony-Upgrade-Fixer

Analyzes your Symfony project and tries to make it compatible with the new version of Symfony framework.
MIT License
275 stars 18 forks source link

Fix compatibility with PHPCSFixer 2.x #41

Open lolautruche opened 7 years ago

lolautruche commented 7 years ago

Symfony upgrade fixer is currently locked with PHPCSFixer 1.10.* which is problem, especially if one has PHPCSFixer 2.x already installed globally with Composer.

This PR simply fixes it. To make it work, I also removed support for PHP 5.4 in .travis.yml as it won't work with Symfony 3 (required by PHPCSFixer 2.x). And it's completely obsolete anyway now ;-). I also removed hhvm since it's also abandoned.

lolautruche commented 7 years ago

Hi @umpirsky Sure, I was unsure tests would pass since I didn't manage to run them (and now I understand why). I can have a look to check the complexity.

In any case, this should go into a new major version (or v0.2) as this is a major change.