desrosj/respect-art-direction

View on GitHub

Showing 34 of 34 total issues

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

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

Missing file doc comment
Open

<?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

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

Expected 7 spaces after parameter type; 1 found
Open

* @param string $breakpoint Breakpoint name.
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

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

* 'breakpoint-name-1' => array(
Severity: Minor
Found in functions-media-sets.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

Expected 7 spaces after parameter type; 1 found
Open

* @param string $name Media set name.
Severity: Minor
Found in functions-media-sets.php by phpcodesniffer

Avoid unused parameters such as '$attr'.
Open

function rad_post_thumbnail_html( $html, $post_id, $post_thumbnail_id, $size, $attr ) {
Severity: Minor
Found in functions-display.php by phpmd

Avoid unused parameters such as '$post_id'.
Open

function rad_post_thumbnail_html( $html, $post_id, $post_thumbnail_id, $size, $attr ) {
Severity: Minor
Found in functions-display.php by phpmd

'module' is not defined.
Open

module.exports = function( grunt ) {
Severity: Minor
Found in Gruntfile.js by eslint

'banner' is assigned a value but never used.
Open

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 by eslint
Severity
Category
Status
Source
Language