wp-bootstrap/wp-bootstrap-gallery

View on GitHub

Showing 178 of 178 total issues

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

            /* One 3/4 width image with two 1/4 width images to the right. */
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

        $attachment_link = wp_get_attachment_link( $id, 'full', ! ( isset( $attr['link'] ) and 'file' === $attr['link'] ) );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Expected 1 space between comma and "4"; 0 found
Open

            $span_array = array( 8,4,4 );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Spaces must be used for mid-line alignment; tabs are not allowed
Open

        'exclude'        => '',
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            'post_status'        => 'inherit',
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Spaces must be used for mid-line alignment; tabs are not allowed
Open

            'exclude'            => $exclude,
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            'post_mime_type'    => 'image',
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            'order'                => $order,
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Expected 1 space after open parenthesis; 0 found
Open

    $float        = (is_rtl()) ? 'right' : 'left';
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Expected 1 space between comma and "4"; 0 found
Open

            $span_array = array( 8,4,4,4,4,4 );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Expected 1 space between comma and "4"; 0 found
Open

            $span_array = array( 8,4,4,4,4,4 );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Spaces must be used for mid-line alignment; tabs are not allowed
Open

        'order'            => 'ASC',
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Spaces must be used for mid-line alignment; tabs are not allowed
Open

            'orderby'            => $orderby,
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            $span_array = array( 8,4,4,4,4,4 );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Please spell "WordPress" correctly. Found 1 misspelling(s): Wordpress
Open

 * Description: A custom Wordpress gallery for dynamic thumbnail layout using Twitter Bootstrap 2 thumbnail layouts.
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

        'include'        => '',
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            'order'                => $order,
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Spaces must be used for mid-line alignment; tabs are not allowed
Open

            'orderby'            => $orderby,
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

Spaces must be used for mid-line alignment; tabs are not allowed
Open

            'post_mime_type'    => 'image',
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            'post_parent'        => $id,
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer
Severity
Category
Status
Source
Language