wp-bootstrap/wp-bootstrap-gallery

View on GitHub

Showing 178 of 178 total issues

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

            $span_array = array( 12,4,4,4 );
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

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

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

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

            $span_array = array( 6,6,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( 6,6,4,4,4 );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            /* One full width image with two 1/2 width images underneath. All remaining images 1/3 width underneath. */
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( 12,6,6,4 );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            break;
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

extract() usage is highly discouraged, due to the complexity and unintended issues it might cause.
Open

    extract( shortcode_atts( array(
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

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

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

            'post_type'            => 'attachment',
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

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

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

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

    $columns    = intval( min( array( 8, $columns ) ) );
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( 6,6 );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

            $span_array = array( 12,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

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

Array double arrow not aligned correctly; expected 8 space(s) between "'orderby'" and double arrow, but found 11.
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( 12,4,4,4 );
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer

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

        case 5:
Severity: Minor
Found in wp-bootstrap-gallery.php by phpcodesniffer
Severity
Category
Status
Source
Language