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 3c01bf4 commit 8e71fe1Copy full SHA for 8e71fe1
tests/PHPMockeryTest.php
@@ -78,13 +78,11 @@ private function workaroundMockeryIssue268()
78
foreach (get_declared_classes() as $class) {
79
if (!is_subclass_of($class, MockInterface::class)) {
80
continue;
81
-
82
}
83
try {
84
$_mockery_methods = new \ReflectionProperty($class, "_mockery_methods");
85
$_mockery_methods->setAccessible(true);
86
$_mockery_methods->setValue(null);
87
88
} catch (\ReflectionException $e) {
89
// The unaffected version mockery-0.8 didn't had that property.
90
0 commit comments