This repository was archived by the owner on Apr 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11vendor /
22build /
3+ .idea /
Original file line number Diff line number Diff line change 33
44$ finder = PhpCsFixer \Finder::create ()
55 ->exclude ('vendor ' )
6- ->in ([__DIR__ . '/src ' ]);
6+ ->in ([__DIR__ . '/src ' , __DIR__ . ' /tests ' ]);
77
88return PhpCsFixer \Config::create ()
99 ->setUsingCache (false ) //Remove for performance improvements
Original file line number Diff line number Diff line change @@ -4,9 +4,14 @@ dist: trusty
44php :
55 - " 7.1"
66 - " 7.2"
7+ - " 7.3"
78
89before_install :
910 - composer self-update
1011 - composer install --dev --no-interaction --prefer-source
1112
12- script : vendor/bin/phpunit
13+ jobs :
14+ include :
15+ - script : ./vendor/bin/php-cs-fixer fix . --dry-run --stop-on-violation
16+ - script : ./vendor/bin/phpstan analyse ./src --level=max
17+ - script : ./vendor/bin/phpunit
Original file line number Diff line number Diff line change 22<phpunit colors =" true" verbose =" true" bootstrap =" ./tests/Bootstrap.php" >
33 <testsuites >
44 <testsuite name =" PHPImageOptim Tests" >
5- <directory suffix =" Test.php" phpVersion =" 5.6 .0" phpVersionOperator =" >=" >tests/PHPImageOptim</directory >
5+ <directory suffix =" Test.php" phpVersion =" 7.1 .0" phpVersionOperator =" >=" >tests/PHPImageOptim</directory >
66 </testsuite >
77 </testsuites >
88
You can’t perform that action at this time.
0 commit comments