Filter by:
File Violation Severity
SVG.php ElseExpression   (kritika/PHPMD)
The method icon uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
compat/inc/Menu/Item/Edit.php ElseExpression   (kritika/PHPMD)
The method __construct uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
compat/inc/Menu/Item/Edit.php ElseExpression   (kritika/PHPMD)
The method __construct uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
compat/inc/Menu/Item/Edit.php ElseExpression   (kritika/PHPMD)
The method __construct uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
compat/inc/Menu/Item/AbstractItem.php ElseExpression   (kritika/PHPMD)
The method getLink uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
compat/inc/Menu/Item/AbstractItem.php ElseExpression   (kritika/PHPMD)
The method asHtmlLink uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
compat/inc/Menu/AbstractMenu.php ElseExpression   (kritika/PHPMD)
The method getListItems uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
inc/Menu/Item/Discussion.php ElseExpression   (kritika/PHPMD)
The method __construct uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method getPageInfo uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method getPageInfo uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method getPageInfo uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method getLicense uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method getBrowserPageTitle uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method getBrowserPageTitle uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method getBrowserPageTitle uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method normalizeContent uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
Template.php ElseExpression   (kritika/PHPMD)
The method normalizeContent uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning
2115
                        if ($extension->setExtension($plugin_name)) {
2116
                            foreach ($elm->find('legend') as $legend) {
2117
                                $legend->innertext = iconify('mdi:puzzle', array('class' => 'text-success')) . ' ' . $legend->innertext . ' <br/><h6>' . $extension->getDescription() . ' <a class="urlextern" href="' . $extension->getURL() . '" target="_blank">Docs</a></h6>';
2118
                            }
2119
                        }
2120
                    } else {
2121
                        foreach ($elm->find('legend') as $legend) {
2122
                            $legend->innertext = iconify('mdi:puzzle', array('class' => 'text-success')) . ' ' . $legend->innertext;
2123
                        }
2124
                    }
2125
                }
Template.php ElseExpression   (kritika/PHPMD)
The method normalizeContent uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Warning