kpumuk/codecolorer

View on GitHub
codecolorer-admin.php

Summary

Maintainability
B
4 hrs
Test Coverage
F
0%

disableNotifications accesses the super-global variable $_GET.
Open

    private function disableNotifications()
    {
        if (isset($_GET['disable']) && in_array($_GET['disable'], array('concurrent', 'language'))) {
            update_option('codecolorer_' . $_GET['disable'] . '_notification', false);
        }
Severity: Minor
Found in codecolorer-admin.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

disableNotifications accesses the super-global variable $_GET.
Open

    private function disableNotifications()
    {
        if (isset($_GET['disable']) && in_array($_GET['disable'], array('concurrent', 'language'))) {
            update_option('codecolorer_' . $_GET['disable'] . '_notification', false);
        }
Severity: Minor
Found in codecolorer-admin.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

disableNotifications accesses the super-global variable $_GET.
Open

    private function disableNotifications()
    {
        if (isset($_GET['disable']) && in_array($_GET['disable'], array('concurrent', 'language'))) {
            update_option('codecolorer_' . $_GET['disable'] . '_notification', false);
        }
Severity: Minor
Found in codecolorer-admin.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

Method show has 103 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function show()
    {
        ?>

        <div class="wrap">
Severity: Major
Found in codecolorer-admin.php - About 4 hrs to fix

    The method show() has 125 lines of code. Current threshold is set to 100. Avoid really long methods.
    Open

        public function show()
        {
            ?>
    
            <div class="wrap">
    Severity: Minor
    Found in codecolorer-admin.php by phpmd

    Avoid using static access to class 'CodeColorerOptions' in method 'showLanguageWarning'.
    Open

            if (!in_array($locale, CodeColorerOptions::getLanguages())) {
    Severity: Minor
    Found in codecolorer-admin.php by phpmd

    StaticAccess

    Since: 1.4.0

    Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

    Example

    class Foo
    {
        public function bar()
        {
            Bar::baz();
        }
    }

    Source https://phpmd.org/rules/cleancode.html#staticaccess

    Avoid using static access to class 'CodeColorerOptions' in method 'showThemeSelectOptions'.
    Open

            foreach (CodeColorerOptions::getThemes() as $theme => $description) {
    Severity: Minor
    Found in codecolorer-admin.php by phpmd

    StaticAccess

    Since: 1.4.0

    Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

    Example

    class Foo
    {
        public function bar()
        {
            Bar::baz();
        }
    }

    Source https://phpmd.org/rules/cleancode.html#staticaccess

    Reference to undeclared property \CodeColorerAdmin->codecolorer
    Open

                $this->codecolorer->showWarning('language', __('CodeColorer translation is incomplete.', 'codecolorer'), sprintf($msgFormat, $locale, "https://kpumuk.info/projects/wordpress-plugins/codecolorer/#translation"));
    Severity: Minor
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                <h2>CodeColorer: <?php _e('Code Highlighting Options', 'codecolorer') ?></h2>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_width"><?php _e('Width', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \esc_html()
    Open

                                <input name="codecolorer_height" type="number" class="small-text" size="60" id="codecolorer_height" value="<?php echo esc_html(get_option('codecolorer_height')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_inline_theme"><?php _e('Inline Theme', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \__() (Did you mean _())
    Open

                $msgFormat = __('Your current locale is %1$s, and CodeColorer has incomplete or does not have a translation into your language. It would be great, if you have a time to <a href="%2$s">help us to translate</a> it.', 'codecolorer');
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('When code has more than &quot;Lines to Scroll&quot; lines, block height will be set to this value.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('Indicating how many spaces would represent TAB symbol.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_theme"><?php _e('Theme', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Reference to undeclared property \CodeColorerAdmin->codecolorer (Did you mean $codecolorer)
    Open

            $this->codecolorer = $codecolorer;
    Severity: Minor
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_lines_to_scroll"><?php _e('Lines to scroll', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_rss_width"><?php _e('Width in RSS', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \esc_html()
    Open

                                <input name="codecolorer_tab_size" type="number" class="small-text" size="60" id="codecolorer_tab_size" value="<?php echo esc_html(get_option('codecolorer_tab_size')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

            if (!get_option('codecolorer_language_notification')) {
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \settings_fields()
    Open

                    <?php settings_fields('codecolorer') ?>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \checked()
    Open

                                    <input name="codecolorer_line_numbers" type="checkbox" id="codecolorer_line_numbers" value="1" <?php checked(true, get_option('codecolorer_line_numbers')); ?> />
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \esc_html()
    Open

                                <textarea name="codecolorer_css_style" id="codecolorer_css_style" class="large-text code" rows="10" cols="60"><?php echo esc_html(get_option('codecolorer_css_style')) ?></textarea><br />
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('Default code block width. Integer means pixels, also you can specify <tt>em</tt> or <tt>%</tt> suffix. Could be omitted to use whole width.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_height"><?php _e('Height', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                    <?php $this->showThemeSelectOptions(get_option('codecolorer_inline_theme')) ?>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \esc_html()
    Open

                                <input name="codecolorer_css_class" type="text" class="regular-text code" size="60" id="codecolorer_css_class" value="<?php echo esc_html(get_option('codecolorer_css_class')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                    <?php $this->showThemeSelectOptions(get_option('codecolorer_theme')) ?>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('Default color scheme.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('Default color scheme for inline code blocks.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_css_style"><?php _e('Custom CSS Styles', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_locale() (Did you mean \setlocale())
    Open

            $locale = get_locale();
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                <textarea name="codecolorer_css_style" id="codecolorer_css_style" class="large-text code" rows="10" cols="60"><?php echo esc_html(get_option('codecolorer_css_style')) ?></textarea><br />
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \esc_html()
    Open

                                <input name="codecolorer_width" type="string" class="small-text" size="60" id="codecolorer_width" value="<?php echo esc_html(get_option('codecolorer_width')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                <input name="codecolorer_width" type="string" class="small-text" size="60" id="codecolorer_width" value="<?php echo esc_html(get_option('codecolorer_width')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                <input name="codecolorer_height" type="number" class="small-text" size="60" id="codecolorer_height" value="<?php echo esc_html(get_option('codecolorer_height')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                    <input name="codecolorer_disable_keyword_linking" type="checkbox" id="codecolorer_disable_keyword_linking" value="1" <?php checked(true, get_option('codecolorer_disable_keyword_linking')); ?> />
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \esc_html()
    Open

                                <input name="codecolorer_lines_to_scroll" type="number" class="small-text" size="60" id="codecolorer_lines_to_scroll" value="<?php echo esc_html(get_option('codecolorer_lines_to_scroll')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                    <h3><?php _e('Preview', 'codecolorer') ?></h3>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                        <input type="submit" class="button-primary" name="Submit" value="<?php _e('Save Options', 'codecolorer') ?> &raquo;" />
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \update_option()
    Open

                update_option('codecolorer_' . $_GET['disable'] . '_notification', false);
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><?php _e('Formatting', 'codecolorer') ?>:</th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('These custom CSS rules will be appended to the CodeColorer default CSS file.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                <input name="codecolorer_lines_to_scroll" type="number" class="small-text" size="60" id="codecolorer_lines_to_scroll" value="<?php echo esc_html(get_option('codecolorer_lines_to_scroll')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('If your code lines number is less than this value, block height would not be fixed. Set to <b>-1</b> to remove vertical scroll.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \esc_html()
    Open

                                <input name="codecolorer_rss_width" type="number" class="small-text" size="60" id="codecolorer_rss_width" value="<?php echo esc_html(get_option('codecolorer_rss_width')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                <input name="codecolorer_rss_width" type="number" class="small-text" size="60" id="codecolorer_rss_width" value="<?php echo esc_html(get_option('codecolorer_rss_width')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_tab_size"><?php _e('Tab size', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                    <?php _e('Disable keyword linking', 'codecolorer') ?>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                <input name="codecolorer_css_class" type="text" class="regular-text code" size="60" id="codecolorer_css_class" value="<?php echo esc_html(get_option('codecolorer_css_class')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                    <input name="codecolorer_line_numbers" type="checkbox" id="codecolorer_line_numbers" value="1" <?php checked(true, get_option('codecolorer_line_numbers')); ?> />
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_css_class"><?php _e('Custom CSS Classes', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                    <?php _e('Show line numbers', 'codecolorer') ?>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                            <th scope="row"><label for="codecolorer_css_style"><?php _e('Code Example', 'codecolorer') ?>:</label></th>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \__() (Did you mean _())
    Open

                $this->codecolorer->showWarning('language', __('CodeColorer translation is incomplete.', 'codecolorer'), sprintf($msgFormat, $locale, "https://kpumuk.info/projects/wordpress-plugins/codecolorer/#translation"));
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \screen_icon()
    Open

                <?php screen_icon(); ?>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('Default code block width in RSS. See Width option description.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \get_option()
    Open

                                <input name="codecolorer_tab_size" type="number" class="small-text" size="60" id="codecolorer_tab_size" value="<?php echo esc_html(get_option('codecolorer_tab_size')) ?>"/>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \checked()
    Open

                                    <input name="codecolorer_disable_keyword_linking" type="checkbox" id="codecolorer_disable_keyword_linking" value="1" <?php checked(true, get_option('codecolorer_disable_keyword_linking')); ?> />
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Call to undeclared function \_e() (Did you mean _())
    Open

                                <p class="description"><?php _e('These custom CSS classes will be appended to the wrapper HTML element.', 'codecolorer') ?></p>
    Severity: Critical
    Found in codecolorer-admin.php by phan

    Reference to undeclared property \CodeColorerAdmin->codecolorer
    Open

                                <?php echo $this->codecolorer->getSampleCodeHighlighted(); ?>
    Severity: Minor
    Found in codecolorer-admin.php by phan

    Each class must be in a namespace of at least one level (a top-level vendor name)
    Open

    class CodeColorerAdmin
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 140 characters
    Open

                            <th scope="row"><label for="codecolorer_lines_to_scroll"><?php _e('Lines to scroll', 'codecolorer') ?>:</label></th>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 200 characters
    Open

                                <input name="codecolorer_tab_size" type="number" class="small-text" size="60" id="codecolorer_tab_size" value="<?php echo esc_html(get_option('codecolorer_tab_size')) ?>"/>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 134 characters
    Open

                            <th scope="row"><label for="codecolorer_inline_theme"><?php _e('Inline Theme', 'codecolorer') ?>:</label></th>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 139 characters
    Open

                        <input type="submit" class="button-primary" name="Submit" value="<?php _e('Save Options', 'codecolorer') ?> &raquo;" />
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 147 characters
    Open

                                <p class="description"><?php _e('Default code block width in RSS. See Width option description.', 'codecolorer') ?></p>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 129 characters
    Open

                                <p class="description"><?php _e('Default color scheme for inline code blocks.', 'codecolorer') ?></p>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 131 characters
    Open

                            <th scope="row"><label for="codecolorer_css_style"><?php _e('Code Example', 'codecolorer') ?>:</label></th>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 242 characters
    Open

                $msgFormat = __('Your current locale is %1$s, and CodeColorer has incomplete or does not have a translation into your language. It would be great, if you have a time to <a href="%2$s">help us to translate</a> it.', 'codecolorer');
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 155 characters
    Open

                                <p class="description"><?php _e('These custom CSS classes will be appended to the wrapper HTML element.', 'codecolorer') ?></p>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 212 characters
    Open

                                <p class="description"><?php _e('If your code lines number is less than this value, block height would not be fixed. Set to <b>-1</b> to remove vertical scroll.', 'codecolorer') ?></p>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 191 characters
    Open

                                <input name="codecolorer_width" type="string" class="small-text" size="60" id="codecolorer_width" value="<?php echo esc_html(get_option('codecolorer_width')) ?>"/>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 226 characters
    Open

                                    <input name="codecolorer_disable_keyword_linking" type="checkbox" id="codecolorer_disable_keyword_linking" value="1" <?php checked(true, get_option('codecolorer_disable_keyword_linking')); ?> />
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 136 characters
    Open

                            <th scope="row"><label for="codecolorer_css_style"><?php _e('Custom CSS Styles', 'codecolorer') ?>:</label></th>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 208 characters
    Open

                                <input name="codecolorer_css_class" type="text" class="regular-text code" size="60" id="codecolorer_css_class" value="<?php echo esc_html(get_option('codecolorer_css_class')) ?>"/>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 224 characters
    Open

                                <p class="description"><?php _e('Default code block width. Integer means pixels, also you can specify <tt>em</tt> or <tt>%</tt> suffix. Could be omitted to use whole width.', 'codecolorer') ?></p>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 194 characters
    Open

                                <input name="codecolorer_height" type="number" class="small-text" size="60" id="codecolorer_height" value="<?php echo esc_html(get_option('codecolorer_height')) ?>"/>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 161 characters
    Open

                                <p class="description"><?php _e('These custom CSS rules will be appended to the CodeColorer default CSS file.', 'codecolorer') ?></p>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 193 characters
    Open

                                    <input name="codecolorer_line_numbers" type="checkbox" id="codecolorer_line_numbers" value="1" <?php checked(true, get_option('codecolorer_line_numbers')); ?> />
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 222 characters
    Open

                $this->codecolorer->showWarning('language', __('CodeColorer translation is incomplete.', 'codecolorer'), sprintf($msgFormat, $locale, "https://kpumuk.info/projects/wordpress-plugins/codecolorer/#translation"));
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 122 characters
    Open

                            <th scope="row"><label for="codecolorer_height"><?php _e('Height', 'codecolorer') ?>:</label></th>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 183 characters
    Open

                                <p class="description"><?php _e('When code has more than &quot;Lines to Scroll&quot; lines, block height will be set to this value.', 'codecolorer') ?></p>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 221 characters
    Open

                                <input name="codecolorer_lines_to_scroll" type="number" class="small-text" size="60" id="codecolorer_lines_to_scroll" value="<?php echo esc_html(get_option('codecolorer_lines_to_scroll')) ?>"/>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 139 characters
    Open

                                <p class="description"><?php _e('Indicating how many spaces would represent TAB symbol.', 'codecolorer') ?></p>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 137 characters
    Open

                            <th scope="row"><label for="codecolorer_css_class"><?php _e('Custom CSS Classes', 'codecolorer') ?>:</label></th>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 214 characters
    Open

                                <textarea name="codecolorer_css_style" id="codecolorer_css_style" class="large-text code" rows="10" cols="60"><?php echo esc_html(get_option('codecolorer_css_style')) ?></textarea><br />
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 131 characters
    Open

                            <th scope="row"><label for="codecolorer_rss_width"><?php _e('Width in RSS', 'codecolorer') ?>:</label></th>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 203 characters
    Open

                                <input name="codecolorer_rss_width" type="number" class="small-text" size="60" id="codecolorer_rss_width" value="<?php echo esc_html(get_option('codecolorer_rss_width')) ?>"/>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    Line exceeds 120 characters; contains 126 characters
    Open

                            <th scope="row"><label for="codecolorer_tab_size"><?php _e('Tab size', 'codecolorer') ?>:</label></th>
    Severity: Minor
    Found in codecolorer-admin.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status