This repository was archived by the owner on Apr 3, 2024. It is now read-only.
File tree 4 files changed +9
-3
lines changed
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
vendor /
2
2
build /
3
+ .idea /
Original file line number Diff line number Diff line change 3
3
4
4
$ finder = PhpCsFixer \Finder::create ()
5
5
->exclude ('vendor ' )
6
- ->in ([__DIR__ . '/src ' ]);
6
+ ->in ([__DIR__ . '/src ' , __DIR__ . ' /tests ' ]);
7
7
8
8
return PhpCsFixer \Config::create ()
9
9
->setUsingCache (false ) //Remove for performance improvements
Original file line number Diff line number Diff line change @@ -4,9 +4,14 @@ dist: trusty
4
4
php :
5
5
- " 7.1"
6
6
- " 7.2"
7
+ - " 7.3"
7
8
8
9
before_install :
9
10
- composer self-update
10
11
- composer install --dev --no-interaction --prefer-source
11
12
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 2
2
<phpunit colors =" true" verbose =" true" bootstrap =" ./tests/Bootstrap.php" >
3
3
<testsuites >
4
4
<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 >
6
6
</testsuite >
7
7
</testsuites >
8
8
You can’t perform that action at this time.
0 commit comments