merged branch hason/security_bundle (PR #8064)
This PR was merged into the 2.3 branch.
Discussion
----------
[SecurityBundle] Added missing files for phpunit
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes and no (BC Break in RequestMatcher, symfony/http-foundation: 2.2.x)
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
11497f3
[SecurityBundle] Added missing files for phpunit
This commit is contained in:
commit
55f2000580
@ -27,6 +27,11 @@ while ($dir !== $lastDir) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (file_exists($dir.'/vendor/autoload.php')) {
|
||||||
|
require_once $dir.'/vendor/autoload.php';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
$dir = dirname($dir);
|
$dir = dirname($dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,15 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3",
|
"php": ">=5.3.3",
|
||||||
"symfony/security": "~2.2"
|
"symfony/security": "~2.2",
|
||||||
|
"symfony/http-kernel": "~2.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/framework-bundle": "~2.2",
|
||||||
|
"symfony/twig-bundle": "~2.2",
|
||||||
|
"symfony/form": "~2.1",
|
||||||
|
"symfony/validator": "~2.2",
|
||||||
|
"symfony/yaml": "~2.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Bundle\\SecurityBundle\\": "" }
|
"psr-0": { "Symfony\\Bundle\\SecurityBundle\\": "" }
|
||||||
|
31
src/Symfony/Bundle/SecurityBundle/phpunit.xml.dist
Normal file
31
src/Symfony/Bundle/SecurityBundle/phpunit.xml.dist
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?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 SecurityBundle Test Suite">
|
||||||
|
<directory>./Tests/</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory>./</directory>
|
||||||
|
<exclude>
|
||||||
|
<directory>./Tests</directory>
|
||||||
|
<directory>./Resources</directory>
|
||||||
|
<directory>./vendor</directory>
|
||||||
|
</exclude>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
</phpunit>
|
Reference in New Issue
Block a user