soderlind/plugin-customizer

View on GitHub

Showing 122 of 122 total issues

Found precision alignment of 2 spaces.
Open

      align-items: center;
Severity: Minor
Found in templates/title.php by phpcodesniffer

Found precision alignment of 2 spaces.
Open

      justify-content: center;
Severity: Minor
Found in templates/title.php by phpcodesniffer

Expected 1 space after comma in function call; 3 found
Open

define( 'PLUGIN_CUSTOMIZER_DEMO_PATH',   plugin_dir_path( __FILE__ ) );
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
Open

        $deps = array( 'customize-preview', 'jquery' );
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

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

                'priority'        => 5,
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Array double arrow not aligned correctly; expected 2 space(s) between "'capability'" and double arrow, but found 4.
Open

                'capability'    => 'manage_options',
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Array double arrow not aligned correctly; expected 4 space(s) between "'priority'" and double arrow, but found 6.
Open

                'priority'        => 10,
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Array double arrow not aligned correctly; expected 1 space(s) between "'capability'" and double arrow, but found 4.
Open

                'capability'    => 'manage_options',
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

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

                'type'            => 'option',
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Array double arrow not aligned correctly; expected 2 space(s) between "'transport'" and double arrow, but found 5.
Open

                'transport'     => 'postMessage',
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
Open

                $ver = false;
Severity: Minor
Found in src/Blank_Slate.php by phpcodesniffer

Array double arrow not aligned correctly; expected 4 space(s) between "'default'" and double arrow, but found 7.
Open

                'default'        => 'This was to be an eventful day for the travelers.  They had hardly been walking an hour when they saw before them a great ditch that crossed the road and divided the forest as far as they could see on either side.  It was a very wide ditch, and when they crept up to the edge and looked into it they could see it was also very deep, and there were many big, jagged rocks at the bottom.  The sides were so steep that none of them could climb down, and for a moment it seemed that their journey must end. "What shall we do?" asked Dorothy despairingly. "I haven\'t the faintest idea," said the Tin Woodman, and the Lion shook his shaggy mane and looked thoughtful.', //esc_html( '<p> Nulla laoreet erat vitae aliquet tristique. Quisque quis suscipit enim, a elementum eros. Vestibulum quis lacus ligula. Mauris sit amet nibh tincidunt, gravida tortor ac, maximus nisi. Nunc turpis mauris, blandit vitae nibh non, blandit pharetra purus. Sed sed convallis diam. In ante nisi, pellentesque in laoreet at, fringilla ac neque. </p> <p> Cras consequat eros lectus, ac dignissim justo cursus ac. In mi tortor, ornare eu quam a, ultrices tincidunt magna. Fusce non purus quis ex convallis vehicula. Aenean purus diam, vulputate vel pellentesque ultrices, tincidunt ac lectus. Nullam est purus, lobortis ac aliquam eget, egestas a diam. Praesent eget sapien vitae orci faucibus tempus. Ut sit amet lorem elit. Curabitur et vestibulum nibh. </p> <p> Mauris vestibulum eget nisl sit amet gravida. Nullam in orci ut sem maximus dapibus blandit quis dolor. Sed pretium efficitur elit, eget vulputate sapien bibendum non. Proin congue posuere sagittis. Ut fermentum mauris ut gravida faucibus. Aenean a malesuada magna. Vestibulum nec viverra metus. Nunc aliquam eros orci, ut malesuada felis malesuada vitae. Phasellus vehicula non ex at scelerisque. </p>' ),
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Equals sign not aligned with surrounding assignments; expected 9 spaces but found 2 spaces
Open

            $this->url  = plugins_url( '/', __FILE__ );
Severity: Minor
Found in src/Plugin_Customizer.php by phpcodesniffer

Expected 1 space before opening brace; found 0
Open

            add_filter( 'pre_option_blogname', function(){
Severity: Minor
Found in src/Plugin_Customizer.php by phpcodesniffer

Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
Open

            $deps = array( 'customize-controls' );
Severity: Minor
Found in src/Plugin_Customizer.php by phpcodesniffer

Found precision alignment of 2 spaces.
Open

                  sprintf( '%s/templates/(.*)$', $this->slug ) => sprintf( 'index.php?plugin-customizer-template-%s=%s', $this->slug, $wp_rewrite->preg_index( 1 ) ),
Severity: Minor
Found in src/Plugin_Customizer.php by phpcodesniffer

Found precision alignment of 2 spaces.
Open

      background-color: #333333;
Severity: Minor
Found in templates/content.php by phpcodesniffer

Found precision alignment of 2 spaces.
Open

      display: flex;
Severity: Minor
Found in templates/newsletter.php by phpcodesniffer

Expected 1 space after comma in function call; 2 found
Open

        $src = plugins_url( 'js/plugin-customizer-init.js' ,  __FILE__ );
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Space found before comma in function call
Open

        wp_enqueue_script( $handle, $src, $deps, $version , $in_footer );
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer
Severity
Category
Status
Source
Language