[ProxyManagerBridge] relax fixture in tests
This commit is contained in:
parent
faead9574a
commit
47041370c0
@ -76,7 +76,7 @@ class SunnyInterface_%s implements \ProxyManager\Proxy\VirtualProxyInterface, \S
|
|||||||
|
|
||||||
$targetObject = $this->valueHolder%s;
|
$targetObject = $this->valueHolder%s;
|
||||||
|
|
||||||
$backtrace = debug_backtrace(false);
|
$backtrace = debug_backtrace(false%S);
|
||||||
trigger_error(
|
trigger_error(
|
||||||
sprintf(
|
sprintf(
|
||||||
'Undefined property: %s::$%s in %s on line %s',
|
'Undefined property: %s::$%s in %s on line %s',
|
||||||
@ -114,8 +114,7 @@ class SunnyInterface_%s implements \ProxyManager\Proxy\VirtualProxyInterface, \S
|
|||||||
|
|
||||||
$targetObject = $this->valueHolder%s;
|
$targetObject = $this->valueHolder%s;
|
||||||
|
|
||||||
unset($targetObject->$name);
|
unset($targetObject->$name);%S
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __clone()
|
public function __clone()
|
||||||
|
Reference in New Issue
Block a user