Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
Added comments to suppress warns [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
gremo committed Apr 17, 2013
1 parent 24b0d43 commit 93f754e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/DependencyInjection/Compiler/AddListenersPassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function testProcessExitIfBuzzeServiceIsNotDefined()
->method('addMethodCall');

/** @noinspection PhpParamsInspection */
/** @noinspection PhpUndefinedMethodInspection */
$this->pass->process($container);
}

Expand All @@ -58,6 +59,7 @@ public function testProcessWithoutListenersDoesNothing()
->method('addMethodCall');

/** @noinspection PhpParamsInspection */
/** @noinspection PhpUndefinedMethodInspection */
$this->pass->process($container);
}

Expand Down Expand Up @@ -88,6 +90,7 @@ public function testProcessIfListenerIsInvalidThrowsException()
->will($this->returnValue('stdClass'));

/** @noinspection PhpParamsInspection */
/** @noinspection PhpUndefinedMethodInspection */
$this->pass->process($container);
}

Expand Down Expand Up @@ -134,6 +137,7 @@ function ($srv) use ($listener, $browser) {
}

/** @noinspection PhpParamsInspection */
/** @noinspection PhpUndefinedMethodInspection */
$this->pass->process($container);
}
}
3 changes: 3 additions & 0 deletions Tests/DependencyInjection/Compiler/Fixture/BuzzListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
use Buzz\Message\MessageInterface;
use Buzz\Message\RequestInterface;

/**
* @SuppressWarnings("unused")
*/
class BuzzListener implements ListenerInterface
{
public function preSend(RequestInterface $request)
Expand Down

0 comments on commit 93f754e

Please sign in to comment.