@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | </div> |
2 | 2 | |
3 | 3 | <!-- Sidebar --> |
4 | -<?php if(!isset($fullwidth) || $fullwidth === false) {?> |
|
4 | +<?php if (!isset($fullwidth) || $fullwidth === false) {?> |
|
5 | 5 | <div id="sidebar"> |
6 | 6 | <div class="content"> |
7 | 7 | <div class="logo"> |
@@ -93,10 +93,10 @@ discard block |
||
93 | 93 | <path d="M0 0h24v24H0z" fill="none"/> |
94 | 94 | <path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"/> |
95 | 95 | </svg> |
96 | - Violations (<?php echo $sum->violations->total;?>) |
|
96 | + Violations (<?php echo $sum->violations->total; ?>) |
|
97 | 97 | </a> |
98 | 98 | </li> |
99 | - <?php if($config->has('junit')) { ?> |
|
99 | + <?php if ($config->has('junit')) { ?> |
|
100 | 100 | <li> |
101 | 101 | <a href="junit.html"> |
102 | 102 | <svg fill="#FFFFFF" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | </a> |
108 | 108 | </li> |
109 | 109 | <?php } ?> |
110 | - <?php if($config->has('git')) { ?> |
|
110 | + <?php if ($config->has('git')) { ?> |
|
111 | 111 | <li> |
112 | 112 | <a href="git.html"> |
113 | 113 | <img src="images/logo-git.png" alt=""> |
@@ -1,8 +1,8 @@ discard block |
||
1 | -<?php require __DIR__ . '/_header.php'; ?> |
|
1 | +<?php require __DIR__.'/_header.php'; ?> |
|
2 | 2 | <div class="row"> |
3 | 3 | <div class="column"> |
4 | 4 | <div class="bloc bloc-number"> |
5 | - <div class="label"><a href="violations.php">Violations</a> (<?php echo $sum->violations->critical;?> criticals, <?php echo $sum->violations->error;?> errors)</div> |
|
5 | + <div class="label"><a href="violations.php">Violations</a> (<?php echo $sum->violations->critical; ?> criticals, <?php echo $sum->violations->error; ?> errors)</div> |
|
6 | 6 | <div class="number"><?php echo $sum->violations->total; ?></div> |
7 | 7 | </div> |
8 | 8 | </div> |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | <tbody id="contentClassRank" class="clusterize-content"> |
93 | 93 | <?php |
94 | 94 | $classesS = $classes; |
95 | - usort($classesS, function ($a, $b) { |
|
95 | + usort($classesS, function($a, $b) { |
|
96 | 96 | return strcmp($b['pageRank'], $a['pageRank']); |
97 | 97 | }); |
98 | 98 | //$classesS = array_slice($classesS, 0, 10); |
@@ -126,4 +126,4 @@ discard block |
||
126 | 126 | }; |
127 | 127 | </script> |
128 | 128 | |
129 | -<?php require __DIR__ . '/_footer.php'; ?> |
|
130 | 129 | \ No newline at end of file |
130 | +<?php require __DIR__.'/_footer.php'; ?> |
|
131 | 131 | \ No newline at end of file |