chemiker/e.nigma-2015

View on GitHub
src/theme/single.php

Summary

Maintainability
A
0 mins
Test Coverage

Expected 0 spaces before closing bracket; 1 found
Open

            if ( $numpages > 1 ) :
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

            '&laquo;<span class="screen-reader-text">%title</span>'
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            '&raquo;<span class="screen-reader-text">%title</span>'
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        <?php echo $post_vars['thumbnail'] ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $format = get_post_format();
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            wp_link_pages(array(
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                'next_or_number' => 'next_and_number',
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            <?php echo $post_vars['meta']; ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        </div>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        <?php previous_post_link(
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            '<span class="post-navigation previous-post">%link</span>',
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    <div class="modifyme single-page">
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        <?php next_post_link( '<span class="post-navigation next-post">%link</span>',
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    global $numpages;
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            endif;
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    </div>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

        ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        <div class="post-meta">
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

         ); ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    <span class="category enigma-icon" data-icon="<?php echo $post_vars['category_symbol']; ?>" aria-hidden="true"></span>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                'before' =>  '',
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

        <div class="pagebar sitepages">
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                'nextpagelink' => __('Next Page &raquo;', 'e.nigma-2015'),
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                'previouspagelink' => __('&laquo; Previous Page', 'e.nigma-2015'),
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                'pagelink' => '%',
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                comment_form();
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

                'after' => '',
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

            </div>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        </div>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

         ); ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            <div id="comment_reply_form">
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            );
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            <div class="tags">
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        <div id="comment_form">
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

            </div>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        <?php echo $post_vars['headline']; ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

        ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    $post_vars = \enigma\Content::get_post_vars( $format );
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            <span class="category enigma-icon" data-icon="&#61697;"></span>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        </div>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Line exceeds 120 characters; contains 122 characters
Open

    <span class="category enigma-icon" data-icon="<?php echo $post_vars['category_symbol']; ?>" aria-hidden="true"></span>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

            if ( $numpages > 1 ) :
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

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

Spaces must be used to indent lines; tabs are not allowed
Open

                'echo' => 1 )
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

    comments_template( '/comments.php', true );
Severity: Minor
Found in src/theme/single.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

Space after opening parenthesis of function call prohibited
Open

    $post_vars = \enigma\Content::get_post_vars( $format );
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

    $post_vars = \enigma\Content::get_post_vars( $format );
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

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

Multi-line function call not indented correctly; expected 8 spaces but found 9
Open

         ); ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
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 the_tags( '', '', '' ); ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

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>',
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 12
Open

            if ( $numpages > 1 ) :
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Expected 0 spaces after opening bracket; 1 found
Open

            if ( $numpages > 1 ) :
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

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

Expected 0 spaces after opening bracket; 1 found
Open

    if ( comments_open() ) : ?>
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/single.php by phpcodesniffer

Multi-line function call not indented correctly; expected 8 spaces but found 9
Open

         ); ?>
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

Expected 0 spaces before closing bracket; newline found
Open

            wp_link_pages(array(
Severity: Minor
Found in src/theme/single.php by phpcodesniffer

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

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

There are no issues that match your filters.

Category
Status