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
23
            if($INFO['writable']) {
24
                $this->accesskey = 'e';
25
                if(!empty($INFO['draft'])) {
26
                    $this->type = 'draft';
27
                    $this->params['do'] = 'draft';
28
                } else {
29
                    $this->params['rev'] = $REV;
30
                    if(!$INFO['exists']) {
31
                        $this->type = 'create';
32
                    }
33
                }
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
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