Completed
Push — feature/disable-clockwork ( b48bf7 )
by Arthur
11:11 queued 07:04
created
app/Presenters/PaymentPresenter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             case 'manual':
71 71
                 return 'Manual';
72 72
             case 'cash':
73
-                return 'Cash' . ($this->entity->source_id? ' (' . $this->entity->source_id . ')':'');
73
+                return 'Cash' . ($this->entity->source_id ? ' (' . $this->entity->source_id . ')' : '');
74 74
             case 'other':
75 75
                 return 'Other';
76 76
             case 'balance':
Please login to merge, or discard this patch.
app/Http/Controllers/AccountController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@
 block discarded – undo
358 358
 
359 359
         if ($amount < 5) {
360 360
             throw new ValidationException('The minimum subscription is 5 GBP');
361
-        } elseif (!\Auth::user()->isAdmin() && ($amount < 15)) {
361
+        } elseif ( ! \Auth::user()->isAdmin() && ($amount < 15)) {
362 362
             throw new ValidationException('The minimum subscription is 15 GBP, please contact the trustees for a lower amount. [email protected]');
363 363
         }
364 364
 
Please login to merge, or discard this patch.
app/Services/Credit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
     public function recalculate()
45 45
     {
46
-        if (! $this->user instanceof User) {
46
+        if ( ! $this->user instanceof User) {
47 47
             throw new InvalidDataException("User not set");
48 48
         }
49 49
         $runningTotal = 0;
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function getBalanceSign()
98 98
     {
99
-        return ( (int) $this->getBalance() >= 0 ? 'positive' : 'negative' );
99
+        return ((int)$this->getBalance() >= 0 ? 'positive' : 'negative');
100 100
     }
101 101
 
102 102
     public function getBalanceFormatted()
Please login to merge, or discard this patch.
app/Http/Controllers/MembersController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function index()
34 34
     {
35
-        $users = $this->userRepository->getActivePublicList(!\Auth::guest());
35
+        $users = $this->userRepository->getActivePublicList( ! \Auth::guest());
36 36
         return \View::make('members.index')->withUsers($users);
37 37
     }
38 38
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             return \Response::make('', 404);
45 45
         }
46 46
 
47
-        if (!$user->active) {
47
+        if ( ! $user->active) {
48 48
             return \Response::make('', 404);
49 49
         }
50 50
 
Please login to merge, or discard this patch.