t1gor/Robots.txt-Parser-Class

View on GitHub
source/Parser/DirectiveProcessorsFactory.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 14 of 14 total issues

Opening brace of a class must be on the line after the definition
Open

abstract class DirectiveProcessorsFactory {

Spaces must be used to indent lines; tabs are not allowed
Open

new CleanParamProcessor($logger),

Spaces must be used to indent lines; tabs are not allowed
Open

return [

Spaces must be used to indent lines; tabs are not allowed
Open

new HostProcessor($logger),

Spaces must be used to indent lines; tabs are not allowed
Open

new CrawlDelayProcessor($logger),

Spaces must be used to indent lines; tabs are not allowed
Open

new CacheDelayProcessor($logger),

Spaces must be used to indent lines; tabs are not allowed
Open

new SitemapProcessor($logger),

Spaces must be used to indent lines; tabs are not allowed
Open

public static function getDefault(?LoggerInterface $logger = null): array {

Spaces must be used to indent lines; tabs are not allowed
Open

new AllowProcessor($logger),

Spaces must be used to indent lines; tabs are not allowed
Open

];

Spaces must be used to indent lines; tabs are not allowed
Open

new UserAgentProcessor($logger),

Spaces must be used to indent lines; tabs are not allowed
Open

new DisallowProcessor($logger),

Spaces must be used to indent lines; tabs are not allowed
Open

}

Opening brace should be on a new line
Open

public static function getDefault(?LoggerInterface $logger = null): array {
Category
Status