Skip to content
Snippets Groups Projects
Commit 719c9c26 authored by Jacob Bates's avatar Jacob Bates
Browse files

Exclude test from phpcs and fix tabs and spaces in phpunit.xml

parent ad830f88
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,11 @@ cache:
install:
- 'composer install'
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
script:
- 'composer lint'
- 'composer sniff-summary'
- 'composer sniff-errors-only'
- 'composer test'
......@@ -36,6 +36,9 @@
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<rule ref="Generic.Formatting.SpaceAfterNot">
<severity>0</severity>
</rule>
<rule ref="Generic.Functions.CallTimePassByReference"/>
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
<rule ref="Generic.PHP.LowerCaseConstant"/>
......
......@@ -7,7 +7,7 @@
<file>tests/UdoitTest.php</file>
<file>tests/IndexTest.php</file>
<file>tests/FunctionalTests.php</file>
<file>tests/UdoitStatsTest.php</file>
<file>tests/UdoitStatsTest.php</file>
</testsuite>
</testsuites>
<php>
......@@ -15,12 +15,12 @@
</php>
<filter>
<whitelist>
<directory suffix=".php">./</directory>
<exclude>
<directory>./lib/quail</directory>
<directory>./vendor</directory>
<directory>./tests</directory>
</exclude>
<directory suffix=".php">./</directory>
<exclude>
<directory>./lib/quail</directory>
<directory>./vendor</directory>
<directory>./tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment