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

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

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

            if ( strlen( $value ) > 50 ) {
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 ( ! isset( $_POST['state'], $_POST['post_id'] ) ) {
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

    }
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

        $payload['article'][ $key ] = $value;
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

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

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

        if ( $issued->hasAttribute( 'datetime' ) ) {
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

    $authors = $xpath->query( '//*[ @itemprop="author" ][ not( ancestor::*[ @itemtype="http://schema.org/Comment" ] ) ]' );
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 = explode( ' ', sanitize_text_field( $author->textContent ), 2 );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

            $a = explode( '|', $value, 2 );
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer

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

        if ( 'author' === $key ) {
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

            wp_json_encode( $state )
Severity: Minor
Found in src/php/endpoints.php by phpcodesniffer
Severity
Category
Status
Source
Language