Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542
This commit is contained in:
parent
3b2511d96d
commit
81ccda77eb
2155 changed files with 54307 additions and 46870 deletions
|
@ -37,9 +37,9 @@ class ConfigDataCollectorTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
// if else clause because we don't know it
|
||||
if (extension_loaded('xdebug')) {
|
||||
$this->assertTrue($c->hasXdebug());
|
||||
$this->assertTrue($c->hasXDebug());
|
||||
} else {
|
||||
$this->assertFalse($c->hasXdebug());
|
||||
$this->assertFalse($c->hasXDebug());
|
||||
}
|
||||
|
||||
// if else clause because we don't know it
|
||||
|
|
|
@ -103,10 +103,10 @@ class ContainerAwareHttpKernelTest extends \PHPUnit_Framework_TestCase
|
|||
try {
|
||||
$kernel->handle($request, $type);
|
||||
$this->fail('->handle() suppresses the controller exception');
|
||||
} catch (\PHPUnit_Framework_Exception $exception) {
|
||||
throw $exception;
|
||||
} catch (\Exception $actual) {
|
||||
$this->assertSame($expected, $actual, '->handle() throws the controller exception');
|
||||
} catch (\PHPUnit_Framework_Exception $e) {
|
||||
throw $e;
|
||||
} catch (\Exception $e) {
|
||||
$this->assertSame($expected, $e, '->handle() throws the controller exception');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,8 +23,6 @@ class FragmentRendererPassTest extends \PHPUnit_Framework_TestCase
|
|||
*/
|
||||
public function testLegacyFragmentRedererWithoutAlias()
|
||||
{
|
||||
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
|
||||
|
||||
// no alias
|
||||
$services = array(
|
||||
'my_content_renderer' => array(array()),
|
||||
|
|
|
@ -34,7 +34,6 @@ class FragmentListenerTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertTrue($request->query->has('_path'));
|
||||
}
|
||||
|
||||
|
||||
public function testOnlyTriggeredIfControllerWasNotDefinedYet()
|
||||
{
|
||||
$request = Request::create('http://example.com/_fragment?_path=foo%3Dbar%26_controller%3Dfoo');
|
||||
|
|
|
@ -29,8 +29,6 @@ class ProfilerListenerTest extends \PHPUnit_Framework_TestCase
|
|||
*/
|
||||
public function testLegacyEventsWithoutRequestStack()
|
||||
{
|
||||
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
|
||||
|
||||
$profile = $this->getMockBuilder('Symfony\Component\HttpKernel\Profiler\Profile')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
|
|
@ -344,8 +344,6 @@ EOF;
|
|||
|
||||
protected function getKernelMockForIsClassInActiveBundleTest()
|
||||
{
|
||||
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
|
||||
|
||||
$bundle = new FooBarBundle();
|
||||
|
||||
$kernel = $this->getKernel(array('getBundles'));
|
||||
|
|
|
@ -91,7 +91,7 @@ class Logger implements LoggerInterface
|
|||
*/
|
||||
public function emerg($message, array $context = array())
|
||||
{
|
||||
trigger_error('Use emergency() which is PSR-3 compatible', E_USER_DEPRECATED);
|
||||
@trigger_error('Use emergency() which is PSR-3 compatible', E_USER_DEPRECATED);
|
||||
|
||||
$this->log('emergency', $message, $context);
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ class Logger implements LoggerInterface
|
|||
*/
|
||||
public function crit($message, array $context = array())
|
||||
{
|
||||
trigger_error('Use critical() which is PSR-3 compatible', E_USER_DEPRECATED);
|
||||
@trigger_error('Use critical() which is PSR-3 compatible', E_USER_DEPRECATED);
|
||||
|
||||
$this->log('critical', $message, $context);
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ class Logger implements LoggerInterface
|
|||
*/
|
||||
public function err($message, array $context = array())
|
||||
{
|
||||
trigger_error('Use error() which is PSR-3 compatible', E_USER_DEPRECATED);
|
||||
@trigger_error('Use error() which is PSR-3 compatible', E_USER_DEPRECATED);
|
||||
|
||||
$this->log('error', $message, $context);
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ class Logger implements LoggerInterface
|
|||
*/
|
||||
public function warn($message, array $context = array())
|
||||
{
|
||||
trigger_error('Use warning() which is PSR-3 compatible', E_USER_DEPRECATED);
|
||||
@trigger_error('Use warning() which is PSR-3 compatible', E_USER_DEPRECATED);
|
||||
|
||||
$this->log('warning', $message, $context);
|
||||
}
|
||||
|
|
Reference in a new issue