Remove exclusion of php-gettext from test

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-02-24 14:44:17 +01:00
parent 4103e0c6ae
commit f2e034451a
3 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,7 @@ imports:
- javascript
- php
filter:
excluded_paths: [libraries/php-gettext/*, libraries/bfShapeFiles/*, PMAStandard/*, js/jquery/*, js/jqplot/*, js/openlayers/*, js/codemirror/*, js/canvg/*, js/tracekit/*, js/sprintf.js, test/libraries/php-gettext/*]
excluded_paths: [libraries/bfShapeFiles/*, PMAStandard/*, js/jquery/*, js/jqplot/*, js/openlayers/*, js/codemirror/*, js/canvg/*, js/tracekit/*, js/sprintf.js]
tools:
php_code_sniffer:
config:

View File

@ -67,7 +67,6 @@
--exclude PMAStandard
--exclude build
--exclude vendor
--exclude libraries/php-gettext
--exclude libraries/bfShapeFiles
${source}" />
</exec>
@ -80,7 +79,6 @@
--exclude PMAStandard
--exclude build
--exclude vendor
--exclude libraries/php-gettext
--exclude libraries/bfShapeFiles
${source}" />
</exec>
@ -89,7 +87,7 @@
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries">
<exec executable="phpcs">
<arg line="
--ignore=*/php-gettext/*,*/vendor/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/PMAStandard/*
--ignore=*/vendor/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/PMAStandard/*
--report=checkstyle
--extensions=php
--report-file='${basedir}/build/logs/checkstyle.xml'

View File

@ -46,8 +46,6 @@
<!-- excluding the tests from the coverage -->
<directory>test/</directory>
<!-- we don't care about coverage of embedded libraries -->
<directory suffix=".inc">libraries/php-gettext</directory>
<directory suffix=".php">libraries/php-gettext</directory>
<directory suffix=".php">libraries/bfShapeFiles</directory>
<!-- code sniffer checker -->
<directory suffix=".php">PMAStandard</directory>