Skip to content

Commit e94e273

Browse files
committed
QA : PHP CodeSniffer (PEAR to Composer)
1 parent 7b673af commit e94e273

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ before_script:
2727
# - php composer.phar install --prefer-source
2828
- composer self-update
2929
- composer require dompdf/dompdf:0.6.*
30+
- composer update --prefer-source --dev
3031
- composer install --prefer-source --dev
31-
## PHP_CodeSniffer
32-
- pyrus install pear/PHP_CodeSniffer
33-
- phpenv rehash
3432
## PHP Copy/Paste Detector
3533
- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
3634
## PHP Mess Detector
@@ -48,7 +46,7 @@ before_script:
4846

4947
script:
5048
## PHP_CodeSniffer
51-
- phpcs src/ tests/ --standard=PSR2 -n --ignore=src/PhpWord/Shared/PCLZip
49+
- ./vendor/bin/phpcs src/ tests/ --standard=PSR2 -n --ignore=src/PhpWord/Shared/PCLZip
5250
## PHP Copy/Paste Detector
5351
- php phpcpd.phar src/ tests/ --verbose
5452
## PHP Mess Detector

0 commit comments

Comments
 (0)