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'       => 'what',    // the section ID

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

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

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

                'type'             => 'radio',

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

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

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

                'attributes'       => array(

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

            $text = parent::$options['how']['link_text'];

Expected 1 space before close parenthesis; 0 found
Open

            $str_info = (1 == parent::$options['how']['icons_only']) ? '' : sprintf( '%s',$document_type );

Space found before comma in function call
Open

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

Space found before comma in function call
Open

                , $str_info

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

                    'pdf' => 'PDF',

Space found before comma in function call
Open

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

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 "'field_id'" and double arrow, but found 9.
Open

                'field_id'         => 'placements',

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

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

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

                'title'            => __( 'Download link text', 'read-offline' ),

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

                    '1'                    => __( 'Yes', 'read-offline' ),

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

            $str_info = (1 == parent::$options['how']['icons_only']) ? '' : sprintf( '%s',$document_type );

Space found before comma in function call
Open

                , $post->post_name

Expected 1 space before close parenthesis; 0 found
Open

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

Expected 1 space between comma and "'print'"; 0 found
Open

                'default'          => array( 'pdf' => true, 'epub' => true, 'mobi' => true, 'docx' => false,'print' => true ),
Severity
Category
Status
Source
Language