Skip to content

Commit

Permalink
Delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 12, 2024
1 parent dffc9d0 commit 43daff7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/Framework/MockObject/Runtime/Api/MockObjectApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,13 @@
trait MockObjectApi
{
private static array $__phpunit_deprecation_emitted_for_test = [];
private object $__phpunit_originalObject;

/** @noinspection MagicMethodsValidityInspection */
public function __phpunit_hasMatchers(): bool
{
return $this->__phpunit_getInvocationHandler()->hasMatchers();
}

/** @noinspection MagicMethodsValidityInspection */
public function __phpunit_setOriginalObject(object $originalObject): void
{
$this->__phpunit_originalObject = $originalObject;
}

/** @noinspection MagicMethodsValidityInspection */
public function __phpunit_verify(bool $unsetInvocationMocker = true): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ interface MockObjectInternal extends MockObject, StubInternal
{
public function __phpunit_hasMatchers(): bool;

public function __phpunit_setOriginalObject(object $originalObject): void;

public function __phpunit_verify(bool $unsetInvocationMocker = true): void;
}

0 comments on commit 43daff7

Please sign in to comment.