Showing 285 of 286 total issues
Return type of startConnectionMonitor()
is undeclared type \React\EventLoop\Timer\TimerInterface
Open
Open
protected function startConnectionMonitor()
- Exclude checks
Call to method error
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->error($error->getMessage());
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Component\DependencyInjection\Loader\YamlFileLoader
Open
Open
$loader = new YamlFileLoader($this, new FileLocator());
- Exclude checks
Call to method info
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->info('Reconnected');
- Exclude checks
Call to method info
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->info('Connected.');
- Exclude checks
Call to undeclared method \Nopolabs\Yabot\YabotContainer::getParameterBag
Open
Open
$this->getParameterBag()->add($parameters);
- Exclude checks
Call to method load
from undeclared class \Dotenv\Dotenv
Open
Open
$dotenv->load();
- Exclude checks
Call to method error
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->error('Reconnect failed, shutting down.');
- Exclude checks
Parameter $error
has undeclared type \React\Promise\Timer\timeoutexception
Open
Open
->otherwise(function (Timer\TimeoutException $error) {
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Component\DependencyInjection\Loader\XmlFileLoader
Open
Open
$loader = new XmlFileLoader($this, new FileLocator());
- Exclude checks
Parameter $authedUser
has undeclared type \Slack\User
Open
Open
$slack->update(function(User $authedUser) {
- Exclude checks
Argument 1 (hour)
is string
but \DateTime::setTime()
takes int
Open
Open
$then->setTime($then->format('H'), 0, 0);
- Exclude checks
Call to undeclared method \Nopolabs\Yabot\YabotContainer::get
Open
Open
$yabot = $this->get(self::YABOT_ID);
- Exclude checks
Call to method __construct
from undeclared class \Dotenv\Dotenv
Open
Open
$dotenv = new Dotenv(__DIR__);
- Exclude checks
Class extends undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
class YabotContainer extends ContainerBuilder
- Exclude checks
Call to undeclared method \Nopolabs\Yabot\YabotContainer::hasParameter
Open
Open
return $this->hasParameter($name) ? $this->getParameter($name) : $default;
- Exclude checks
Call to method error
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->error("Unknown connection_monitor.failure_strategy '$failureStrategy'");
- Exclude checks
Call to method run
from undeclared class \React\EventLoop\LoopInterface
Open
Open
$this->getLoop()->run();
- Exclude checks
Call to undeclared method \Nopolabs\Yabot\YabotContainer::get
Open
Open
$plugins[$pluginId] = $this->get($pluginId);
- Exclude checks
Call to method toJson
from undeclared class \Slack\Payload
Open
Open
$this->getLog()->info($payload->toJson());
- Exclude checks