Update to PHP-CS-Fixer 1.7 and fix broken PHP tests
This commit is contained in:
parent
a58c664667
commit
57ffa6741f
|
@ -11,7 +11,7 @@ require_once 'sql.req.php';
|
|||
$q = $mysqli->query('');
|
||||
$num = $q->num_rows;
|
||||
echo '<a href="notifications.php">';
|
||||
if ($num>0) {
|
||||
if ($num > 0) {
|
||||
echo '<i class="fa fa-star white"></i>';
|
||||
} else {
|
||||
echo '<i class="fa fa-star-o"></i>';
|
||||
|
@ -22,7 +22,7 @@ echo '</a>';
|
|||
$q = $mysqli->query('');
|
||||
$num = $q->num_rows;
|
||||
echo '<a href="messages.php">';
|
||||
if ($num>0) {
|
||||
if ($num > 0) {
|
||||
echo '<i class="fa fa-envelope white"></i>';
|
||||
} else {
|
||||
echo '<i class="fa fa-envelope-o"></i>';
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
function add($a, $b)
|
||||
{
|
||||
return $a +$b;
|
||||
return $a + $b;
|
||||
}
|
||||
echo add(1, 2);
|
||||
|
|
Loading…
Reference in New Issue