soderlind/plugin-customizer

View on GitHub

Showing 122 of 122 total issues

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

Found precision alignment of 2 spaces.
Open

      height: 100%;
Severity: Minor
Found in templates/title.php by phpcodesniffer

Space found before comma in function call
Open

        $src = plugins_url( 'js/plugin-customizer-init.js' ,  __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

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

                'title'            => __( 'Title', 'plugin-customizer' ),
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

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

                'default'        => __( 'The Wizard of Oz', 'plugin-customizer' ),
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

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

            $this->slug = $slug;
Severity: Minor
Found in src/Blank_Slate.php by phpcodesniffer

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

            $this->root = plugin_dir_path( __FILE__ );
Severity: Minor
Found in src/Plugin_Customizer.php by phpcodesniffer

Found precision alignment of 1 spaces.
Open

             $wp_rewrite->rules = $new_rules + $wp_rewrite->rules;
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/title.php by phpcodesniffer

Spaces must be used for mid-line alignment; tabs are not allowed
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 4 space(s) between "'label'" and double arrow, but found 1.
Open

                'label' => __( 'Content', 'plugin-customizer' ),
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

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

                    'queryParamName' => $this->slug,
Severity: Minor
Found in src/Blank_Slate.php by phpcodesniffer

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

         * @param   string    $template plugin_root to the template
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

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

            $template = basename( $template, '.php' );
Severity: Minor
Found in src/Plugin_Customizer.php by phpcodesniffer

Found precision alignment of 2 spaces.
Open

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

Found precision alignment of 2 spaces.
Open

      justify-content: center;
Severity: Minor
Found in templates/newsletter.php by phpcodesniffer
Severity
Category
Status
Source
Language