Update to PHP-CS-Fixer 1.7 and fix broken PHP tests

This commit is contained in:
Glavin Wiechert 2015-05-05 12:42:25 -03:00
parent a58c664667
commit 57ffa6741f
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ require_once 'sql.req.php';
$q = $mysqli->query(''); $q = $mysqli->query('');
$num = $q->num_rows; $num = $q->num_rows;
echo '<a href="notifications.php">'; echo '<a href="notifications.php">';
if ($num>0) { if ($num > 0) {
echo '<i class="fa fa-star white"></i>'; echo '<i class="fa fa-star white"></i>';
} else { } else {
echo '<i class="fa fa-star-o"></i>'; echo '<i class="fa fa-star-o"></i>';
@ -22,7 +22,7 @@ echo '</a>';
$q = $mysqli->query(''); $q = $mysqli->query('');
$num = $q->num_rows; $num = $q->num_rows;
echo '<a href="messages.php">'; echo '<a href="messages.php">';
if ($num>0) { if ($num > 0) {
echo '<i class="fa fa-envelope white"></i>'; echo '<i class="fa fa-envelope white"></i>';
} else { } else {
echo '<i class="fa fa-envelope-o"></i>'; echo '<i class="fa fa-envelope-o"></i>';

View File

@ -2,6 +2,6 @@
function add($a, $b) function add($a, $b)
{ {
return $a +$b; return $a + $b;
} }
echo add(1, 2); echo add(1, 2);