chemiker/e.nigma-2015

View on GitHub

Showing 921 of 921 total issues

Expected 0 spaces before closing bracket; 1 found
Open

            if ( ! is_single() && has_excerpt() )

Incorrect spacing between default value and equals sign for argument "$class"; expected 1 but found 0
Open

        private static function get_class($format, $class='') {

Expected 0 spaces before closing bracket; 1 found
Open

            if ( $format == 'image' && has_post_thumbnail() )

Expected 0 spaces between opening bracket and argument "$format"; 1 found
Open

        public static function get_post_vars( $format = '' ) {

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

            ));

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

                'default' =>  get_template_directory_uri().'/screenshot.png',

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

                'label'    => __('Image', 'e.nigma-2015'),

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

        }

Space found before closing bracket of FOREACH loop
Open

            foreach ( $thecategories as $categorienumber => $category ) {

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

            $wp_customize->add_section('enigma_2015_information', array(

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

                'default' => __('Welcome to my blog', 'e.nigma-2015'),

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

                'type' => 'theme_mod',

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

                'sanitize_callback' => 'esc_url_raw'

Expected 0 spaces before closing bracket; 1 found
Open

    if ( $wp_query->max_num_pages > 1 ) :
Severity: Minor
Found in src/theme/index.php by phpcodesniffer

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

        <?php previous_posts_link(); \enigma\Content::Pagebar(); next_posts_link();    ?> </div>
Severity: Minor
Found in src/theme/index.php by phpcodesniffer

Method name "Content::get_class" is not in camel caps format
Open

        private static function get_class($format, $class='') {

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

                'type' => 'theme_mod',

Opening brace of a class must be on the line after the definition
Open

    class Helper {

Opening brace of a class must be on the line after the definition
Open

    class Widgets {

Incorrect spacing between argument "$class" and equals sign; expected 1 but found 0
Open

        private static function get_class($format, $class='') {
Severity
Category
Status
Source
Language