[WebProfilerBundle] fixed composer.json and added missing PHPUnit configuration

This commit is contained in:
Fabien Potencier 2012-12-12 12:39:13 +01:00
parent e553e65047
commit 6eba7abb2c
3 changed files with 42 additions and 1 deletions

View File

@ -0,0 +1,4 @@
vendor/
composer.lock
phpunit.xml

View File

@ -17,7 +17,14 @@
],
"require": {
"php": ">=5.3.3",
"symfony/twig-bundle": "2.2.*"
"symfony/http-kernel": "2.2.*",
"symfony/routing": "2.2.*",
"symfony/twig-bridge": "2.2.*"
},
"require-dev": {
"symfony/config": "2.2.*",
"symfony/dependency-injection": "2.2.*",
"symfony/stopwatch": "2.2.*"
},
"autoload": {
"psr-0": { "Symfony\\Bundle\\WebProfilerBundle\\": "" }

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Symfony WebProfilerBundle Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Tests</directory>
<directory>./Resources</directory>
</exclude>
</whitelist>
</filter>
</phpunit>