GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 7add89...a4f141 )
by Oliver
14:38 queued 09:43
created
routes/api.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,22 +18,22 @@
 block discarded – undo
18 18
 Route::group([
19 19
     'prefix'     => 'api/v1',
20 20
     'middleware' => ['auth:api'],
21
-], function () {
22
-    Route::get('/user', function (Request $request) {
21
+], function() {
22
+    Route::get('/user', function(Request $request) {
23 23
         return $request->user();
24 24
     });
25 25
 
26
-    Route::group(['prefix' => 'transactions'], function () {
26
+    Route::group(['prefix' => 'transactions'], function() {
27 27
         Route::get('', 'TransactionController@index');
28 28
         Route::post('', 'TransactionController@store');
29 29
     });
30 30
 
31
-    Route::group(['prefix' => 'category'], function () {
31
+    Route::group(['prefix' => 'category'], function() {
32 32
         Route::get('{category}/subcategories', 'CategoryController@subCategories');
33 33
         Route::get('', 'CategoryController@index');
34 34
     });
35 35
 
36
-    Route::group(['prefix' => 'payee'], function () {
36
+    Route::group(['prefix' => 'payee'], function() {
37 37
         Route::get('', 'PayeeController@index');
38 38
         Route::post('', 'PayeeController@store');
39 39
     });
Please login to merge, or discard this patch.
routes/web.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 Route::get('logout', 'Auth\LoginController@logout')->name('logout.get');
16 16
 Route::pattern('id', '[0-9]+');
17 17
 
18
-Route::group(['middleware' => 'auth'], function () {
18
+Route::group(['middleware' => 'auth'], function() {
19 19
     Route::get('/', 'HomeController@index')->name('home');
20 20
     Route::get('/user', 'Auth\UserController@show')->name('user');
21 21
     Route::post('/user/password', 'Auth\UserController@password')->name('user-password');
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     Route::get('settings', 'SettingsController@index');
24 24
     Route::post('settings', 'SettingsController@update');
25 25
 
26
-    Route::group(['prefix' => '/admin'], function () {
26
+    Route::group(['prefix' => '/admin'], function() {
27 27
         Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index');
28 28
     });
29 29
 
Please login to merge, or discard this patch.
tests/Feature/MmexClient/TransactionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         $response->assertStatus(200)
59 59
             ->assertJsonFragment(
60 60
                 [
61
-                    'ID'          => (string) $transaction->id,
61
+                    'ID'          => (string)$transaction->id,
62 62
                     'Date'        => $transaction->transaction_date->toDateString(),
63 63
                     'Account'     => $transaction->account_name,
64 64
                     'ToAccount'   => $transaction->to_account_name,
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
                     'Payee'       => $transaction->payee_name,
68 68
                     'Category'    => $transaction->category_name,
69 69
                     'SubCategory' => $transaction->sub_category_name,
70
-                    'Amount'      => (string) $transaction->amount,
70
+                    'Amount'      => (string)$transaction->amount,
71 71
                     'Notes'       => $transaction->notes,
72 72
                     'Attachments' => 'Transaction_'.$transaction->id.'_test-receipt.png;Transaction_'.$transaction->id
73 73
                         .'_test-receipt-2.png;Transaction_'.$transaction->id.'_test-receipt-3.png',
Please login to merge, or discard this patch.
tests/Feature/FeatureTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
         parent::setUp();
23 23
 
24
-        $this->setUpDatabase(function () {
24
+        $this->setUpDatabase(function() {
25 25
             //$this->artisan('db:seed', ['--class' => UsersTableSeeder::class]);
26 26
         });
27 27
 
Please login to merge, or discard this patch.
app/Transformers/Mmex/TransactionTransformer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     public function transform(Transaction $item)
19 19
     {
20 20
         return [
21
-            'ID'          => (string) $item->id,
21
+            'ID'          => (string)$item->id,
22 22
             'Date'        => $item->transaction_date ? $item->transaction_date->toDateString() : null,
23 23
             'Account'     => $item->account_name,
24 24
             'ToAccount'   => $item->to_account_name,
@@ -27,10 +27,10 @@  discard block
 block discarded – undo
27 27
             'Payee'       => $item->payee_name,
28 28
             'Category'    => $item->category_name,
29 29
             'SubCategory' => $item->sub_category_name,
30
-            'Amount'      => (string) floatval($item->amount),
30
+            'Amount'      => (string)floatval($item->amount),
31 31
             'Notes'       => $item->notes,
32 32
             'Attachments' => $item->getMedia('attachments')
33
-                ->map(function (Media $mediaItem) {
33
+                ->map(function(Media $mediaItem) {
34 34
                     return $mediaItem->file_name;
35 35
                 })->implode(';'), ];
36 36
     }
Please login to merge, or discard this patch.
app/Http/Requests/TransactionRequest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,18 +44,18 @@
 block discarded – undo
44 44
     {
45 45
         $uploadSizes = [ini_get('upload_max_filesize'), ini_get('post_max_size')];
46 46
 
47
-        $uploadSizes = array_map(function ($item) {
47
+        $uploadSizes = array_map(function($item) {
48 48
             $metric = strtoupper(substr($item, -1));
49 49
 
50 50
             switch ($metric) {
51 51
                 case 'K':
52
-                    return (int) $item * 1024;
52
+                    return (int)$item * 1024;
53 53
                 case 'M':
54
-                    return (int) $item * 1048576;
54
+                    return (int)$item * 1048576;
55 55
                 case 'G':
56
-                    return (int) $item * 1073741824;
56
+                    return (int)$item * 1073741824;
57 57
                 default:
58
-                    return (int) $item;
58
+                    return (int)$item;
59 59
             }
60 60
         }, $uploadSizes);
61 61
 
Please login to merge, or discard this patch.
app/Services/Mmex/ClientApiService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
         $transaction = $user->transactions()->findOrFail($transactionId);
123 123
 
124 124
         // get attachment of transaction
125
-        $media = $transaction->getMedia('attachments')->first(function ($item) use ($fileName) {
125
+        $media = $transaction->getMedia('attachments')->first(function($item) use ($fileName) {
126 126
             return $item->file_name == $fileName;
127 127
         });
128 128
 
Please login to merge, or discard this patch.
app/Services/VersionInfoService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function packageInfo()
23 23
     {
24
-        return Cache::get('mmex-version-info', function () {
24
+        return Cache::get('mmex-version-info', function() {
25 25
             return $this->getInstalledPackages();
26 26
         });
27 27
     }
Please login to merge, or discard this patch.
app/Services/FormFieldOptionService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $values = $model::all();
20 20
 
21 21
         $values = $values->values()
22
-            ->map(function ($value) {
22
+            ->map(function($value) {
23 23
                 return [
24 24
                     'name' => __('mmex.'.$value->name),
25 25
                     'id'   => $value->id,
Please login to merge, or discard this patch.