t1gor/Robots.txt-Parser-Class

View on GitHub
source/WarmingMessages.php

Summary

Maintainability
A
0 mins
Test Coverage

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

abstract class WarmingMessages {
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

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

        . 'See https://developers.google.com/search/reference/robots_txt#file-format for more info.';
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

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

    const INLINED_HOST = 'Inline host directive detected. URL not set, result may be inaccurate.';
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

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

    const ENCODING_NOT_UTF8 = 'Encoding you are passing is different from UTF-8. '
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

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

        . 'Google might be ignoring some parts of the file.'
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

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

    const SET_UA_DEPRECATED = 'Deprecated. Please check rules for exact user agent instead';
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

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

    const STRING_INIT_DEPRECATE = 'Please consider initializing parser with a stream, strings would be deprecated soon.';
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

    const STRING_INIT_DEPRECATE = 'Please consider initializing parser with a stream, strings would be deprecated soon.';
Severity: Minor
Found in source/WarmingMessages.php by phpcodesniffer

There are no issues that match your filters.

Category
Status