nopolabs/yabot

View on GitHub

Showing 285 of 286 total issues

Return type of startConnectionMonitor() is undeclared type \React\EventLoop\Timer\TimerInterface
Open

    protected function startConnectionMonitor()
Severity: Minor
Found in src/Yabot.php by phan

Call to method error from undeclared class \Psr\Log\LoggerInterface
Open

                $this->getLog()->error($error->getMessage());
Severity: Critical
Found in src/Yabot.php by phan

Call to method __construct from undeclared class \Symfony\Component\DependencyInjection\Loader\YamlFileLoader
Open

        $loader = new YamlFileLoader($this, new FileLocator());
Severity: Critical
Found in src/YabotContainer.php by phan

Call to method info from undeclared class \Psr\Log\LoggerInterface
Open

                $this->getLog()->info('Reconnected');
Severity: Critical
Found in src/Yabot.php by phan

Call to method info from undeclared class \Psr\Log\LoggerInterface
Open

                $this->getLog()->info('Connected.');
Severity: Critical
Found in src/Yabot.php by phan

Call to undeclared method \Nopolabs\Yabot\YabotContainer::getParameterBag
Open

        $this->getParameterBag()->add($parameters);
Severity: Critical
Found in src/YabotContainer.php by phan

Call to method load from undeclared class \Dotenv\Dotenv
Open

$dotenv->load();
Severity: Critical
Found in yabot.php by phan

Call to method error from undeclared class \Psr\Log\LoggerInterface
Open

                $this->getLog()->error('Reconnect failed, shutting down.');
Severity: Critical
Found in src/Yabot.php by phan

Parameter $error has undeclared type \React\Promise\Timer\timeoutexception
Open

            ->otherwise(function (Timer\TimeoutException $error) {
Severity: Minor
Found in src/Yabot.php by phan

Call to method __construct from undeclared class \Symfony\Component\DependencyInjection\Loader\XmlFileLoader
Open

        $loader = new XmlFileLoader($this, new FileLocator());
Severity: Critical
Found in src/YabotContainer.php by phan

Parameter $authedUser has undeclared type \Slack\User
Open

        $slack->update(function(User $authedUser) {
Severity: Minor
Found in src/Yabot.php by phan

Argument 1 (hour) is string but \DateTime::setTime() takes int
Open

        $then->setTime($then->format('H'), 0, 0);
Severity: Minor
Found in src/Yabot.php by phan

Call to undeclared method \Nopolabs\Yabot\YabotContainer::get
Open

        $yabot = $this->get(self::YABOT_ID);
Severity: Critical
Found in src/YabotContainer.php by phan

Call to method __construct from undeclared class \Dotenv\Dotenv
Open

$dotenv = new Dotenv(__DIR__);
Severity: Critical
Found in yabot.php by phan

Class extends undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open

class YabotContainer extends ContainerBuilder
Severity: Critical
Found in src/YabotContainer.php by phan

Call to undeclared method \Nopolabs\Yabot\YabotContainer::hasParameter
Open

        return $this->hasParameter($name) ? $this->getParameter($name) : $default;
Severity: Critical
Found in src/YabotContainer.php by phan

Call to method error from undeclared class \Psr\Log\LoggerInterface
Open

                $this->getLog()->error("Unknown connection_monitor.failure_strategy '$failureStrategy'");
Severity: Critical
Found in src/Yabot.php by phan

Call to method run from undeclared class \React\EventLoop\LoopInterface
Open

        $this->getLoop()->run();
Severity: Critical
Found in src/Yabot.php by phan

Call to undeclared method \Nopolabs\Yabot\YabotContainer::get
Open

                $plugins[$pluginId] = $this->get($pluginId);
Severity: Critical
Found in src/YabotContainer.php by phan

Call to method toJson from undeclared class \Slack\Payload
Open

                    $this->getLog()->info($payload->toJson());
Severity: Critical
Found in src/Yabot.php by phan
Severity
Category
Status
Source
Language