Skip to content

Commit db57346

Browse files
committed
Reactivate CodeSniffer for both src and test. PSR-2 has included PSR-1.
1 parent aff112a commit db57346

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ before_script:
2121
- composer install --prefer-source
2222
- composer selfupdate --quiet
2323
## PHP_CodeSniffer
24-
#- pyrus install pear/PHP_CodeSniffer
25-
#- phpenv rehash
24+
- pyrus install pear/PHP_CodeSniffer
25+
- phpenv rehash
2626
## PHP Copy/Paste Detector
2727
#- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
2828
## PHP Mess Detector
@@ -37,8 +37,8 @@ before_script:
3737

3838
script:
3939
## PHP_CodeSniffer
40-
#- phpcs --standard=PSR1 -n src/
41-
#- phpcs --standard=PSR2 -n src/
40+
- phpcs --standard=PSR2 -n src/
41+
- phpcs --standard=PSR2 -n test/
4242
## PHP Copy/Paste Detector
4343
#- php phpcpd.phar --verbose src/
4444
## PHP Mess Detector

0 commit comments

Comments
 (0)