[PhpUnitBridge] new bridge for testing with PHPUnit
This commit is contained in:
parent
f44eef4525
commit
acac734d08
@ -7,7 +7,7 @@ matrix:
|
|||||||
- php: 5.5
|
- php: 5.5
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
- php: 5.3
|
- php: 5.3
|
||||||
env: components=low
|
env: components=low SYMFONY_DEPRECATIONS_HELPER=weak
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
env: components=high
|
env: components=high
|
||||||
- php: hhvm-nightly
|
- php: hhvm-nightly
|
||||||
@ -20,6 +20,7 @@ services: mongodb
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- components=no
|
- components=no
|
||||||
|
- SYMFONY_DEPRECATIONS_HELPER=strict
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- travis_retry sudo apt-get install parallel
|
- travis_retry sudo apt-get install parallel
|
||||||
@ -40,5 +41,5 @@ install:
|
|||||||
script:
|
script:
|
||||||
- if [ "$components" = "no" ]; then ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo -e "\\nRunning {} tests"; phpunit --exclude-group tty,benchmark,intl-data {} || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
|
- if [ "$components" = "no" ]; then ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo -e "\\nRunning {} tests"; phpunit --exclude-group tty,benchmark,intl-data {} || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
|
||||||
- if [ "$components" = "no" ]; then echo -e "\\nRunning tests requiring tty"; phpunit --group tty || (echo -e "\\e[41mKO\\e[0m tty group" && $(exit 1)); fi;
|
- if [ "$components" = "no" ]; then echo -e "\\nRunning tests requiring tty"; phpunit --group tty || (echo -e "\\e[41mKO\\e[0m tty group" && $(exit 1)); fi;
|
||||||
- if [ "$components" = "high" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
|
- if [ "$components" = "high" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source update; phpunit --exclude-group tty,benchmark,intl-data,legacy || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
|
||||||
- if [ "$components" = "low" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
|
- if [ "$components" = "low" ]; then find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist | sed 's#\(.*\)/.*#\1#' | parallel --gnu --keep-order -j25% 'echo -e "\\nRunning {} tests"; cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; phpunit --exclude-group tty,benchmark,intl-data || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
"symfony/locale": "self.version",
|
"symfony/locale": "self.version",
|
||||||
"symfony/monolog-bridge": "self.version",
|
"symfony/monolog-bridge": "self.version",
|
||||||
"symfony/options-resolver": "self.version",
|
"symfony/options-resolver": "self.version",
|
||||||
|
"symfony/phpunit-bridge": "self.version",
|
||||||
"symfony/process": "self.version",
|
"symfony/process": "self.version",
|
||||||
"symfony/property-access": "self.version",
|
"symfony/property-access": "self.version",
|
||||||
"symfony/proxy-manager-bridge": "self.version",
|
"symfony/proxy-manager-bridge": "self.version",
|
||||||
@ -86,6 +87,9 @@
|
|||||||
],
|
],
|
||||||
"files": [ "src/Symfony/Component/Intl/Resources/stubs/functions.php" ]
|
"files": [ "src/Symfony/Component/Intl/Resources/stubs/functions.php" ]
|
||||||
},
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"files": [ "src/Symfony/Bridge/PhpUnit/bootstrap.php" ]
|
||||||
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
|
@ -4,16 +4,13 @@
|
|||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
||||||
backupGlobals="false"
|
backupGlobals="false"
|
||||||
colors="true"
|
colors="true"
|
||||||
bootstrap="autoload.php.dist"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
<ini name="intl.default_locale" value="en" />
|
||||||
<ini name="error_reporting" value="-16385"/>
|
<ini name="intl.error_level" value="0" />
|
||||||
|
<ini name="memory_limit" value="-1" />
|
||||||
<ini name="intl.default_locale" value="en"/>
|
|
||||||
<ini name="intl.error_level" value="0"/>
|
|
||||||
<ini name="memory_limit" value="-1"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This file is part of the Symfony package.
|
|
||||||
*
|
|
||||||
* (c) Fabien Potencier <fabien@symfony.com>
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
$loader = require __DIR__.'/../vendor/autoload.php';
|
|
||||||
|
|
||||||
Doctrine\Common\Annotations\AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
|
|
@ -20,6 +20,7 @@
|
|||||||
"doctrine/common": "~2.3"
|
"doctrine/common": "~2.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/stopwatch": "~2.2|~3.0.0",
|
"symfony/stopwatch": "~2.2|~3.0.0",
|
||||||
"symfony/dependency-injection": "~2.2|~3.0.0",
|
"symfony/dependency-injection": "~2.2|~3.0.0",
|
||||||
"symfony/form": "~2.7|~3.0.0",
|
"symfony/form": "~2.7|~3.0.0",
|
||||||
|
@ -4,12 +4,10 @@
|
|||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
||||||
backupGlobals="false"
|
backupGlobals="false"
|
||||||
colors="true"
|
colors="true"
|
||||||
bootstrap="Tests/bootstrap.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
"monolog/monolog": "~1.11"
|
"monolog/monolog": "~1.11"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/http-kernel": "~2.4|~3.0.0",
|
"symfony/http-kernel": "~2.4|~3.0.0",
|
||||||
"symfony/console": "~2.4|~3.0.0",
|
"symfony/console": "~2.4|~3.0.0",
|
||||||
"symfony/event-dispatcher": "~2.2|~3.0.0"
|
"symfony/event-dispatcher": "~2.2|~3.0.0"
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
3
src/Symfony/Bridge/PhpUnit/.gitignore
vendored
Normal file
3
src/Symfony/Bridge/PhpUnit/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
vendor/
|
||||||
|
composer.lock
|
||||||
|
phpunit.xml
|
@ -1,21 +1,26 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (PHP_VERSION_ID >= 50400 && gc_enabled()) {
|
/*
|
||||||
// Disabling Zend Garbage Collection to prevent segfaults with PHP5.4+
|
* This file is part of the Symfony package.
|
||||||
// https://bugs.php.net/bug.php?id=53976
|
*
|
||||||
gc_disable();
|
* (c) Fabien Potencier <fabien@symfony.com>
|
||||||
}
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Symfony\Bridge\PhpUnit;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Catch deprecation notices and print a summary report at the end of the test suite
|
* Catch deprecation notices and print a summary report at the end of the test suite
|
||||||
*
|
*
|
||||||
* @internal
|
* @author Nicolas Grekas <p@tchwork.com>
|
||||||
*/
|
*/
|
||||||
class DeprecationErrorHandler
|
class DeprecationErrorHandler
|
||||||
{
|
{
|
||||||
private static $isRegistered = false;
|
private static $isRegistered = false;
|
||||||
|
|
||||||
public static function register()
|
public static function register($strict = false)
|
||||||
{
|
{
|
||||||
if (self::$isRegistered) {
|
if (self::$isRegistered) {
|
||||||
return;
|
return;
|
||||||
@ -28,9 +33,9 @@ class DeprecationErrorHandler
|
|||||||
'legacy' => array(),
|
'legacy' => array(),
|
||||||
'other' => array(),
|
'other' => array(),
|
||||||
);
|
);
|
||||||
$deprecationHandler = function ($type, $msg, $file, $line, $context) use (&$deprecations) {
|
$deprecationHandler = function ($type, $msg, $file, $line, $context) use (&$deprecations, $strict) {
|
||||||
if (E_USER_DEPRECATED !== $type) {
|
if (E_USER_DEPRECATED !== $type) {
|
||||||
return PHPUnit_Util_ErrorHandler::handleError($type, $msg, $file, $line, $context);
|
return \PHPUnit_Util_ErrorHandler::handleError($type, $msg, $file, $line, $context);
|
||||||
}
|
}
|
||||||
|
|
||||||
$trace = debug_backtrace(PHP_VERSION_ID >= 50400 ? DEBUG_BACKTRACE_IGNORE_ARGS | DEBUG_BACKTRACE_PROVIDE_OBJECT : true);
|
$trace = debug_backtrace(PHP_VERSION_ID >= 50400 ? DEBUG_BACKTRACE_IGNORE_ARGS | DEBUG_BACKTRACE_PROVIDE_OBJECT : true);
|
||||||
@ -44,19 +49,38 @@ class DeprecationErrorHandler
|
|||||||
$class = isset($trace[$i]['object']) ? get_class($trace[$i]['object']) : $trace[$i]['class'];
|
$class = isset($trace[$i]['object']) ? get_class($trace[$i]['object']) : $trace[$i]['class'];
|
||||||
$method = $trace[$i]['function'];
|
$method = $trace[$i]['function'];
|
||||||
|
|
||||||
$type = 0 === strpos($method, 'testLegacy') || 0 === strpos($method, 'provideLegacy') || 0 === strpos($method, 'getLegacy') || strpos($class, '\Legacy') ? 'legacy' : 'remaining';
|
$group = 0 === strpos($method, 'testLegacy') || 0 === strpos($method, 'provideLegacy') || 0 === strpos($method, 'getLegacy') || strpos($class, '\Legacy') || in_array('legacy', \PHPUnit_Util_Test::getGroups($class, $method), true) ? 'legacy' : 'remaining';
|
||||||
|
|
||||||
if ('legacy' === $type && 0 === (error_reporting() & E_USER_DEPRECATED)) {
|
if ('legacy' === $group && 0 === (error_reporting() & E_USER_DEPRECATED)) {
|
||||||
@++$deprecations[$type]['Silenced']['count'];
|
$ref =& $deprecations[$group]['Silenced']['count'];
|
||||||
|
++$ref;
|
||||||
} else {
|
} else {
|
||||||
@++$deprecations[$type][$msg]['count'];
|
$ref =& $deprecations[$group][$msg]['count'];
|
||||||
@++$deprecations[$type][$msg][$class.'::'.$method];
|
++$ref;
|
||||||
|
$ref =& $deprecations[$group][$msg][$class.'::'.$method];
|
||||||
|
++$ref;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$type = 'other';
|
$group = 'other';
|
||||||
@++$deprecations[$type][$msg]['count'];
|
$ref =& $deprecations[$group][$msg]['count'];
|
||||||
|
++$ref;
|
||||||
|
}
|
||||||
|
++$deprecations[$group.'Count'];
|
||||||
|
unset($trace, $ref);
|
||||||
|
|
||||||
|
if ('legacy' !== $group) {
|
||||||
|
try {
|
||||||
|
$e = $strict ? error_reporting(-1) : error_reporting();
|
||||||
|
$result = \PHPUnit_Util_ErrorHandler::handleError($type, $msg, $file, $line, $context);
|
||||||
|
error_reporting($e);
|
||||||
|
} catch (\Exception $x) {
|
||||||
|
error_reporting($e);
|
||||||
|
|
||||||
|
throw $x;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $result;
|
||||||
}
|
}
|
||||||
++$deprecations[$type.'Count'];
|
|
||||||
};
|
};
|
||||||
$oldErrorHandler = set_error_handler($deprecationHandler);
|
$oldErrorHandler = set_error_handler($deprecationHandler);
|
||||||
|
|
||||||
@ -68,20 +92,16 @@ class DeprecationErrorHandler
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
self::$isRegistered = true;
|
self::$isRegistered = true;
|
||||||
register_shutdown_function(function () use (&$deprecations, $deprecationHandler) {
|
if (self::hasColorSupport()) {
|
||||||
|
$colorize = function ($str, $red) {
|
||||||
$colorize = new \SebastianBergmann\Environment\Console();
|
$color = $red ? '41;37' : '43;30';
|
||||||
|
|
||||||
if ($colorize->hasColorSupport()) {
|
|
||||||
$colorize = function ($str, $red) {
|
|
||||||
$color = $red ? '41;37' : '43;30';
|
|
||||||
|
|
||||||
return "\x1B[{$color}m{$str}\x1B[0m";
|
|
||||||
};
|
|
||||||
} else {
|
|
||||||
$colorize = function ($str) {return $str;};
|
|
||||||
}
|
|
||||||
|
|
||||||
|
return "\x1B[{$color}m{$str}\x1B[0m";
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
$colorize = function ($str) {return $str;};
|
||||||
|
}
|
||||||
|
register_shutdown_function(function () use (&$deprecations, $deprecationHandler, $colorize) {
|
||||||
$currErrorHandler = set_error_handler('var_dump');
|
$currErrorHandler = set_error_handler('var_dump');
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
|
|
||||||
@ -93,13 +113,13 @@ class DeprecationErrorHandler
|
|||||||
return $b['count'] - $a['count'];
|
return $b['count'] - $a['count'];
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (array('remaining', 'legacy', 'other') as $type) {
|
foreach (array('remaining', 'legacy', 'other') as $group) {
|
||||||
if ($deprecations[$type]) {
|
if ($deprecations[$group]) {
|
||||||
echo "\n", $colorize(sprintf('%s deprecation notices (%d)', ucfirst($type), $deprecations[$type.'Count']), 'legacy' !== $type), "\n";
|
echo "\n", $colorize(sprintf('%s deprecation notices (%d)', ucfirst($group), $deprecations[$group.'Count']), 'legacy' !== $group), "\n";
|
||||||
|
|
||||||
uasort($deprecations[$type], $cmp);
|
uasort($deprecations[$group], $cmp);
|
||||||
|
|
||||||
foreach ($deprecations[$type] as $msg => $notices) {
|
foreach ($deprecations[$group] as $msg => $notices) {
|
||||||
echo "\n", $msg, ': ', $notices['count'], "x\n";
|
echo "\n", $msg, ': ', $notices['count'], "x\n";
|
||||||
|
|
||||||
arsort($notices);
|
arsort($notices);
|
||||||
@ -118,16 +138,13 @@ class DeprecationErrorHandler
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static function hasColorSupport()
|
||||||
|
{
|
||||||
|
if ('\\' === DIRECTORY_SEPARATOR) {
|
||||||
|
return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI');
|
||||||
|
}
|
||||||
|
|
||||||
|
return defined('STDOUT') && function_exists('posix_isatty') && @posix_isatty(STDOUT);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (class_exists('PHPUnit_Util_ErrorHandler')) {
|
|
||||||
DeprecationErrorHandler::register();
|
|
||||||
}
|
|
||||||
|
|
||||||
$loader = require_once __DIR__.'/vendor/autoload.php';
|
|
||||||
|
|
||||||
use Doctrine\Common\Annotations\AnnotationRegistry;
|
|
||||||
|
|
||||||
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
|
|
||||||
|
|
||||||
return $loader;
|
|
19
src/Symfony/Bridge/PhpUnit/LICENSE
Normal file
19
src/Symfony/Bridge/PhpUnit/LICENSE
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Copyright (c) 2014-2015 Fabien Potencier
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is furnished
|
||||||
|
to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
62
src/Symfony/Bridge/PhpUnit/README.md
Normal file
62
src/Symfony/Bridge/PhpUnit/README.md
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
PHPUnit Bridge
|
||||||
|
==============
|
||||||
|
|
||||||
|
Provides utilities for PHPUnit, especially user deprecation notices management.
|
||||||
|
|
||||||
|
It comes with the following features:
|
||||||
|
|
||||||
|
* disable the garbage collector;
|
||||||
|
* auto-register `class_exists` to load Doctrine annotations;
|
||||||
|
* print a user deprecation notices summary at the end of the test suite.
|
||||||
|
|
||||||
|
Handling user deprecation notices is sensitive to the SYMFONY_DEPRECATIONS_HELPER
|
||||||
|
environment variable. This env var configures 3 behaviors depending on its value:
|
||||||
|
|
||||||
|
* when set to `strict`, all but legacy-tagged deprecation notices will make tests
|
||||||
|
fail. This is the recommended mode for best forward compatibility.
|
||||||
|
* `weak` on the contrary will make tests ignore all deprecation notices.
|
||||||
|
This is the recommended mode for legacy projects that must use deprecated
|
||||||
|
interfaces for backward compatibility reasons.
|
||||||
|
* any other value will respect the current error reporting level.
|
||||||
|
|
||||||
|
All three modes will display a summary of deprecation notices at the end of the
|
||||||
|
test suite, split in two groups:
|
||||||
|
|
||||||
|
* **Legacy** deprecation notices denote tests that explicitly test some legacy
|
||||||
|
interfaces. In all 3 modes, deprecation notices triggered in a legacy-tagged
|
||||||
|
test do never make a test fail. There are four ways to mark a test as legacy:
|
||||||
|
- make its class start with the `Legacy` prefix;
|
||||||
|
- make its method start with `testLegacy`;
|
||||||
|
- make its data provider start with `provideLegacy` or `getLegacy`;
|
||||||
|
- add the `@group legacy` annotation to its class or method.
|
||||||
|
* **Remaining/Other** deprecation notices are all other (non-legacy)
|
||||||
|
notices, grouped by message, test class and method.
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-----
|
||||||
|
|
||||||
|
Add this bridge to the `require-dev` section of your composer.json file
|
||||||
|
(not in `require`) with e.g.
|
||||||
|
`composer require --dev "symfony/phpunit-bridge"`.
|
||||||
|
|
||||||
|
When running `phpunit`, you will see a summary of deprecation notices at the end
|
||||||
|
of the test suite.
|
||||||
|
|
||||||
|
Deprecation notices in the **Remaining/Other** section need some thought.
|
||||||
|
You have to decide either to:
|
||||||
|
|
||||||
|
* update your code to not use deprecated interfaces anymore, thus gaining better
|
||||||
|
forward compatibility;
|
||||||
|
* or move them to the **Legacy** section (by using one of the above way).
|
||||||
|
|
||||||
|
After reviewing them, you should silence deprecations in the **Legacy** section
|
||||||
|
if you think they are triggered by tests dedicated to testing deprecated
|
||||||
|
interfaces. To do so, add the following line at the beginning of your legacy
|
||||||
|
test case or in the `setUp()` method of your legacy test class:
|
||||||
|
`$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);`
|
||||||
|
|
||||||
|
Last but not least, you should then configure your C.I. to the reporting mode
|
||||||
|
that is appropriated to your project by setting SYMFONY_DEPRECATIONS_HELPER to
|
||||||
|
`strict`, `weak` or empty. It is recommended to start with `weak` mode, upgrade
|
||||||
|
your code as described above, then when the *Remaining/Other* sections are empty,
|
||||||
|
move to `strict` to keep forward compatibility on the long run.
|
31
src/Symfony/Bridge/PhpUnit/bootstrap.php
Normal file
31
src/Symfony/Bridge/PhpUnit/bootstrap.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Doctrine\Common\Annotations\AnnotationRegistry;
|
||||||
|
use Symfony\Bridge\PhpUnit\DeprecationErrorHandler;
|
||||||
|
|
||||||
|
if (!class_exists('PHPUnit_Util_ErrorHandler')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (PHP_VERSION_ID >= 50400 && gc_enabled()) {
|
||||||
|
// Disabling Zend Garbage Collection to prevent segfaults with PHP5.4+
|
||||||
|
// https://bugs.php.net/bug.php?id=53976
|
||||||
|
gc_disable();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (class_exists('Doctrine\Common\Annotations\AnnotationRegistry')) {
|
||||||
|
AnnotationRegistry::registerLoader('class_exists');
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (getenv('SYMFONY_DEPRECATIONS_HELPER')) {
|
||||||
|
case 'strict':
|
||||||
|
DeprecationErrorHandler::register(true);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'weak':
|
||||||
|
error_reporting(error_reporting() & ~E_USER_DEPRECATED);
|
||||||
|
// No break;
|
||||||
|
default:
|
||||||
|
DeprecationErrorHandler::register(false);
|
||||||
|
break;
|
||||||
|
}
|
32
src/Symfony/Bridge/PhpUnit/composer.json
Normal file
32
src/Symfony/Bridge/PhpUnit/composer.json
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"name": "symfony/phpunit-bridge",
|
||||||
|
"type": "symfony-bridge",
|
||||||
|
"description": "Symfony PHPUnit Bridge",
|
||||||
|
"keywords": [],
|
||||||
|
"homepage": "http://symfony.com",
|
||||||
|
"license": "MIT",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Nicolas Grekas",
|
||||||
|
"email": "p@tchwork.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "http://symfony.com/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.9"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"files": [ "bootstrap.php" ],
|
||||||
|
"psr-0": { "Symfony\\Bridge\\PhpUnit\\": "" }
|
||||||
|
},
|
||||||
|
"target-dir": "Symfony/Bridge/PhpUnit",
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.7-dev"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
28
src/Symfony/Bridge/PhpUnit/phpunit.xml.dist
Normal file
28
src/Symfony/Bridge/PhpUnit/phpunit.xml.dist
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
||||||
|
backupGlobals="false"
|
||||||
|
colors="true"
|
||||||
|
bootstrap="vendor/autoload.php"
|
||||||
|
>
|
||||||
|
<php>
|
||||||
|
<ini name="error_reporting" value="-1" />
|
||||||
|
</php>
|
||||||
|
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Symfony PHPUnit Bridge Test Suite">
|
||||||
|
<directory>./Tests/</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory>./</directory>
|
||||||
|
<exclude>
|
||||||
|
<directory>./Tests</directory>
|
||||||
|
<directory>./vendor</directory>
|
||||||
|
</exclude>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
</phpunit>
|
@ -21,6 +21,7 @@
|
|||||||
"ocramius/proxy-manager": "~0.4|~1.0"
|
"ocramius/proxy-manager": "~0.4|~1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/config": "~2.3|~3.0.0"
|
"symfony/config": "~2.3|~3.0.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
"php": ">=5.3.9",
|
"php": ">=5.3.9",
|
||||||
"swiftmailer/swiftmailer": ">=4.2.0,<6.0-dev"
|
"swiftmailer/swiftmailer": ">=4.2.0,<6.0-dev"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"symfony/http-kernel": ""
|
"symfony/http-kernel": ""
|
||||||
},
|
},
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
"twig/twig": "~1.18"
|
"twig/twig": "~1.18"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/finder": "~2.3|~3.0.0",
|
"symfony/finder": "~2.3|~3.0.0",
|
||||||
"symfony/form": "~2.6|~3.0.0",
|
"symfony/form": "~2.6|~3.0.0",
|
||||||
"symfony/http-kernel": "~2.3|~3.0.0",
|
"symfony/http-kernel": "~2.3|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
"symfony/var-dumper": "~2.6|~3.0.0"
|
"symfony/var-dumper": "~2.6|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/config": "~2.3|~3.0.0",
|
"symfony/config": "~2.3|~3.0.0",
|
||||||
"symfony/dependency-injection": "~2.3|~3.0.0"
|
"symfony/dependency-injection": "~2.3|~3.0.0"
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
"doctrine/annotations": "~1.0"
|
"doctrine/annotations": "~1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/asset": "~2.7|~3.0.0",
|
"symfony/asset": "~2.7|~3.0.0",
|
||||||
"symfony/browser-kit": "~2.4|~3.0.0",
|
"symfony/browser-kit": "~2.4|~3.0.0",
|
||||||
"symfony/console": "~2.6|~3.0.0",
|
"symfony/console": "~2.6|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
"symfony/http-kernel": "~2.2|~3.0.0"
|
"symfony/http-kernel": "~2.2|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/browser-kit": "~2.4|~3.0.0",
|
"symfony/browser-kit": "~2.4|~3.0.0",
|
||||||
"symfony/console": "~2.3|~3.0.0",
|
"symfony/console": "~2.3|~3.0.0",
|
||||||
"symfony/css-selector": "~2.0,>=2.0.5|~3.0.0",
|
"symfony/css-selector": "~2.0,>=2.0.5|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
"symfony/http-kernel": "~2.7|~3.0.0"
|
"symfony/http-kernel": "~2.7|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/stopwatch": "~2.2|~3.0.0",
|
"symfony/stopwatch": "~2.2|~3.0.0",
|
||||||
"symfony/dependency-injection": "~2.2|~3.0.0",
|
"symfony/dependency-injection": "~2.2|~3.0.0",
|
||||||
"symfony/expression-language": "~2.4|~3.0.0",
|
"symfony/expression-language": "~2.4|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
"symfony/twig-bridge": "~2.7|~3.0.0"
|
"symfony/twig-bridge": "~2.7|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/config": "~2.2|~3.0.0",
|
"symfony/config": "~2.2|~3.0.0",
|
||||||
"symfony/console": "~2.3|~3.0.0",
|
"symfony/console": "~2.3|~3.0.0",
|
||||||
"symfony/dependency-injection": "~2.2|~3.0.0",
|
"symfony/dependency-injection": "~2.2|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
"symfony/http-foundation": ""
|
"symfony/http-foundation": ""
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/http-foundation": "~2.4"
|
"symfony/http-foundation": "~2.4"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
colors="true"
|
colors="true"
|
||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
|
<php>
|
||||||
|
<ini name="error_reporting" value="-1" />
|
||||||
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Symfony Asset Component Test Suite">
|
<testsuite name="Symfony Asset Component Test Suite">
|
||||||
<directory>./Tests/</directory>
|
<directory>./Tests/</directory>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
"symfony/dom-crawler": "~2.0,>=2.0.5|~3.0.0"
|
"symfony/dom-crawler": "~2.0,>=2.0.5|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/process": "~2.0,>=2.0.5|~3.0.0",
|
"symfony/process": "~2.0,>=2.0.5|~3.0.0",
|
||||||
"symfony/css-selector": "~2.0,>=2.0.5|~3.0.0"
|
"symfony/css-selector": "~2.0,>=2.0.5|~3.0.0"
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/finder": "~2.0,>=2.0.5|~3.0.0"
|
"symfony/finder": "~2.0,>=2.0.5|~3.0.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
"php": ">=5.3.9",
|
"php": ">=5.3.9",
|
||||||
"symfony/filesystem": "~2.3|~3.0.0"
|
"symfony/filesystem": "~2.3|~3.0.0"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\Config\\": "" }
|
"psr-0": { "Symfony\\Component\\Config\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/event-dispatcher": "~2.1|~3.0.0",
|
"symfony/event-dispatcher": "~2.1|~3.0.0",
|
||||||
"symfony/process": "~2.1|~3.0.0",
|
"symfony/process": "~2.1|~3.0.0",
|
||||||
"psr/log": "~1.0"
|
"psr/log": "~1.0"
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\CssSelector\\": "" }
|
"psr-0": { "Symfony\\Component\\CssSelector\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
"symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
|
"symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/class-loader": "~2.2|~3.0.0",
|
"symfony/class-loader": "~2.2|~3.0.0",
|
||||||
"symfony/http-kernel": "~2.3.24|~2.5.9|~2.6,>=2.6.2|~3.0.0",
|
"symfony/http-kernel": "~2.3.24|~2.5.9|~2.6,>=2.6.2|~3.0.0",
|
||||||
"symfony/http-foundation": "~2.1|~3.0.0"
|
"symfony/http-foundation": "~2.1|~3.0.0"
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/yaml": "~2.1|~3.0.0",
|
"symfony/yaml": "~2.1|~3.0.0",
|
||||||
"symfony/config": "~2.2|~3.0.0",
|
"symfony/config": "~2.2|~3.0.0",
|
||||||
"symfony/expression-language": "~2.6|~3.0.0"
|
"symfony/expression-language": "~2.6|~3.0.0"
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/css-selector": "~2.3|~3.0.0"
|
"symfony/css-selector": "~2.3|~3.0.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/dependency-injection": "~2.6|~3.0.0",
|
"symfony/dependency-injection": "~2.6|~3.0.0",
|
||||||
"symfony/expression-language": "~2.6|~3.0.0",
|
"symfony/expression-language": "~2.6|~3.0.0",
|
||||||
"symfony/config": "~2.0,>=2.0.5|~3.0.0",
|
"symfony/config": "~2.0,>=2.0.5|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\ExpressionLanguage\\": "" }
|
"psr-0": { "Symfony\\Component\\ExpressionLanguage\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\Filesystem\\": "" }
|
"psr-0": { "Symfony\\Component\\Filesystem\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\Finder\\": "" }
|
"psr-0": { "Symfony\\Component\\Finder\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
"symfony/property-access": "~2.3|~3.0.0"
|
"symfony/property-access": "~2.3|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"doctrine/collections": "~1.0",
|
"doctrine/collections": "~1.0",
|
||||||
"symfony/validator": "~2.6|~3.0.0",
|
"symfony/validator": "~2.6|~3.0.0",
|
||||||
"symfony/http-foundation": "~2.2|~3.0.0",
|
"symfony/http-foundation": "~2.2|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/expression-language": "~2.4|~3.0.0"
|
"symfony/expression-language": "~2.4|~3.0.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
"psr/log": "~1.0"
|
"psr/log": "~1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/browser-kit": "~2.3|~3.0.0",
|
"symfony/browser-kit": "~2.3|~3.0.0",
|
||||||
"symfony/class-loader": "~2.1|~3.0.0",
|
"symfony/class-loader": "~2.1|~3.0.0",
|
||||||
"symfony/config": "~2.0,>=2.0.5|~3.0.0",
|
"symfony/config": "~2.0,>=2.0.5|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/filesystem": "~2.1|~3.0.0"
|
"symfony/filesystem": "~2.1|~3.0.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
"php": ">=5.3.9",
|
"php": ">=5.3.9",
|
||||||
"symfony/intl": "~2.3|~3.0.0"
|
"symfony/intl": "~2.3|~3.0.0"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\Locale\\": "" }
|
"psr-0": { "Symfony\\Component\\Locale\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\OptionsResolver\\": "" }
|
"psr-0": { "Symfony\\Component\\OptionsResolver\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\Process\\": "" }
|
"psr-0": { "Symfony\\Component\\Process\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\PropertyAccess\\": "" }
|
"psr-0": { "Symfony\\Component\\PropertyAccess\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/config": "~2.2|~3.0.0",
|
"symfony/config": "~2.2|~3.0.0",
|
||||||
"symfony/http-foundation": "~2.3|~3.0.0",
|
"symfony/http-foundation": "~2.3|~3.0.0",
|
||||||
"symfony/yaml": "~2.0,>=2.0.5|~3.0.0",
|
"symfony/yaml": "~2.0,>=2.0.5|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
"symfony/security-core": "~2.4|~3.0.0"
|
"symfony/security-core": "~2.4|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"doctrine/common": "~2.2",
|
"doctrine/common": "~2.2",
|
||||||
"doctrine/dbal": "~2.2",
|
"doctrine/dbal": "~2.2",
|
||||||
"psr/log": "~1.0"
|
"psr/log": "~1.0"
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/event-dispatcher": "~2.1|~3.0.0",
|
"symfony/event-dispatcher": "~2.1|~3.0.0",
|
||||||
"symfony/expression-language": "~2.6|~3.0.0",
|
"symfony/expression-language": "~2.6|~3.0.0",
|
||||||
"symfony/http-foundation": "~2.4|~3.0.0",
|
"symfony/http-foundation": "~2.4|~3.0.0",
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
"symfony/security-core": "~2.4|~3.0.0"
|
"symfony/security-core": "~2.4|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/http-foundation": "~2.1|~3.0.0"
|
"symfony/http-foundation": "~2.1|~3.0.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
"symfony/http-kernel": "~2.4|~3.0.0"
|
"symfony/http-kernel": "~2.4|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/routing": "~2.2|~3.0.0",
|
"symfony/routing": "~2.2|~3.0.0",
|
||||||
"symfony/security-csrf": "~2.4|~3.0.0",
|
"symfony/security-csrf": "~2.4|~3.0.0",
|
||||||
"psr/log": "~1.0"
|
"psr/log": "~1.0"
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
"symfony/security-http": "self.version"
|
"symfony/security-http": "self.version"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/intl": "~2.3|~3.0.0",
|
"symfony/intl": "~2.3|~3.0.0",
|
||||||
"symfony/routing": "~2.2|~3.0.0",
|
"symfony/routing": "~2.2|~3.0.0",
|
||||||
"symfony/translation": "~2.0,>=2.0.5|~3.0.0",
|
"symfony/translation": "~2.0,>=2.0.5|~3.0.0",
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This file is part of the Symfony package.
|
|
||||||
*
|
|
||||||
* (c) Fabien Potencier <fabien@symfony.com>
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
$loader = require __DIR__.'/../vendor/autoload.php';
|
|
||||||
|
|
||||||
Doctrine\Common\Annotations\AnnotationRegistry::registerLoader(function ($class) { return class_exists($class); });
|
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/yaml": "~2.0|~3.0.0",
|
"symfony/yaml": "~2.0|~3.0.0",
|
||||||
"symfony/config": "~2.2|~3.0.0",
|
"symfony/config": "~2.2|~3.0.0",
|
||||||
"doctrine/annotations": "~1.0",
|
"doctrine/annotations": "~1.0",
|
||||||
|
@ -4,12 +4,10 @@
|
|||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
||||||
backupGlobals="false"
|
backupGlobals="false"
|
||||||
colors="true"
|
colors="true"
|
||||||
bootstrap="Tests/bootstrap.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\Stopwatch\\": "" }
|
"psr-0": { "Symfony\\Component\\Stopwatch\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"psr/log": "~1.0"
|
"psr/log": "~1.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
@ -7,10 +7,9 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Symfony Templating Component Test Suite">
|
<testsuite name="Symfony Templating Component Test Suite">
|
||||||
<directory>./Tests/</directory>
|
<directory>./Tests/</directory>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/config": "~2.3,>=2.3.12|~3.0.0",
|
"symfony/config": "~2.3,>=2.3.12|~3.0.0",
|
||||||
"symfony/intl": "~2.3|~3.0.0",
|
"symfony/intl": "~2.3|~3.0.0",
|
||||||
"symfony/yaml": "~2.2|~3.0.0",
|
"symfony/yaml": "~2.2|~3.0.0",
|
||||||
|
@ -7,10 +7,9 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Symfony Translation Component Test Suite">
|
<testsuite name="Symfony Translation Component Test Suite">
|
||||||
<directory>./Tests/</directory>
|
<directory>./Tests/</directory>
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This file is part of the Symfony package.
|
|
||||||
*
|
|
||||||
* (c) Fabien Potencier <fabien@symfony.com>
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
$loader = require __DIR__.'/../vendor/autoload.php';
|
|
||||||
|
|
||||||
Doctrine\Common\Annotations\AnnotationRegistry::registerLoader(function ($class) {return class_exists($class);});
|
|
@ -20,6 +20,7 @@
|
|||||||
"symfony/translation": "~2.4|~3.0.0"
|
"symfony/translation": "~2.4|~3.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0",
|
||||||
"symfony/http-foundation": "~2.1|~3.0.0",
|
"symfony/http-foundation": "~2.1|~3.0.0",
|
||||||
"symfony/intl": "~2.3|~3.0.0",
|
"symfony/intl": "~2.3|~3.0.0",
|
||||||
"symfony/yaml": "~2.0,>=2.0.5|~3.0.0",
|
"symfony/yaml": "~2.0,>=2.0.5|~3.0.0",
|
||||||
|
@ -4,13 +4,12 @@
|
|||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
||||||
backupGlobals="false"
|
backupGlobals="false"
|
||||||
colors="true"
|
colors="true"
|
||||||
bootstrap="Tests/bootstrap.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Symfony Validator Component Test Suite">
|
<testsuite name="Symfony Validator Component Test Suite">
|
||||||
<directory>./Tests/</directory>
|
<directory>./Tests/</directory>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-symfony_debug": ""
|
"ext-symfony_debug": ""
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.9"
|
"php": ">=5.3.9"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7|~3.0.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Symfony\\Component\\Yaml\\": "" }
|
"psr-0": { "Symfony\\Component\\Yaml\\": "" }
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
bootstrap="vendor/autoload.php"
|
bootstrap="vendor/autoload.php"
|
||||||
>
|
>
|
||||||
<php>
|
<php>
|
||||||
<!-- Disable E_USER_DEPRECATED until 3.0 -->
|
<ini name="error_reporting" value="-1" />
|
||||||
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
|
|
||||||
<ini name="error_reporting" value="-16385"/>
|
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
Reference in New Issue
Block a user