jidaikobo-shibata/a11yc

View on GitHub

Showing 426 of 426 total issues

Method criterionDbio has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function criterionDbio($criterion)
    {
        $results = Input::postArr('results', NULL);
        $iclchks = Input::postArr('iclchks', NULL);
        $chk     = Input::postArr('chk', NULL);
Severity: Minor
Found in classes/Controller/BulkCriterion.php - About 1 hr to fix

    Method check has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function check($url)
        {
            Validate\Set::log($url, 'must_be_numeric_attr', self::$unspec, 1);
            $str = Element\Get::ignoredHtml($url);
            $ms = Element\Get::elementsByRe($str, 'ignores', 'tags');
    Severity: Minor
    Found in classes/Validate/Check/_Suppress/MustBeNumericAttr.php - About 1 hr to fix

      Method actionValidation has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public static function actionValidation()
          {
              // vals
              $url          = Input::post('url', Input::get('url', ''));
              $user_agent   = Input::post('user_agent', '');
      Severity: Minor
      Found in classes/Controller/Post.php - About 1 hr to fix

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'duplicated_ids', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '$fields' which will lead to PHP notices.
        Open

                return Model\Data::postfilter(Model\Icl::$fields[$type]);
        Severity: Minor
        Found in classes/Controller/Icl.php by phpmd

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '$hl_htmls' which will lead to PHP notices.
        Open

                if ( ! isset(Validate::$hl_htmls[$url]))
        Severity: Minor
        Found in classes/Element/Get.php by phpmd

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'meanless_element', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'cannot_contain_newline', static::$error_ids[$url], 'ignores');
        Severity: Minor
        Found in classes/Validate/Check/InvalidTag.php by phpmd

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'link_check', static::$error_ids[$url], 'ignores_comment_out');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                    static::addErrorToHtml($url, 'langless', static::$error_ids[$url]);
        Severity: Minor
        Found in classes/Validate/Check/Langless.php by phpmd

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '$suspicious_prop_and_vals' which will lead to PHP notices.
        Open

                        Model\Css::$suspicious_prop_and_vals[] = $prop_and_val;
        Severity: Minor
        Found in classes/Model/CssFormat.php by phpmd

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'alt_attr_of_empty', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'duplicated_accesskeys', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'headerless_section', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'duplicated_attributes', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'meta_refresh', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'notice_non_html_exists', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'too_much_opens', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'style_for_structure', static::$error_ids[$url], 'ignores');

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices.
        Open

                static::addErrorToHtml($url, 'table_use_caption', static::$error_ids[$url], 'ignores');
        Severity: Minor
        Found in classes/Validate/Check/Table.php by phpmd

        UndefinedVariable

        Since: 2.8.0

        Detects when a variable is used that has not been defined before.

        Example

        class Foo
        {
            private function bar()
            {
                // $message is undefined
                echo $message;
            }
        }

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

        Severity
        Category
        Status
        Source
        Language