mirror of
https://github.com/ovh/php-ovh.git
synced 2023-11-05 03:20:26 +01:00
Improve the PHPUnit setup
- allow maintained versions of PHPUnit 4 instead of the old 4.0 only - add the code coverage configuration to cover only the library code and not all tests and vendors as well - move the configuration to phpunit.xml.dist to follow PHPUnit best practices Signed-off-by: Christophe Coevoet <stof@notk.org>
This commit is contained in:
parent
ec7afae21c
commit
1d4d6f87f1
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ node_modules
|
||||
vendor
|
||||
composer.lock
|
||||
composer.phar
|
||||
/phpunit.xml
|
||||
|
@ -14,7 +14,7 @@
|
||||
"psr-4": {"Ovh\\": "src/"}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.0.*",
|
||||
"phpunit/phpunit": "4.*",
|
||||
"phpdocumentor/phpdocumentor": "2.*",
|
||||
"squizlabs/php_codesniffer": "1.*"
|
||||
}
|
||||
|
@ -10,5 +10,10 @@
|
||||
<env name="APP_KEY" value=""/>
|
||||
<env name="APP_SECRET" value=""/>
|
||||
<env name="CONSUMER" value=""/>
|
||||
</php>
|
||||
</php>
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory>src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
Loading…
Reference in New Issue
Block a user