nopolabs/yabot

View on GitHub
src/Plugin/StatusPlugin.php

Summary

Maintainability
A
0 mins
Test Coverage

Argument 1 (text) is int but \Nopolabs\Yabot\Message\Message::reply() takes string defined at /code/src/Message/Message.php:115
Open

        $msg->reply(count($map));
Severity: Minor
Found in src/Plugin/StatusPlugin.php by phan

Argument 1 (text) is int but \Nopolabs\Yabot\Message\Message::reply() takes string defined at /code/src/Message/Message.php:115
Open

        $msg->reply(count($map));
Severity: Minor
Found in src/Plugin/StatusPlugin.php by phan

Parameter $logger has undeclared type ?\Psr\Log\LoggerInterface
Open

    public function __construct(Yabot $yabot, LoggerInterface $logger = null)
Severity: Minor
Found in src/Plugin/StatusPlugin.php by phan

Argument 1 (text) is int but \Nopolabs\Yabot\Message\Message::reply() takes string defined at /code/src/Message/Message.php:115
Open

        $msg->reply(count($map));
Severity: Minor
Found in src/Plugin/StatusPlugin.php by phan

Expected 1 newline at end of file; 0 found
Open

}
Severity: Minor
Found in src/Plugin/StatusPlugin.php by phpcodesniffer

There are no issues that match your filters.

Category
Status