mirror of
https://github.com/pestphp/pest.git
synced 2026-03-13 03:07:22 +01:00
tests: namespace helpers
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use function Tests\mock;
|
||||||
|
|
||||||
interface Foo
|
interface Foo
|
||||||
{
|
{
|
||||||
public function bar(): int;
|
public function bar(): int;
|
||||||
|
|||||||
@ -1,5 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
namespace Tests;
|
||||||
|
|
||||||
|
use Mockery;
|
||||||
use Mockery\MockInterface;
|
use Mockery\MockInterface;
|
||||||
|
|
||||||
function mock(string $class): MockInterface
|
function mock(string $class): MockInterface
|
||||||
|
|||||||
Reference in New Issue
Block a user