Showing 16 of 16 total issues
Function exports
has 148 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
/**
* Files added to WordPress SVN, don't include 'assets/**' here.
* @type {Array}
Array double arrow not aligned correctly; expected 1 space(s) between "'val'" and double arrow, but found 7. Open
Open
'val' => 'lorem',
- Exclude checks
Found precision alignment of 1 spaces. Open
Open
'my-permalink/(.*)$' => sprintf( 'index.php?my_permalink_variable_01=%s',$wp_rewrite->preg_index( 1 ) ),
- Exclude checks
Found precision alignment of 1 spaces. Open
Open
'my-permalink/([^/]+)/([^.]+).html$' => sprintf("index.php?my_permalink_variable_01=%s&my_permalink_variable_02=%s",$wp_rewrite->preg_index(1),$wp_rewrite->preg_index(2))
- Exclude checks
Array item not aligned correctly; expected 12 spaces but found 13 Open
Open
'my-permalink/(.*)$' => sprintf( 'index.php?my_permalink_variable_01=%s',$wp_rewrite->preg_index( 1 ) ),
- Exclude checks
Found precision alignment of 1 spaces. Open
Open
/*
- Exclude checks
Found precision alignment of 1 spaces. Open
Open
// a more complex permalink:
- Exclude checks
Class file names should be based on the class name with "class-" prepended. Expected class-my-permalink.php, but found my-permalink-demo.php. Open
Open
<?php
- Exclude checks
No space found after comma in function call Open
Open
printf( '<pre>%s</pre>',print_r( $wp_query->query_vars,true ) );
- Exclude checks
No space found after comma in function call Open
Open
'my-permalink/(.*)$' => sprintf( 'index.php?my_permalink_variable_01=%s',$wp_rewrite->preg_index( 1 ) ),
- Exclude checks
No space found after comma in function call Open
Open
return sprintf( '%s/my-permalink/%s',home_url(),$val );
- Exclude checks
No space found after comma in function call Open
Open
return sprintf( '%s/index.php?my_permalink_variable_01=%s',home_url(),$val );
- Exclude checks
No space found after comma in function call Open
Open
return sprintf( '%s/index.php?my_permalink_variable_01=%s',home_url(),$val );
- Exclude checks
No space found after comma in function call Open
Open
printf( '<pre>%s</pre>',print_r( $wp_query->query_vars,true ) );
- Exclude checks
No space found after comma in function call Open
Open
return sprintf( '<a href="%s">My permalink</a>',$this->my_permalink_url( $atts['val'] ) );
- Exclude checks
No space found after comma in function call Open
Open
return sprintf( '%s/my-permalink/%s',home_url(),$val );
- Exclude checks