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
1780
        foreach ($this->getConf('tableStyle') as $class) {
1781
            if ($class == 'responsive') {
1782
                foreach ($html->find('div.table') as $elm) {
1783
                    $elm->class = 'table-responsive';
1784
                }
1785
            } else {
1786
                $table_classes .= " table-$class";
1787
            }
1788
        }
1789
 
1790
        foreach ($html->find('table.inline,table.import_failures') as $elm) {
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