t1gor/Robots.txt-Parser-Class

View on GitHub

Showing 1,364 of 1,364 total issues

Opening brace should be on a new line
Open

    public static function isValid(string $hostName): bool {
Severity: Minor
Found in source/Parser/HostName.php by phpcodesniffer

Opening brace should be on a new line
Open

    protected function parseURL($url) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    private function explodeCleanParamRule($rule) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function setHttpStatusCode(int $code): bool {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function getCleanParam(): array {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function getLog(): array {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function setUserAgent(string $userAgent) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    protected function checkRuleSwitch(string $rule, string $path): bool {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function getContent(): string {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    protected function __construct() {

Opening brace should be on a new line
Open

    private function checkHostRule($rule) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function filter($in, $out, &$consumed, $closing) {

Opening brace should be on a new line
Open

    public function getSitemaps(?string $userAgent = null): array {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function getRules(?string $userAgent = null) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function filter($in, $out, &$consumed, $closing) {

Opening brace should be on a new line
Open

    private function checkCleanParamRule($rule, $path) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function __destruct() {

Opening brace should be on a new line
Open

    public function render($eol = "\r\n") {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function getHost(?string $userAgent = null) {
Severity: Minor
Found in source/RobotsTxtParser.php by phpcodesniffer

Opening brace should be on a new line
Open

    public function filter($in, $out, &$consumed, $closing) {
Severity
Category
Status
Source
Language