tests: namespace helpers

This commit is contained in:
Nuno Maduro
2020-06-11 21:56:15 +02:00
parent 4448761852
commit f9a936b4d9
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,7 @@
<?php
use function Tests\mock;
interface Foo
{
public function bar(): int;

View File

@ -1,5 +1,8 @@
<?php
namespace Tests;
use Mockery;
use Mockery\MockInterface;
function mock(string $class): MockInterface