Showing 34 of 34 total issues
Function exports
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
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';
Method rad_plugins_loaded
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function rad_plugins_loaded() {
/*
* Register breakpoints.
*/
rad_add_breakpoint( 'rad_large', '(min-width: 1001px)' );
Method rad_post_thumbnail_html
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function rad_post_thumbnail_html( $html, $post_id, $post_thumbnail_id, $size, $attr ) {
"include_once" is a statement not a function; no parentheses are required Open
Open
include_once( 'functions-breakpoints.php' );
- Exclude checks
"include_once" is a statement not a function; no parentheses are required Open
Open
include_once( 'functions-media-sets.php' );
- Exclude checks
Each array item in a multi-line array declaration must end in a comma Open
Open
'custom1_small_size'
- Exclude checks
Array double arrow not aligned correctly; expected 2 space(s) between "'rad_small'" and double arrow, but found 1. Open
Open
'rad_small' => array(
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
* 'source_list_1',
- Exclude checks
File is being unconditionally included; use "require_once" instead Open
Open
include_once( 'functions-display.php' );
- Exclude checks
"include_once" is a statement not a function; no parentheses are required Open
Open
include_once( 'functions-source-lists.php' );
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
* 'breakpoint-name-1' => array(
- Exclude checks
Array double arrow not aligned correctly; expected 4 space(s) between "'default'" and double arrow, but found 1. Open
Open
'default' => array(
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
* 'source_list_2',
- Exclude checks
Array double arrow not aligned correctly; expected 4 space(s) between "'default'" and double arrow, but found 1. Open
Open
'default' => array(
- Exclude checks
File is being unconditionally included; use "require_once" instead Open
Open
include_once( 'functions-breakpoints.php' );
- Exclude checks
"include_once" is a statement not a function; no parentheses are required Open
Open
include_once( 'functions-display.php' );
- Exclude checks
Each array item in a multi-line array declaration must end in a comma Open
Open
'<picture>'
- Exclude checks
Spaces must be used for mid-line alignment; tabs are not allowed Open
Open
* )
- Exclude checks
Array double arrow not aligned correctly; expected 2 space(s) between "'rad_large'" and double arrow, but found 1. Open
Open
'rad_large' => array(
- Exclude checks
Array double arrow not aligned correctly; expected 2 space(s) between "'rad_small'" and double arrow, but found 1. Open
Open
'rad_small' => array(
- Exclude checks