soderlind/read-offline

View on GitHub

Showing 1,262 of 1,262 total issues

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

                'section_id'       => 'how',

Expected 1 space before close parenthesis; 0 found
Open

                , ('print' == $type) ? __( 'Print','read-offline' ) : __( 'Download','read-offline' )

Expected 1 space after open parenthesis; 0 found
Open

                , ('print' == $type) ? sprintf( '<iframe style="display:none;" id="read_offline_print" name="read_offline_print" src="%s"></iframe>',parent::query_url( $post->ID,$post->post_name,$type ) ) : ''

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

                'section_id'       => 'where',

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

                'operator'              => 'and',

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

                'page_slug'        => 'read_offline_options',    // the page slug that the section belongs to

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

                'default'          => '0',

Found precision alignment of 2 spaces.
Open

              . $content;

Concat operator must be surrounded by a single space
Open

        return  get_bloginfo( 'name' ).' &bull; Admin &bull; Read Offline &bull; ' . $title;

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

                'title'            => __( 'What', 'read-offline' ),// the section title

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

                'field_id'         => 'formats',

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

                'section_id'       => 'what',

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

                'title'            => 'Placements',

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

                    'top'                  => true,

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

                    'style'                 => 'width:600px;max-width:600px;height:100%;max-height:200px;',

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

            'print' => __( 'Print',         'read-offline' ),

Space found before comma in function call
Open

                , parent::query_url( $post->ID,$post->post_name,$type )

Space found before comma in function call
Open

                , ('print' == $type) ? '' : $type

Expected 1 space before close parenthesis; 0 found
Open

                , ('print' == $type) ? 'onclick="read_offline_print_me();return false;"': ''

Array item not aligned correctly; expected 16 spaces but found 17
Open

                 'post' => 1,
Severity
Category
Status
Source
Language