source/Parser/DirectiveProcessors/AbstractDirectiveProcessor.php
Opening brace of a class must be on the line after the definition Open
Open
abstract class AbstractDirectiveProcessor implements DirectiveProcessorInterface {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $this->logger;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function matches(string $line): bool {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->logger = $logger;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getLogger(): ?LoggerInterface {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function __construct(?LoggerInterface $logger = null) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return (bool) preg_match('/^' . $this->getDirectiveName() . '\s*:\s+/isu', $line);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
use LogsIfAvailableTrait;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Opening brace should be on a new line Open
Open
public function getLogger(): ?LoggerInterface {
- Exclude checks
Opening brace should be on a new line Open
Open
public function matches(string $line): bool {
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct(?LoggerInterface $logger = null) {
- Exclude checks