soderlind/read-offline

View on GitHub

Showing 1,262 of 1,262 total issues

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

        $the_excerpt = $the_post->post_content; //Gets post_content to be used as a basis for the excerpt
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

Array double arrow not aligned correctly; expected 6 space(s) between "'hidden'" and double arrow, but found 11.
Open

                'hidden'           => true,

Found precision alignment of 2 spaces.
Open

                      '0'                          => __( 'None', 'read-offline' ),

Found precision alignment of 2 spaces.
Open

                      '#fieldrow-print_css' => __( 'Custom CSS (added below)', 'read-offline' ),

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

                'attributes'       => array(

Array double arrow not aligned correctly; expected 4 space(s) between "'options'" and double arrow, but found 10.
Open

                'options'          => array(

Found precision alignment of 2 spaces.
Open

                  // 'language'            => 'css', // available languages https://github.com/ajaxorg/ace/tree/master/lib/ace/mode

Found precision alignment of 2 spaces.
Open

                  'gutter'                 => true,

Found precision alignment of 1 spaces.
Open

             )

Array closer not aligned correctly; expected 12 space(s) but found 13
Open

             )

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

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

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

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

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

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

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

        $the_post = get_post( $post_id ); //Gets post ID
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

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

            array_pop( $words );
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

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

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

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

                   'help'              => __( 'Help text', 'read-offline' ),

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

                'title'            => __( 'Print Style', 'read-offline' ),

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

                'type'             => 'ace',

Equals sign not aligned with surrounding assignments; expected 2 spaces but found 3 spaces
Open

        $this->html   = '<h1 class="entry-title">' . get_the_title( $post->ID ) . '</h1>';
Severity
Category
Status
Source
Language