Showing 102 of 102 total issues
Property \NW\RequestLimitBundle\Storage\Provider\MemcachedProvider->_memcached
has undeclared type \Memcached
Open
Open
private $_memcached;
- Exclude checks
Call to method __construct
from undeclared class \Memcached
Open
Open
$_memcached = new Memcached();
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Bundle\FrameworkBundle\FrameworkBundle
Open
Open
$bundles[] = new Symfony\Bundle\FrameworkBundle\FrameworkBundle();
- Exclude checks
Parameter $output
has undeclared type \Symfony\Component\Console\Output\OutputInterface
Open
Open
protected function execute(InputInterface $input, OutputInterface $output)
- Exclude checks
Call to undeclared method \NW\RequestLimitBundle\Command\MySQLProviderSetupCommand::getContainer
Open
Open
$connection = $this->getContainer()->get('doctrine.orm.default_entity_manager')->getConnection();
- Exclude checks
Call to method setParameter
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
$container->setParameter('nw_request_limit.provider_configuration', $providerConfiguration);
- Exclude checks
Call to method addCompilerPass
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
$container->addCompilerPass(new StoragePass());
- 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 addServer
from undeclared class \Memcached
Open
Open
$_memcached->addServer($memcachedHost, $memcachedPort);
- Exclude checks
Call to method load
from undeclared class \Symfony\Component\Config\Loader\LoaderInterface
Open
Open
$loader->load(__DIR__ . '/config.yml');
- Exclude checks
Call to undeclared method \NW\RequestLimitBundle\Tests\Unit\Utils\RestrictorTest::once
Open
Open
$storageManager->expects($this->once())
- Exclude checks
Call to undeclared method \NW\RequestLimitBundle\Command\MySQLProviderSetupCommand::setName
Open
Open
$this
- Exclude checks
Class extends undeclared class \Symfony\Component\HttpKernel\DependencyInjection\Extension
Open
Open
class NWRequestLimitExtension extends Extension
- Exclude checks
Call to method getDefinition
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
$storageManagerDefinition = $container->getDefinition('nw.request_limit.storage_manager');
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Component\Config\FileLocator
Open
Open
$loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
- Exclude checks
@throws type of get
has undeclared type \Doctrine\DBAL\Exception
(Did you mean class \Exception) Open
Open
public function get($key)
- Exclude checks
@throws type of set
has undeclared type \Doctrine\DBAL\Driver\Exception
(Did you mean class \Exception) Open
Open
public function set($key, $expiresAt)
- Exclude checks
Return type of getStorageManagerMock()
is undeclared type \PHPUnit_Framework_MockObject_MockObject
Open
Open
private function getStorageManagerMock($item = 'userId', $hasItem = false)
- Exclude checks
Method \NW\RequestLimitBundle\Storage\Provider\MySQLProvider::set
is declared to return mixed
but has no return value Open
Open
public function set($key, $expiresAt)
- Exclude checks
Call to method getConnection
from undeclared class \Doctrine\ORM\EntityManager
Open
Open
$connection = $this->_em->getConnection();
- Exclude checks