public static function getSeverities() { return [self::SEVERITY_ERROR, self::SEVERITY_WARNING, self::SEVERITY_INFO, self::SEVERITY_IGNORE]; }
/** * @param FileSystem $fileSystem */ public function __construct(FileSystem $fileSystem) { $this->fileSystem = $fileSystem; $this->loggedSeverities = Violation::getSeverities(); }