Reactivate CodeSniffer for both src and test. PSR-2 has included PSR-1.
This commit is contained in:
parent
aff112a13b
commit
db57346c47
|
|
@ -21,8 +21,8 @@ before_script:
|
||||||
- composer install --prefer-source
|
- composer install --prefer-source
|
||||||
- composer selfupdate --quiet
|
- composer selfupdate --quiet
|
||||||
## PHP_CodeSniffer
|
## PHP_CodeSniffer
|
||||||
#- pyrus install pear/PHP_CodeSniffer
|
- pyrus install pear/PHP_CodeSniffer
|
||||||
#- phpenv rehash
|
- phpenv rehash
|
||||||
## PHP Copy/Paste Detector
|
## PHP Copy/Paste Detector
|
||||||
#- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
|
#- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
|
||||||
## PHP Mess Detector
|
## PHP Mess Detector
|
||||||
|
|
@ -37,8 +37,8 @@ before_script:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
## PHP_CodeSniffer
|
## PHP_CodeSniffer
|
||||||
#- phpcs --standard=PSR1 -n src/
|
- phpcs --standard=PSR2 -n src/
|
||||||
#- phpcs --standard=PSR2 -n src/
|
- phpcs --standard=PSR2 -n test/
|
||||||
## PHP Copy/Paste Detector
|
## PHP Copy/Paste Detector
|
||||||
#- php phpcpd.phar --verbose src/
|
#- php phpcpd.phar --verbose src/
|
||||||
## PHP Mess Detector
|
## PHP Mess Detector
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue