Completed
Push — master ( 9f0f62...9cc73c )
by Arthur
02:20
created
app/Http/Controllers/DetectedDevicesController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace BB\Http\Controllers;
4 4
 
5 5
 use BB\Entities\DetectedDevice;
6
-use Illuminate\Http\Request;
7
-
8
-use BB\Http\Requests;
9 6
 use BB\Http\Controllers\Controller;
10 7
 
11 8
 class DetectedDevicesController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/DeviceController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace BB\Http\Controllers;
4 4
 
5 5
 use BB\Entities\ACSNode;
6
-use BB\Http\Requests;
7 6
 
8 7
 class DeviceController extends Controller
9 8
 {
Please login to merge, or discard this patch.
app/Http/Controllers/NotificationController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Illuminate\Contracts\Validation\UnauthorizedException;
7 7
 use Illuminate\Http\Request;
8 8
 use Auth;
9
-use BB\Http\Requests;
10 9
 
11 10
 
12 11
 class NotificationController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/PaypalIPNController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php namespace BB\Http\Controllers;
2 2
 
3
-use BB\Entities\Payment;
4 3
 use BB\Entities\User;
5 4
 use BB\Helpers\PayPalConfig;
6 5
 use BB\Repo\PaymentRepository;
Please login to merge, or discard this patch.
app/Listeners/EmailMemberAboutDeclinedPhoto.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,6 @@
 block discarded – undo
5 5
 
6 6
 use BB\Events\MemberPhotoWasDeclined;
7 7
 use Illuminate\Contracts\Mail\Mailer;
8
-use Illuminate\Queue\InteractsWithQueue;
9
-use Illuminate\Contracts\Queue\ShouldQueue;
10 8
 
11 9
 class EmailMemberAboutDeclinedPhoto
12 10
 {
Please login to merge, or discard this patch.
app/Repo/EquipmentLogRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use BB\Entities\EquipmentLog;
4 4
 use BB\Exceptions\DeviceException;
5
-use BB\Exceptions\ValidationException;
6 5
 use Carbon\Carbon;
7 6
 
8 7
 class EquipmentLogRepository extends DBRepository
Please login to merge, or discard this patch.
app/Services/Credit.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use BB\Entities\User;
4 4
 use BB\Exceptions\InvalidDataException;
5
-use BB\Exceptions\NotImplementedException;
6 5
 use BB\Repo\PaymentRepository;
7 6
 use BB\Repo\UserRepository;
8 7
 
Please login to merge, or discard this patch.
app/Entities/Notification.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@
 block discarded – undo
35 35
      * @param string $hash
36 36
      * @return Notification
37 37
      */
38
-    public static function logNew($userId, $message, $type, $hash) {
38
+    public static function logNew($userId, $message, $type, $hash)
39
+    {
39 40
         $existingNotifications = Notification::where('user_id', $userId)->where('hash', $hash)->first();
40 41
         if ($existingNotifications) {
41 42
             return $existingNotifications;
Please login to merge, or discard this patch.
app/Entities/Role.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@
 block discarded – undo
18 18
         return $this->belongsToMany('\BB\Entities\User')->withTimestamps();
19 19
     }
20 20
 
21
-    public static function findByName($name) {
21
+    public static function findByName($name)
22
+    {
22 23
         $role = self::where('name', $name)->first();
23 24
         if ($role) {
24 25
             return $role;
Please login to merge, or discard this patch.