2
0
forked from Wavyzz/dolibarr

Remove checkstyle outpout that is too verbose.

USe instead option -s
Disable a rule
This commit is contained in:
Laurent Destailleur
2013-09-10 11:50:18 +02:00
parent 598f6883a2
commit 376a7e2e3c
3 changed files with 6 additions and 1638 deletions

View File

@@ -78,7 +78,7 @@ before_script:
#script: phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml --coverage-text test/phpunit/BuildDocTest.php
#script: phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/WebservicesOtherTest.php
script:
- phpcs --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/documents/,/includes/,/test/report/ .
- phpcs -s --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/documents/,/includes/,/test/report/ .
- phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/AllTests.php
after_script:

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,11 @@
<!-- List of all tests -->
<rule ref="Generic.CodeAnalysis.EmptyStatement" />
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<rule ref="Generic.CodeAnalysis.EmptyStatement" />
<rule ref="Generic.CodeAnalysis.EmptyStatement.NotAllowed">
<severity>0</severity>