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 bf7ca5d commit ae40e4dCopy full SHA for ae40e4d
Legacy/SymfonyTestsListenerTrait.php
@@ -83,6 +83,16 @@ public function __construct(array $mockedNamespaces = array())
83
}
84
85
86
+ public function __sleep()
87
+ {
88
+ throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
89
+ }
90
+
91
+ public function __wakeup()
92
93
+ throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
94
95
96
public function __destruct()
97
{
98
if (0 < $this->state) {
0 commit comments