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

            if ( ! is_int( array_search( $a, $payload['authors'], true ) ) ) {
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_send_json_error( 'required fields not sent', 400 );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

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

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

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

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

        $key   = sanitize_key( $expl[1] );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    wp_send_json( $payload );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        $key   = sanitize_key( $expl[1] );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    if ( $issued ) {
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

            'family' => $a[1],
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

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

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

            if ( ! is_int( array_search( $a, $payload['authors'], true ) ) ) {
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

    $article = $xpath->query( '//meta[ starts-with( @property, "article:" ) ]' );
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

            $payload['issued'] = esc_attr( $issued->getAttribute( 'content' ) );
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

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