views/header.php
Spaces must be used to indent lines; tabs are not allowed Open
Open
foreach ($js_assets as $js_asset) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$js_assets = array($navbar_feature['custom_js_assets']);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (isset($navbar_feature['custom_js_assets'])) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<a class="nav_link" href="<?php echo ($content === '/'.$navbar_feature['name']) ? '#' : '/'.$navbar_feature['name'] ?>"><?php echo ucfirst($navbar_feature['name']) ?></a><?php
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$js_assets = $navbar_feature['custom_js_assets'];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<li class="<?php echo $navbar_feature['name'] ?>">
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
echo "<script type=\"text/javascript\" src=\"/features/{$navbar_feature['name']}/js/{$js_asset}\"></script>";
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
} else {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (!is_array($navbar_feature['custom_js_assets'])) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
echo "<script type=\"text/javascript\" src=\"{$js_asset}\"></script>";
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 24 spaces, found 20 Open
Open
echo "<script type=\"text/javascript\" src=\"/features/{$navbar_feature['name']}/js/{$js_asset}\"></script>";
- Exclude checks
Line indented incorrectly; expected 20 spaces, found 36 Open
Open
if (strpos($js_asset, "https://") === false && strpos($js_asset, "http://") === false) {
- Exclude checks
Line indented incorrectly; expected 20 spaces, found 36 Open
Open
} else {
- Exclude checks
Whitespace found at end of line Open
Open
<?php foreach (Configuration::get_navbar_features() as $navbar_feature) {
- Exclude checks
Line indented incorrectly; expected at least 24 spaces, found 20 Open
Open
echo "<script type=\"text/javascript\" src=\"{$js_asset}\"></script>";
- Exclude checks
Whitespace found at end of line Open
Open
echo "<script type=\"text/javascript\" src=\"/features/{$navbar_feature['name']}/js/{$js_asset}\"></script>";
- Exclude checks
Whitespace found at end of line Open
Open
echo "<script type=\"text/javascript\" src=\"{$js_asset}\"></script>";
- Exclude checks
Closing brace indented incorrectly; expected 16 spaces, found 32 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 32 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 20 spaces, found 36 Open
Open
}
- Exclude checks