Completed
Branch master (0fecbe)
by Arthur
12:08
created
app/Http/Controllers/Auth/GitHubController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 use App\User;
8 8
 use GrahamCampbell\GitHub\GitHubManager;
9 9
 use Socialite;
10
-use App\Http\Requests;
11
-use Illuminate\Http\Request;
12 10
 use App\Http\Controllers\Controller;
13 11
 
14 12
 class GitHubController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/ContactController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Validator;
6 6
 use App\Contact;
7
-use App\Http\Requests;
8 7
 use Illuminate\Http\Request;
9 8
 
10 9
 class ContactController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use App\Http\Requests;
6
-use Illuminate\Http\Request;
7
-
8 5
 class HomeController extends Controller
9 6
 {
10 7
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/PingController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use \Auth;
6 6
 use App\Ping;
7 7
 use \Validator;
8
-use App\Http\Requests;
9 8
 use Illuminate\Http\Request;
10 9
 use App\Http\Controllers\Controller;
11 10
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     public function store(Request $request)
24 24
     {
25
-        if ( ! $request->wantsJson()) {
25
+        if (!$request->wantsJson()) {
26 26
             return response("Pings can only be created via json requests", 400);
27 27
         }
28 28
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         if ($validator->fails()) {
38 38
             /** @var \Illuminate\Validation\Validator $validator */
39
-            return response( $validator->getMessageBag(), 422);
39
+            return response($validator->getMessageBag(), 422);
40 40
         }
41 41
 
42 42
         $ping = Ping::createDefaultPing($requestData['name'], true, Auth::id());
Please login to merge, or discard this patch.
app/Listeners/NotifyPeopleAboutPingFailure.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,6 @@
 block discarded – undo
5 5
 use Mail;
6 6
 use App\Contact;
7 7
 use App\Events\PingFailure;
8
-use Illuminate\Queue\InteractsWithQueue;
9
-use Illuminate\Contracts\Queue\ShouldQueue;
10 8
 
11 9
 class NotifyPeopleAboutPingFailure
12 10
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
             //contact the person
42 42
 
43
-            Mail::queue(['text' => 'emails.ping-error'], ['ping' => $event->ping], function ($message) use($contact, $event) {
43
+            Mail::queue(['text' => 'emails.ping-error'], ['ping' => $event->ping], function($message) use($contact, $event) {
44 44
                 $message->subject("Nothing heard from ping " . $event->ping->name);
45 45
                 $message->to($contact->email, $contact->name);
46 46
             });
Please login to merge, or discard this patch.
app/Console/Commands/CheckPingLastUpdate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,6 @@
 block discarded – undo
52 52
 
53 53
         }
54 54
 
55
-        $this->table(['error', 'name', 'last_ping', 'frequency' ,'overdue_date', 'overdue'], $results);
55
+        $this->table(['error', 'name', 'last_ping', 'frequency', 'overdue_date', 'overdue'], $results);
56 56
     }
57 57
 }
Please login to merge, or discard this patch.
app/Console/Commands/Inspire.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
      */
29 29
     public function handle()
30 30
     {
31
-        $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
31
+        $this->comment(PHP_EOL . Inspiring::quote() . PHP_EOL);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      */
26 26
     protected function schedule(Schedule $schedule)
27 27
     {
28
-         $schedule->command('pings:update-overdue')->everyMinute();
28
+            $schedule->command('pings:update-overdue')->everyMinute();
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
app/Contact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     private function trimArrayItems(array $tags)
68 68
     {
69
-        return array_map(function ($tag) {
69
+        return array_map(function($tag) {
70 70
             return trim($tag);
71 71
         }, $tags);
72 72
     }
Please login to merge, or discard this patch.