src/Exception/Generator.php
Method errorException
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $message = '', int $code = 0, int $severity = E_ERROR,
string $file = __FILE__, int $line = __LINE__, \Throwable $previous = null, int $offset = 2
Reference to undeclared constant \Mvc5\Exception\Generator::DOMAIN
Open
Open
return static::raise(static::create(static::DOMAIN, [$message, $code, $previous], $offset));
- Exclude checks
Possibly zero references to public method \Mvc5\Exception\Generator::errorException()
Open
Open
static function errorException(
- Exclude checks
Reference to undeclared constant \Mvc5\Exception\Generator::ERROR_EXCEPTION
Open
Open
static::instance(static::ERROR_EXCEPTION, [$message, $code, $severity, $file, $line, $previous]), $offset
- Exclude checks
Reference to undeclared constant \Mvc5\Exception\Generator::EXCEPTION
Open
Open
return static::raise(static::create(static::EXCEPTION, [$message, $code, $previous], $offset));
- Exclude checks
Possibly zero references to public method \Mvc5\Exception\Generator::runtime()
Open
Open
static function runtime(string $message = '', int $code = 0, \Throwable $previous = null, int $offset = 2)
- Exclude checks
Possibly zero references to public method \Mvc5\Exception\Generator::exception()
Open
Open
static function exception(string $message = '', int $code = 0, \Throwable $previous = null, int $offset = 2)
- Exclude checks
Reference to undeclared constant \Mvc5\Exception\Generator::RUNTIME
Open
Open
return static::raise(static::create(static::RUNTIME, [$message, $code, $previous], $offset));
- Exclude checks
Possibly zero references to public method \Mvc5\Exception\Generator::domain()
Open
Open
static function domain(string $message = '', int $code = 0, \Throwable $previous = null, int $offset = 2)
- Exclude checks
Reference to undeclared constant \Mvc5\Exception\Generator::INVALID_ARGUMENT
Open
Open
return static::raise(static::create(static::INVALID_ARGUMENT, [$message, $code, $previous], $offset));
- Exclude checks