Completed
Pull Request — master (#537)
by Daniel
07:32 queued 03:28
created
app/Listeners/SendSuccessfulLoginEmail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             return false;
80 80
         }
81 81
 
82
-        return ! $this->stream->hasLoggedBefore($event->user->id, $event->ip, $event->browser);
82
+        return !$this->stream->hasLoggedBefore($event->user->id, $event->ip, $event->browser);
83 83
     }
84 84
 
85 85
     /**
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
             }
149 149
 
150 150
             return $this->filter(function (User $user) use ($others) {
151
-                return ! $others->contains('id', $user->id);
151
+                return !$others->contains('id', $user->id);
152 152
             });
153 153
         });
154 154
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Illuminate\Routing\Events\RouteMatched;
17 17
 use Illuminate\Routing\Redirector;
18 18
 use Illuminate\Http\Request;
19
-use Illuminate\Pagination\Paginator;
20 19
 
21 20
 class AppServiceProvider extends ServiceProvider
22 21
 {
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,6 +74,6 @@
 block discarded – undo
74 74
      */
75 75
     protected function commands()
76 76
     {
77
-        $this->load(__DIR__.'/Commands');
77
+        $this->load(__DIR__ . '/Commands');
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
app/Services/Stream/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
         $this->events->dispatch(new StreamSaving($activity));
60 60
 
61
-        $result =  $this->stream->create($activity->toArray());
61
+        $result = $this->stream->create($activity->toArray());
62 62
 
63 63
         $this->events->dispatch(new StreamSaved($result));
64 64
 
Please login to merge, or discard this patch.
app/Http/Forms/Forum/PollForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class PollForm extends Form
8 8
 {
9
-    const RULE_TITLE           = 'nullable|string|max:100';
9
+    const RULE_TITLE = 'nullable|string|max:100';
10 10
     // @todo dodac walidator sprawdzajacy liczbe (oraz dlugosc) linii
11 11
     // @todo musimy pisac "poll.title" jezeli ten formularz jest dzieckiem. reguly powinny byc zmieniane
12 12
     // przez klase Form
Please login to merge, or discard this patch.
app/Http/Requests/Job/JobRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             'plan_id' => [
48 48
                 'bail',
49 49
                 Rule::requiredIf(function () use ($job) {
50
-                    return ! $job->exists;
50
+                    return !$job->exists;
51 51
                 }),
52 52
 
53 53
                 'int',
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Illuminate\Session\TokenMismatchException;
10 10
 use Illuminate\Database\Eloquent\ModelNotFoundException;
11 11
 use Symfony\Component\Console\Exception\CommandNotFoundException;
12
-use Symfony\Component\Debug\Exception\FlattenException;
13 12
 use Symfony\Component\HttpKernel\Exception\HttpException;
14 13
 use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
15 14
 
Please login to merge, or discard this patch.
app/Http/Controllers/Forum/SubmitController.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -4,14 +4,9 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Coyote\Http\Controllers\Controller;
6 6
 use Coyote\Http\Forms\Forum\SubjectForm;
7
-use Coyote\Notifications\Post\ChangedNotification;
8
-use Coyote\Notifications\Post\SubmittedNotification;
9
-use Coyote\Notifications\Post\UserMentionedNotification;
10 7
 use Coyote\Notifications\Topic\SubjectChangedNotification;
11 8
 use Coyote\Repositories\Contracts\PollRepositoryInterface;
12
-use Coyote\Repositories\Contracts\UserRepositoryInterface;
13 9
 use Coyote\Services\UrlBuilder\UrlBuilder;
14
-use Illuminate\Contracts\Notifications\Dispatcher;
15 10
 use Illuminate\Http\Request;
16 11
 use Coyote\Services\Stream\Activities\Create as Stream_Create;
17 12
 use Coyote\Services\Stream\Activities\Update as Stream_Update;
@@ -19,7 +14,6 @@  discard block
 block discarded – undo
19 14
 use Coyote\Services\Stream\Objects\Post as Stream_Post;
20 15
 use Coyote\Services\Stream\Objects\Forum as Stream_Forum;
21 16
 use Coyote\Services\Stream\Actor as Stream_Actor;
22
-use Coyote\Services\Parser\Helpers\Login as LoginHelper;
23 17
 use Coyote\Events\PostWasSaved;
24 18
 use Coyote\Events\TopicWasSaved;
25 19
 use Coyote\Post\Log;
Please login to merge, or discard this patch.