Update PHP tests to new PHP-CS-Fixer expected style

This commit is contained in:
Glavin Wiechert 2015-05-03 14:04:52 -03:00
parent 060266c611
commit 969f307175
3 changed files with 5 additions and 4 deletions

View File

@ -1,14 +1,14 @@
<?php
$hello = "world";
$hello = 'world';
if (!isset($_SESSION)) {
session_start();
}
require_once "sql.req.php";
require_once 'sql.req.php';
// friend requests
$q = $mysqli->query("");
$q = $mysqli->query('');
$num = $q->num_rows;
echo '<a href="notifications.php">';
if ($num>0) {
@ -19,7 +19,7 @@ if ($num>0) {
echo '</a>';
// new messages
$q = $mysqli->query("");
$q = $mysqli->query('');
$num = $q->num_rows;
echo '<a href="messages.php">';
if ($num>0) {

View File

@ -1,4 +1,5 @@
<?php
function add($a, $b)
{
return $a +$b;