t1gor/Robots.txt-Parser-Class

View on GitHub
source/Parser/DirectiveProcessors/DirectiveProcessorInterface.php

Summary

Maintainability
A
0 mins
Test Coverage

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

interface DirectiveProcessorInterface {

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

    public function matches(string $line): bool;

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

    public function getDirectiveName(): string;

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

    public function __construct(?LoggerInterface $logger = null);

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

    public function process(string $line, array & $root, string & $currentUserAgent = '*', string $prevLine = '');

There are no issues that match your filters.

Category
Status