[PhpUnitBridge] CS fix
This commit is contained in:
parent
37eff9bf68
commit
770c7ddec4
@ -92,7 +92,7 @@ class ClockMock
|
|||||||
{
|
{
|
||||||
$self = \get_called_class();
|
$self = \get_called_class();
|
||||||
|
|
||||||
$mockedNs = [substr($class, 0, strrpos($class, '\\'))];
|
$mockedNs = array(substr($class, 0, strrpos($class, '\\')));
|
||||||
if (0 < strpos($class, '\\Tests\\')) {
|
if (0 < strpos($class, '\\Tests\\')) {
|
||||||
$ns = str_replace('\\Tests\\', '\\', $class);
|
$ns = str_replace('\\Tests\\', '\\', $class);
|
||||||
$mockedNs[] = substr($ns, 0, strrpos($ns, '\\'));
|
$mockedNs[] = substr($ns, 0, strrpos($ns, '\\'));
|
||||||
|
Reference in New Issue
Block a user