phpowermove / php-code-formatter

A code formatting library for php
MIT License
29 stars 12 forks source link

updated Symfony version to 3~ #20

Closed snsanich closed 8 years ago

snsanich commented 8 years ago

updated dependencies and fix tests.

gossi commented 8 years ago

Thanks for upgrading. Can you adjust them a little bit, so people with older php version can still use this. For the required versions, for all symfony packages please use ~2|~3 and for phpunit ~4|~5. Tests on travis should also pass then, I guess.

snsanich commented 8 years ago

Unfortunately I found it is not possible to handle multiple versions in package.json. I updated .travis.yml and added there php7.0

php5.4,php5.5 are not supported. http://php.net/supported-versions.php

gossi commented 8 years ago

Yep, it is possible. I realized I had a lot uncommitted changes locally. While I was giving them some love I also integrated your changes. The lib now works from php 5.4 up to 7 and hhvm. Thanks for your changes.