src/Helpers/LogTrait.php
Call to method emergency
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->emergency($message, $context);
- Exclude checks
Call to method critical
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->critical($message, $context);
- Exclude checks
Parameter $log
has undeclared type ?\Psr\Log\LoggerInterface
Open
Open
protected function setLog(LoggerInterface $log = null)
- Exclude checks
Call to method __construct
from undeclared class \Psr\Log\NullLogger
Open
Open
$this->log = $log ?? new NullLogger();
- Exclude checks
Call to method info
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->info($message, $context);
- Exclude checks
Call to method warning
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->warning($message, $context);
- Exclude checks
Call to method alert
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->alert($message, $context);
- Exclude checks
Call to method error
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->error($message, $context);
- Exclude checks
Call to method log
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->log($level, $message, $context);
- Exclude checks
Return type of getLog()
is undeclared type \Psr\Log\LoggerInterface
Open
Open
protected function getLog() : LoggerInterface
- Exclude checks
Call to method notice
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->notice($message, $context);
- Exclude checks
Call to method debug
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$this->getLog()->debug($message, $context);
- Exclude checks
There must be one blank line after the namespace declaration Open
Open
namespace Nopolabs\Yabot\Helpers;
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks