soderlind/plugin-customizer

View on GitHub

Showing 122 of 122 total issues

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

                'description'    => __( 'Customize newsletter content', 'plugin-customizer' ),
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer

Found precision alignment of 2 spaces.
Open

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

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

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

Expected 1 space before opening brace; found 0
Open

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

Assignments must be the first block of code on a line
Open

            if ( $overridden_template = locate_template( "plugin-customizer/{$template}" ) ) {
Severity: Minor
Found in src/Plugin_Customizer.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

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

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

                $handle = 'plugin-customizer-blank-slate';
Severity: Minor
Found in src/Blank_Slate.php by phpcodesniffer

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

         *    2) [parent-theme]/plugin-customizer/
Severity: Minor
Found in src/Plugin_Customizer.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 3 spaces but found 1 space
Open

            $version = PLUGIN_CUSTOMIZER_VERSION;
Severity: Minor
Found in src/Plugin_Customizer.php by phpcodesniffer

Found precision alignment of 2 spaces.
Open

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

Spaces must be used for mid-line alignment; tabs are not allowed
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 "'priority'" and double arrow, but found 6.
Open

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

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

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

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

                'type'            => 'option',
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

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

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

Found precision alignment of 1 spaces.
Open

          * Add admin menu, You'll most likely only need one of them.
Severity: Minor
Found in plugin-customizer-demo.php by phpcodesniffer
Severity
Category
Status
Source
Language