提交代码
This commit is contained in:
30
vendor/symfony/var-exporter/Tests/Fixtures/error.php
vendored
Normal file
30
vendor/symfony/var-exporter/Tests/Fixtures/error.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
|
||||
$o = [
|
||||
(\Symfony\Component\VarExporter\Internal\Registry::$factories['Error'] ?? \Symfony\Component\VarExporter\Internal\Registry::f('Error'))(),
|
||||
],
|
||||
null,
|
||||
[
|
||||
'TypeError' => [
|
||||
'file' => [
|
||||
\dirname(__DIR__).\DIRECTORY_SEPARATOR.'VarExporterTest.php',
|
||||
],
|
||||
'line' => [
|
||||
234,
|
||||
],
|
||||
],
|
||||
'Error' => [
|
||||
'trace' => [
|
||||
[
|
||||
'file' => \dirname(__DIR__).\DIRECTORY_SEPARATOR.'VarExporterTest.php',
|
||||
'line' => 123,
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
$o[0],
|
||||
[
|
||||
1 => 0,
|
||||
]
|
||||
);
|
||||
Reference in New Issue
Block a user