Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[WebProfilerBundle] fixed composer.json and added missing PHPUnit con…

…figuration
  • Loading branch information...
commit 6eba7abb2cd3d4026164f7c1852a1f87eb60e643 1 parent e553e65
@fabpot fabpot authored
View
4 src/Symfony/Bundle/WebProfilerBundle/.gitignore
@@ -0,0 +1,4 @@
+vendor/
+composer.lock
+phpunit.xml
+
View
9 src/Symfony/Bundle/WebProfilerBundle/composer.json
@@ -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
30 src/Symfony/Bundle/WebProfilerBundle/phpunit.xml.dist
@@ -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>
@stof Collaborator
stof added a note

you should also exclude vendor, otherwise the code coverage will include all vendors when doing it on the standalone repo

@fabpot Owner
fabpot added a note

Good catch. Fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ </whitelist>
+ </filter>
+</phpunit>
Please sign in to comment.
Something went wrong with that request. Please try again.