added support for recipes that work for several versions of a package

This commit is contained in:
Fabien Potencier
2017-04-06 09:57:16 -07:00
parent 00f3bb448d
commit a915693910
3 changed files with 7 additions and 6 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
},
"aliases": ["phpunit"],
"version_aliases": ["4.8", "5.0", "5.1", "5.2", "5.3", "5.4", "5.5", "5.6", "5.7", "6.0"]
}
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_DIR" value="etc/" />
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
</phpunit>