Skip to content

Commit 1e4247e

Browse files
committed
fix error build tests error
1 parent 46a379e commit 1e4247e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ php:
1313

1414
install:
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
1919
before_script:
2020
- php -m
2121
- composer require php-coveralls/php-coveralls:^2.1.0
2222

2323
script:
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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
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
}

docs/Valid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
namespace Inhere\Validate;
44

0 commit comments

Comments
 (0)