soderlind/read-offline

View on GitHub

Showing 1,262 of 1,262 total issues

Found precision alignment of 1 spaces.
Open

                 'post' => 1,
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Tabs must be used to indent lines; spaces are not allowed
Open

        endif;
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Tabs must be used to indent lines; spaces are not allowed
Open

                        $msg[] = '</p></div>';
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Expected 1 space before close parenthesis; 0 found
Open

        $version = (isset( $options['version'] )) ? $options['version'] : '0';
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Expected 1 space after comma in function call; 13 found
Open

        add_filter( 'query_vars',             array( $this, 'query_vars' ) );

Array double arrow not aligned correctly; expected 8 space(s) between "'type'" and double arrow, but found 13.
Open

                'type'             => 'textarea',

Assignments must be the first block of code on a line
Open

                if ( false !== ( $ref = $node->getAttribute( 'href' ) ) && false !== stristr( $ref, 'note' ) ) {

Tabs must be used to indent lines; spaces are not allowed
Open

            3,  // [] png
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Tabs must be used to indent lines; spaces are not allowed
Open

            case 6 :
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Tabs must be used to indent lines; spaces are not allowed
Open

        $the_excerpt = strip_tags( strip_shortcodes( $the_excerpt ) ); //Strips tags and images
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
Open

        $the_excerpt = strip_tags( strip_shortcodes( $the_excerpt ) ); //Strips tags and images
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Open

                            $msg[] = sprintf( __( 'Unable to create directory "<strong>%s</strong>". Is its parent directory writable by the server?','read-offline' ), $path );
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Tabs must be used to indent lines; spaces are not allowed
Open

                            echo implode( PHP_EOL, $msg );
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Array double arrow not aligned correctly; expected 1 space(s) between "'select'" and double arrow, but found 15.
Open

                    'select'               => array(

Array double arrow not aligned correctly; expected 2 space(s) between "'attributes'" and double arrow, but found 7.
Open

                'attributes'       => array(

Array double arrow not aligned correctly; expected 17 space(s) between "'title'" and double arrow, but found 12.
Open

                'title'            => '<span class="warning">' . __( 'Please report issues', 'read-offline' ) . '</span>',

Array double arrow not aligned correctly; expected 18 space(s) between "'href'" and double arrow, but found 13.
Open

                'href'             => 'https://github.com/soderlind/read-offline/issues/new',

Array double arrow not aligned correctly; expected 12 space(s) between "'capability'" and double arrow, but found 7.
Open

                'capability'       => null,

Found precision alignment of 1 spaces.
Open

                     '0' == parent::$options['pdf_header']['default_header'][1] &&

Tabs must be used to indent lines; spaces are not allowed
Open

            1,  // [] gif
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer
Severity
Category
Status
Source
Language