chemiker/e.nigma-2015

View on GitHub

Showing 921 of 921 total issues

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

                'type' => 'textarea',

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

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

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

        private static function get_text_for_archive_page() {

Expected 0 spaces before closing bracket; 1 found
Open

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

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

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

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

                        'settings' => 'enigma_2015_header_link_color',

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

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

Method name "Widgets::widgets_init" is not in camel caps format
Open

        public static function widgets_init() {

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

add_filter('oembed_dataparse', function ( $return, $data, $url ) {
Severity: Minor
Found in src/theme/functions.php by phpcodesniffer

Terminating statement must be indented to the same level as the CASE body
Open

                break;

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

            $wp_customize->add_control(    new \WP_Customize_Color_Control($wp_customize, 'enigma_2015_header_link_color', array(

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

                        'section' => 'colors',

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

                'section' => 'enigma_2015_information',

Expected 0 spaces before closing bracket; 1 found
Open

                <?php if ( get_header_image() ) : ?>
Severity: Minor
Found in src/theme/header.php by phpcodesniffer

The closing brace for the class must go on the next line after the body
Open

    }

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

    class Widgets {

Expected 0 spaces before closing bracket; 1 found
Open

if ( ! isset( $content_width ) )
Severity: Minor
Found in src/theme/functions.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

            if ( ! empty($categories) ) {

There must be no space before the colon in a DEFAULT statement
Open

                default :
Severity
Category
Status
Source
Language