desrosj/respect-art-direction

View on GitHub

Showing 34 of 34 total issues

Function exports has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function( grunt ) {

    'use strict';
    var banner = '/**\n * <%= pkg.homepage %>\n * Copyright (c) <%= grunt.template.today("yyyy") %>\n * This file is generated automatically. Do not edit.\n */\n';

Severity: Minor
Found in Gruntfile.js - About 1 hr to fix

    Method rad_plugins_loaded has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function rad_plugins_loaded() {
        /*
         * Register breakpoints.
         */
        rad_add_breakpoint( 'rad_large', '(min-width: 1001px)' );
    Severity: Minor
    Found in respect-art-direction.php - About 1 hr to fix

      Method rad_post_thumbnail_html has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      function rad_post_thumbnail_html( $html, $post_id, $post_thumbnail_id, $size, $attr ) {
      Severity: Minor
      Found in functions-display.php - About 35 mins to fix

        "include_once" is a statement not a function; no parentheses are required
        Open

        include_once( 'functions-breakpoints.php' );
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

        "include_once" is a statement not a function; no parentheses are required
        Open

        include_once( 'functions-media-sets.php' );
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

        Each array item in a multi-line array declaration must end in a comma
        Open

                    'custom1_small_size'
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

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

                'rad_small' => array(
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

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

         *         'source_list_1',
        Severity: Minor
        Found in functions-media-sets.php by phpcodesniffer

        File is being unconditionally included; use "require_once" instead
        Open

        include_once( 'functions-display.php' );
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

        "include_once" is a statement not a function; no parentheses are required
        Open

        include_once( 'functions-source-lists.php' );
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

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

         *     'breakpoint-name-1' => array(
        Severity: Minor
        Found in functions-media-sets.php by phpcodesniffer

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

                'default' => array(
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

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

         *         'source_list_2',
        Severity: Minor
        Found in functions-media-sets.php by phpcodesniffer

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

                'default' => array(
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

        File is being unconditionally included; use "require_once" instead
        Open

        include_once( 'functions-breakpoints.php' );
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

        "include_once" is a statement not a function; no parentheses are required
        Open

        include_once( 'functions-display.php' );
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

        Each array item in a multi-line array declaration must end in a comma
        Open

                '<picture>'
        Severity: Minor
        Found in functions-display.php by phpcodesniffer

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

         *     )
        Severity: Minor
        Found in functions-media-sets.php by phpcodesniffer

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

                'rad_large' => array(
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer

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

                'rad_small' => array(
        Severity: Minor
        Found in respect-art-direction.php by phpcodesniffer
        Severity
        Category
        Status
        Source
        Language