We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f79069 commit 9c22823Copy full SHA for 9c22823
tests/bootstrap.php
@@ -65,6 +65,11 @@ public function getErrorsAsArray($obj)
65
*/
66
public function getData($name)
67
{
68
+ /*
69
+ * The unrestricted unserialize() is needed here as we do have
70
+ * serialized objects in the tests. There should be no security risk as
71
+ * the test data comes with the repository.
72
+ */
73
$data = unserialize(file_get_contents('tests/data/' . $name . '.out'));
74
$data['query'] = file_get_contents('tests/data/' . $name . '.in');
75
return $data;
0 commit comments