dsifford/academic-bloggers-toolkit

View on GitHub

Showing 1,811 of 1,811 total issues

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

    // Last ditch effort to get a title of the site.
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        '_abt_state',
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    foreach ( $abt as $node ) {
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        $value = sanitize_text_field( $node->getAttribute( 'content' ) );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        $title = $xpath->query( '/html/head/title' )->item( 0 );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    check_ajax_referer( 'abt-ajax' );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    }
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        wp_slash(
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        $payload['title'] = sanitize_text_field( $title->textContent );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    $state   = json_decode( wp_unslash( $_POST['state'] ) ); // phpcs:ignore
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        }
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    if ( ! $payload['title'] ) {
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        }
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

            'given'  => $a[0],
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    }
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

            ];
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

     */
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    }
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

            $a = [
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

            ];
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer
Severity
Category
Status
Source
Language