public function DebugClassLoaderTest::testDeprecatedSuperInSameNamespace in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/debug/Tests/DebugClassLoaderTest.php \Symfony\Component\Debug\Tests\DebugClassLoaderTest::testDeprecatedSuperInSameNamespace()
File
- vendor/
symfony/ debug/ Tests/ DebugClassLoaderTest.php, line 206
Class
Namespace
Symfony\Component\Debug\TestsCode
public function testDeprecatedSuperInSameNamespace() {
set_error_handler('var_dump', 0);
$e = error_reporting(0);
trigger_error('', E_USER_NOTICE);
class_exists('Symfony\\Bridge\\Debug\\Tests\\Fixtures\\ExtendsDeprecatedParent', true);
error_reporting($e);
restore_error_handler();
$lastError = error_get_last();
unset($lastError['file'], $lastError['line']);
$xError = array(
'type' => E_USER_NOTICE,
'message' => '',
);
$this
->assertSame($xError, $lastError);
}