soderlind/read-offline

View on GitHub

Showing 1,262 of 1,262 total issues

No space found after comma in function call
Open

            $to_filename = sprintf( '%s.%s',$post->post_name,$file_extention );
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
Open

                'description'      => __( 'Enter header text here. The following aliases can be used:', 'read-offline' ) . ' {DATE}, {TODAY}, {TITLE}, {AUTHOR}, {DOCURL}, {SITENAME} ' . __( 'and','read-offline' ) . ' {SITEURL}',

Whitespace found at end of line
Open

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

Expected 1 space after IF keyword; 0 found
Open

        if( (bool) self::$options['what']['formats']['pdf'] ) {
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
Open

                        $msg[] = sprintf( __( 'wp_upload_bits failed,  error: "<strong>%s</strong>','read-offline' ), $error );
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
Open

            $readoffline_url = self::query_url( $post_id,$post->post_name,$file_extention,true );
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
Open

                                parent::read_offline_download( $attached_file,$mime_type,wp_create_nonce( 'read-offline-download' ) );

No space found after comma in function call
Open

            wp_die( 'WP_Filesystem Error:' . print_r( $wp_filesystem,true ) ); }
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
Open

         'read-offline/([^/]+)/([^\.]+).(pdf|epub|mobi|docx|print)$' => sprintf( 'index.php?read_offline_id=%s&read_offline_name=%s&&read_offline_format=%s',$wp_rewrite->preg_index( 1 ),$wp_rewrite->preg_index( 2 ),$wp_rewrite->preg_index( 3 ) ),

No space found after comma in function call
Open

            $filename = sprintf( '%s.%s',$wp_query->query_vars['read_offline_name'],$wp_query->query_vars['read_offline_format'] );

No space found after comma in function call
Open

            $readoffline_url = self::query_url( $post_id,$post->post_name,$file_extention,true );
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
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

No space found after comma in function call
Open

            wp_die( 'WP_Filesystem Error:' . print_r( $wp_filesystem,true ) ); }
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
Open

         'read-offline/([^/]+)/([^\.]+).(pdf|epub|mobi|docx|print)$' => sprintf( 'index.php?read_offline_id=%s&read_offline_name=%s&&read_offline_format=%s',$wp_rewrite->preg_index( 1 ),$wp_rewrite->preg_index( 2 ),$wp_rewrite->preg_index( 3 ) ),

No space found after comma in function call
Open

                                parent::read_offline_download( $attached_file,$mime_type,wp_create_nonce( 'read-offline-download' ) );

No space found after comma in function call
Open

                add_action( 'save_post_' . $post_type, array( $this, 'save_as_attachment_to_post_type' ),10,2 );
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
Open

                site_url(),$post_id,$name,$format,
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
Open

                site_url(),$post_id,$name,$format,
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer

No space found after comma in function call
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

Whitespace found at end of line
Open

    
Severity: Minor
Found in inc/class-read-offline.php by phpcodesniffer
Severity
Category
Status
Source
Language