File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313
1414install :
1515 - |
16- wget -O bin/php-cs-fixer "https://cs.symfony.com/download/php-cs-fixer-v2.phar"
17- chmod +x bin/php-cs-fixer
16+ wget -O vendor/ bin/php-cs-fixer "https://cs.symfony.com/download/php-cs-fixer-v2.phar"
17+ chmod +x vendor/ bin/php-cs-fixer
1818
1919before_script :
2020 - php -m
2121 - composer require php-coveralls/php-coveralls:^2.1.0
2222
2323script :
2424 # check code style
25- # - composer check-cs
25+ - composer check-cs
2626 # - phpunit --coverage-clover clover.xml
2727 - php vendor/bin/phpunit --coverage-clover clover.xml
2828
Original file line number Diff line number Diff line change 3535 }
3636 },
3737 "scripts" : {
38- "check-cs" : " ./bin/php-cs-fixer fix --dry-run --diff --diff-format=udiff" ,
39- "cs-fix" : " ./bin/php-cs-fixer fix"
38+ "check-cs" : " ./vendor/ bin/php-cs-fixer fix --dry-run --diff --diff-format=udiff" ,
39+ "cs-fix" : " ./vendor/ bin/php-cs-fixer fix"
4040 }
4141}
Original file line number Diff line number Diff line change 1- <?php
1+ <?php declare (strict_types= 1 );
22
33namespace Inhere \Validate ;
44
You can’t perform that action at this time.
0 commit comments