mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-26 20:15:08 +01:00
5128529ca9
This hides them from PHPStorm, preventing false positives it used to emit.
27 lines
613 B
Plaintext
27 lines
613 B
Plaintext
<?php
|
|
namespace Prophecy\Prophecy {
|
|
/** @template T */
|
|
class ObjectProphecy implements ProphecyInterface
|
|
{
|
|
/** @return T */
|
|
public function reveal() {}
|
|
}
|
|
|
|
class MethodProphecy
|
|
{
|
|
public function willReturn(...$values): self {}
|
|
}
|
|
}
|
|
|
|
namespace Prophecy {
|
|
use Prophecy\Argument\Token;
|
|
class Argument
|
|
{
|
|
/** @param callable():bool $callback */
|
|
public static function that(callable $callback): Token\CallbackToken {}
|
|
|
|
/** @param mixed ...$tokens */
|
|
public static function allOf(...$tokens): Token\LogicalAndToken {}
|
|
}
|
|
}
|