File | Violation | Severity | |
---|---|---|---|
Template.php |
CamelCaseParameterName
(kritika/PHPMD)
The parameter $sidebar_header is not named in camelCase.
|
Warning | |
Template.php |
BooleanArgumentFlag
(kritika/PHPMD)
The method toBootstrapNav has a boolean flag argument $stacked, which is a certain sign of a Single Responsibility Principle violation.
|
Warning | |
Template.php |
IfStatementAssignment
(kritika/PHPMD)
Avoid assigning values to variables in if clauses and the like (line '25', column '2114').
|
Warning | |
Template.php |
CamelCaseParameterName
(kritika/PHPMD)
The parameter $sidebar_footer is not named in camelCase.
|
Warning | |
Template.php |
CamelCaseParameterName
(kritika/PHPMD)
The parameter $sidebar_page is not named in camelCase.
|
Warning | |
Template.php |
CamelCaseMethodName
(kritika/PHPMD)
The method _replaceWikiCurrentIdCallback is not named in camelCase.
|
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 |
IfStatementAssignment
(kritika/PHPMD)
Avoid assigning values to variables in if clauses and the like (line '22', column '2258').
|
Warning | |
Template.php |
IfStatementAssignment
(kritika/PHPMD)
Avoid assigning values to variables in if clauses and the like (line '21', column '2087').
|
Warning | |
Template.php |
IfStatementAssignment
(kritika/PHPMD)
Avoid assigning values to variables in if clauses and the like (line '21', column '1869').
|
Warning | |
Template.php |
CamelCaseParameterName
(kritika/PHPMD)
The parameter $sidebar_class is not named in camelCase.
|
Warning | |
Template.php |
CamelCaseParameterName
(kritika/PHPMD)
The parameter $sidebar_id is not named in camelCase.
|
Warning | |
Template.php |
BooleanArgumentFlag
(kritika/PHPMD)
The method normalizeSidebar has a boolean flag argument $return, which is a certain sign of a Single Responsibility Principle violation.
|
Warning | |
Template.php |
Superglobals
(kritika/PHPMD)
getNavbar accesses the super-global variable $_SERVER.
|
Warning | |
Template.php |
BooleanArgumentFlag
(kritika/PHPMD)
The method getTOC has a boolean flag argument $return, which is a certain sign of a Single Responsibility Principle violation.
|
Warning | |
Template.php |
StaticAccess
(kritika/PHPMD)
Avoid using static access to class 'dokuwiki\template\bootstrap3\SVG' in method 'normalizeContent'.
|
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 getBrowserPageTitle uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
|
Warning | |
Template.php |
CamelCaseParameterName
(kritika/PHPMD)
The parameter $optional_class is not named in camelCase.
|
Warning |