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 a385aee commit eb1a128Copy full SHA for eb1a128
tests/fixtures/disallow-magic-serialize.php
@@ -25,4 +25,26 @@ public function sleep(): array
25
{
26
return [];
27
}
28
+
29
+ // @phpcsErrorOnNextLine
30
+ public function __wakeup(): array
31
+ {
32
+ return [];
33
+ }
34
35
+ public function wakeup(): array
36
37
38
39
40
41
+ public function __unserialize(): array
42
43
44
45
46
+ public function unserialize(): array
47
48
49
50
0 commit comments