chemiker/e.nigma-2015

View on GitHub

Showing 921 of 921 total issues

Expected 0 spaces before closing bracket; 1 found
Open

            if ($format == 'image' && $featured_image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ))

Space after opening parenthesis of function call prohibited
Open

    add_theme_support( 'title-tag' );
Severity: Minor
Found in src/theme/functions.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

add_action( 'the_content_more_link', function ($link) {
Severity: Minor
Found in src/theme/functions.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

    wp_enqueue_script( 'jquery-enigma', get_template_directory_uri() . '/js/jquery.enigma.min.js', array( 'jquery' ) );
Severity: Minor
Found in src/theme/functions.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

add_action( 'wp_enqueue_scripts', 'enigma_2015_scripts_init' );
Severity: Minor
Found in src/theme/functions.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

add_action( 'wp_enqueue_scripts', 'enigma_2015_scripts_init' );
Severity: Minor
Found in src/theme/functions.php by phpcodesniffer

Whitespace found at end of line
Open

<?php 
Severity: Minor
Found in src/theme/image.php by phpcodesniffer

Whitespace found at end of line
Open

<?php 
Severity: Minor
Found in src/theme/page.php by phpcodesniffer

Closing brace indented incorrectly; expected 4 spaces, found 0
Open

<?php endif; ?>
Severity: Minor
Found in src/theme/page.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

    $post_vars = \enigma\Content::get_post_vars( $format );

Opening parenthesis of a multi-line function call must be the last content on the line
Open

    <?php next_post_link( '<span class="post-navigation next-post">%link</span>', 

Space after opening parenthesis of function call prohibited
Open

    comments_template( '/comments.php', true );
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

            <?php echo apply_filters( 'the_content', $post_vars['content'] ); ?>
Severity: Minor
Found in src/theme/index.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

        <input id="s-<?php echo $form_id; ?>" type="search" class="search-field" placeholder="<?php echo esc_attr( 'Search &hellip;', 'e.nigma-2015' ) ?>" value="<?php echo get_search_query() ?>" name="s" title="<?php echo esc_attr( 'Search for:', 'e.nigma-2015' ) ?>" />
Severity: Minor
Found in src/theme/searchform.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    if ( comments_open() ) : ?>
Severity: Minor
Found in src/theme/page.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

    <input type="submit" class="search-submit" value="<?php echo esc_attr( 'Search', 'e.nigma-2015' ) ?>" />
Severity: Minor
Found in src/theme/searchform.php by phpcodesniffer

Multi-line function call not indented correctly; expected 4 spaces but found 5
Open

     ); ?>

Expected 0 spaces before closing bracket; 1 found
Open

<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
Severity: Minor
Found in src/theme/searchform.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

    <input type="submit" class="search-submit" value="<?php echo esc_attr( 'Search', 'e.nigma-2015' ) ?>" />
Severity: Minor
Found in src/theme/searchform.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

                <?php the_tags( '', '', '' ); ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer
Severity
Category
Status
Source
Language