src/Plugin/MethodMatcher.php
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $name,
$isBot,
array $channels,
array $users,
array $patterns,
Parameter $logger
has undeclared type ?\Psr\Log\LoggerInterface
Open
Open
public function __construct(
- Exclude checks
Possibly zero references to use statement for classlike/namespace Message
(\Nopolabs\Yabot\Message\Message)
Open
Open
use Nopolabs\Yabot\Message\Message;
- Exclude checks
The closing parenthesis of a multi-line function declaration must be on a new line Open
Open
LoggerInterface $logger = null)
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Plugin;
- Exclude checks
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line Open
Open
{
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks