chemiker/e.nigma-2015

View on GitHub
src/theme/functions/widgets.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        public static function widgets_init() {

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

    class Widgets {

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

    }

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

                'name' => __('Footer', 'e.nigma-2015'),

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

        }

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

            ));

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

            register_sidebar(array(

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

                'id' => 'footer'

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

    class Widgets {

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

    }

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

        public static function widgets_init() {

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

    namespace enigma;

Opening brace should be on a new line
Open

        public static function widgets_init() {

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 4 spaces, found 8
Open

        public static function widgets_init() {

Line indented incorrectly; expected 0 spaces, found 4
Open

    class Widgets {

There are no issues that match your filters.

Category
Status