Skip to content

Commit

Permalink
Corevalls added
Browse files Browse the repository at this point in the history
  • Loading branch information
merorafael committed Oct 19, 2016
1 parent 345590e commit 386ec2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions composer.json
Expand Up @@ -24,9 +24,10 @@
"monolog/monolog": "^1.20"
},
"require-dev": {
"yiisoft/yii2-mongodb": "^2.1",
"phpunit/phpunit": "~4.5",
"phpunit/phpunit-mock-objects": "2.3.0",
"yiisoft/yii2-mongodb": "^2.1"
"satooshi/php-coveralls": "~1.0"
},
"suggest": {
"yiisoft/yii2-mongodb": "Allow sending log messages to a MongoDB server using Yii2 connection"
Expand All @@ -48,7 +49,7 @@
},
"scripts": {
"test": [
"phpunit"
"./vendor/bin/phpunit -c phpunit.xml.dist"
]
}
}
5 changes: 3 additions & 2 deletions phpunit.xml.dist
@@ -1,18 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="vendor/autoload.php" colors="true">
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<testsuites>
<testsuite name="Yii2 Monolog Test Suite">
<directory>./tests/Mero/Monolog/</directory>
</testsuite>
</testsuites>

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

<php>
<ini name="date.timezone" value="America/Sao_Paulo"/>
</php>
Expand Down

0 comments on commit 386ec2b

Please sign in to comment.