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/Events/Event.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 abstract class Event {
4 4
 
5
-	//
5
+    //
6 6
 
7 7
 }
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -9,43 +9,43 @@  discard block
 block discarded – undo
9 9
 
10 10
 class Handler extends ExceptionHandler {
11 11
 
12
-	/**
13
-	 * A list of the exception types that should not be reported.
14
-	 *
15
-	 * @var array
16
-	 */
17
-	protected $dontReport = [
12
+    /**
13
+     * A list of the exception types that should not be reported.
14
+     *
15
+     * @var array
16
+     */
17
+    protected $dontReport = [
18 18
         HttpException::class,
19 19
         NotFoundHttpException::class,
20 20
         ModelNotFoundException::class,
21 21
         MethodNotAllowedHttpException::class,
22 22
         FormValidationException::class,
23 23
         AuthenticationException::class,         //These are logged separately below
24
-	];
24
+    ];
25 25
 
26
-	/**
27
-	 * Report or log an exception.
28
-	 *
29
-	 * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
30
-	 *
31
-	 * @param  \Exception  $e
32
-	 * @return void
33
-	 */
34
-	public function report(Exception $e)
35
-	{
26
+    /**
27
+     * Report or log an exception.
28
+     *
29
+     * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
30
+     *
31
+     * @param  \Exception  $e
32
+     * @return void
33
+     */
34
+    public function report(Exception $e)
35
+    {
36 36
         //The parent will log exceptions that aren't of the types above
37
-		parent::report($e);
38
-	}
37
+        parent::report($e);
38
+    }
39 39
 
40
-	/**
41
-	 * Render an exception into an HTTP response.
42
-	 *
43
-	 * @param  \Illuminate\Http\Request  $request
44
-	 * @param  \Exception  $e
45
-	 * @return \Illuminate\Http\Response
46
-	 */
47
-	public function render($request, Exception $e)
48
-	{
40
+    /**
41
+     * Render an exception into an HTTP response.
42
+     *
43
+     * @param  \Illuminate\Http\Request  $request
44
+     * @param  \Exception  $e
45
+     * @return \Illuminate\Http\Response
46
+     */
47
+    public function render($request, Exception $e)
48
+    {
49 49
         if ($e instanceof FormValidationException) {
50 50
             if ($request->wantsJson()) {
51 51
                 return \Response::json($e->getErrors(), 422);
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
                 return \Response::json(['error' => $e->getMessage()], $e->getStatusCode());
93 93
             }
94 94
         }
95
-		return parent::render($request, $e);
96
-	}
95
+        return parent::render($request, $e);
96
+    }
97 97
 
98 98
     /**
99 99
      * Render an exception using Whoops.
Please login to merge, or discard this patch.