[WebProfilerBundle] fixed composer.json and added missing PHPUnit configuration
This commit is contained in:
parent
e553e65047
commit
6eba7abb2c
4
src/Symfony/Bundle/WebProfilerBundle/.gitignore
vendored
Normal file
4
src/Symfony/Bundle/WebProfilerBundle/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
vendor/
|
||||||
|
composer.lock
|
||||||
|
phpunit.xml
|
||||||
|
|
@ -17,7 +17,14 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3",
|
"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": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Bundle\\WebProfilerBundle\\": "" }
|
"psr-0": { "Symfony\\Bundle\\WebProfilerBundle\\": "" }
|
||||||
|
30
src/Symfony/Bundle/WebProfilerBundle/phpunit.xml.dist
Normal file
30
src/Symfony/Bundle/WebProfilerBundle/phpunit.xml.dist
Normal 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>
|
Reference in New Issue
Block a user