mmoreram / php-formatter

PHP Formatter is a PHP developer friendly set of tools
MIT License
166 stars 17 forks source link

Build against PHP 7.2 with lowest dependencies #34

Closed jakzal closed 6 years ago

jakzal commented 6 years ago

To make this possible I had to upgrade php-cs-fixer to v2.

By building against lowest dependencies we can prove that code indeed works with them (otherwise we're only testing against latest versions). A good thing to do here is to take the latest PHP version with lowest dependencies. This way the most critical path is covered without having to run all the combinations.

I also took the courtesy to disable XDebug so composer is more happy (faster). Coverage can be easily generated with php-dbg. I also added a filter to phpunit.xml.dist so the coverage is actually generated (it hasn't been before).

mmoreram commented 6 years ago

Thanks @jakzal :)