Showing 102 of 102 total issues
Call to method __construct
from undeclared class \Symfony\Component\Config\Definition\Builder\TreeBuilder
Open
Open
$treeBuilder = new TreeBuilder();
- Exclude checks
Call to undeclared method \NW\RequestLimitBundle\Tests\Unit\Utils\RestrictorTest::never
Open
Open
$storageManager->expects($this->never())->method('setItem');
- Exclude checks
Call to method set
from undeclared class \Memcached
Open
Open
return $this->_memcached->set($key, $expiresAt, 60 * 60 * 24 * 30);
- Exclude checks
Class extends undeclared class \PHPUnit_Framework_TestCase
Open
Open
class RestrictorTest extends \PHPUnit_Framework_TestCase
- Exclude checks
Call to method expects
from undeclared class \PHPUnit_Framework_MockObject_MockObject
Open
Open
$storageManager->expects($this->never())->method('setItem');
- Exclude checks
Call to method expects
from undeclared class \PHPUnit_Framework_MockObject_MockObject
Open
Open
$storageManager->expects($this->never())->method('getItem');
- Exclude checks
Parameter $response
has undeclared type \Symfony\Component\HttpFoundation\Response
Open
Open
public function collect(Request $request, Response $response, \Exception $exception = null)
- Exclude checks
Call to method fetchAll
from undeclared class \Memcached
Open
Open
return $this->_memcached->fetchAll();
- Exclude checks
Call to method getConnection
from undeclared class \Doctrine\ORM\EntityManager
Open
Open
$connection = $this->_em->getConnection();
- Exclude checks
Call to method getConnection
from undeclared class \Doctrine\ORM\EntityManager
Open
Open
$connection = $this->_em->getConnection();
- Exclude checks
Return type of getStorageManagerMock()
is undeclared type \PHPUnit_Framework_MockObject_MockObject
Open
Open
private function getStorageManagerMock($item = 'userId', $hasItem = false)
- Exclude checks
Call to undeclared method \NW\RequestLimitBundle\Tests\Unit\Utils\RestrictorTest::once
Open
Open
$storageManager->expects($this->once())
- Exclude checks
Parameter $request
has undeclared type \Symfony\Component\HttpFoundation\Request
Open
Open
public function collect(Request $request, Response $response, \Exception $exception = null)
- Exclude checks
Call to method getParameter
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
$providerType = $container->getParameter('nw_request_limit.provider_type');
- Exclude checks
Call to method setParameter
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
$container->setParameter('nw_request_limit.provider_type', $providerType);
- Exclude checks
@throws type of fetchAllItems
has undeclared type \Doctrine\DBAL\Driver\Exception
(Did you mean class \Exception) Open
Open
public function fetchAllItems()
- Exclude checks
Class implements undeclared interface \Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
Open
Open
class RestrictionsCollector implements DataCollectorInterface
- Exclude checks
Call to undeclared method \NW\RequestLimitBundle\DependencyInjection\NWRequestLimitExtension::processConfiguration
Open
Open
$config = $this->processConfiguration($configuration, $configs);
- Exclude checks
Parameter $container
has undeclared type \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
public function build(ContainerBuilder $container)
- Exclude checks
Method \NW\RequestLimitBundle\Storage\Provider\MySQLProvider::remove
is declared to return mixed
but has no return value Open
Open
public function remove($key)
- Exclude checks