chemiker/e.nigma-2015

View on GitHub

Showing 921 of 921 total issues

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

    class Customizer {

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

                        'settings' => 'enigma_2015_header_link_color',

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

        public static function get_categories() {

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

        private static function get_meta($format) {

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

                case 'quote' : case 'link' :

Method name "Helper::add_next_and_number" is not in camel caps format
Open

        public static function add_next_and_number($args){

Expected 0 spaces before closing bracket; 1 found
Open

    if ( strrpos($link, 'href') )
Severity: Minor
Found in src/theme/functions.php by phpcodesniffer

TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
Open

            'container' => FALSE
Severity: Minor
Found in src/theme/footer.php by phpcodesniffer

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

                default :

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

                'title' => __('Information', 'e.nigma-2015'),

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

                 'sanitize_callback' => function ($text) { return $text; }

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

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

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

                        'section' => 'colors',

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

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

        public static function pagebar($displayedpages=6) {

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

        private static function get_headline($format) {

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

        private static function get_css($format, $css='') {

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

                'type' => 'textarea',

Expected 0 spaces before closing bracket; 1 found
Open

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