chemiker/e.nigma-2015

View on GitHub
src/theme/image.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    <article <?php post_class(); ?>  <?php echo $post_vars['css'] ?>>
Severity: Minor
Found in src/theme/image.php by phpcodesniffer

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

            <?php echo wp_get_attachment_image( $post->ID, 'full' ); ?>
Severity: Minor
Found in src/theme/image.php by phpcodesniffer

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

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

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

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

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

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

Space after opening parenthesis of function call prohibited
Open

            <?php echo wp_get_attachment_image( $post->ID, 'full' ); ?>
Severity: Minor
Found in src/theme/image.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/image.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/image.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/image.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

            <?php echo wp_get_attachment_image( $post->ID, 'full' ); ?>
Severity: Minor
Found in src/theme/image.php by phpcodesniffer

Whitespace found at end of line
Open

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

There are no issues that match your filters.

Category
Status