Skip to content

Commit

Permalink
fixes in composer.json and phpunit.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariano F.co Benítez Mulet committed Sep 30, 2016
1 parent b04ebe7 commit 9b133e9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
10 changes: 10 additions & 0 deletions composer.json
Expand Up @@ -31,5 +31,15 @@
"psr-4": {
"MaxMind\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"MaxMind\\Test\\": "tests/MaxMind/Test"
}
},
"scripts": {
"test": "phpunit",
"sniff": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src/ tests/",
"format": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src/ tests/"
}
}
5 changes: 3 additions & 2 deletions phpunit.xml.dist
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="./tests/bootstrap.php" colors="true">
<phpunit bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="minFraud Test Suite">
<directory suffix="Test.php">./tests/MaxMind/Test/</directory>
Expand All @@ -9,12 +9,13 @@

<filter>
<whitelist>
<directory suffix=".php">./src/MaxMind/</directory>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>

<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-html" target="build/logs/html"/>
</logging>

</phpunit>
7 changes: 0 additions & 7 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit 9b133e9

Please sign in to comment.