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 ( a9bc98...b864c9 )
by butschster
10:50
created
tests/Admin/AdminTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,8 +166,8 @@
 block discarded – undo
166 166
         $controller = m::mock($controllerClass);
167 167
         $this->app->instance($controllerClass, $controller);
168 168
         $controller->shouldReceive('renderContent')
169
-                   ->withArgs($arguments)
170
-                   ->once();
169
+                    ->withArgs($arguments)
170
+                    ->once();
171 171
 
172 172
         $this->admin->view($arguments[0], $arguments[1]);
173 173
     }
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,15 +22,15 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function test_registers_models()
24 24
     {
25
-        $this->admin->registerModel(TestModel::class, function () {
25
+        $this->admin->registerModel(TestModel::class, function() {
26 26
         });
27 27
         $this->assertCount(1, $this->admin->getModels());
28 28
 
29
-        $this->admin->registerModel(TestModel::class, function () {
29
+        $this->admin->registerModel(TestModel::class, function() {
30 30
         });
31 31
         $this->assertCount(1, $this->admin->getModels());
32 32
 
33
-        $this->admin->registerModel(OtherTestModel::class, function () {
33
+        $this->admin->registerModel(OtherTestModel::class, function() {
34 34
         });
35 35
         $this->assertCount(2, $this->admin->getModels());
36 36
     }
@@ -65,11 +65,11 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function test_returns_form_aliases()
67 67
     {
68
-        $this->admin->registerModel(TestModel::class, function () {
68
+        $this->admin->registerModel(TestModel::class, function() {
69 69
         });
70 70
         $aliases = $this->admin->modelAliases();
71 71
 
72
-        $this->assertEquals('test_models', $aliases['TestModel']);
72
+        $this->assertEquals('test_models', $aliases[ 'TestModel' ]);
73 73
     }
74 74
 
75 75
     /**
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function test_checks_if_has_model()
114 114
     {
115
-        $this->admin->registerModel(TestModel::class, function () {
115
+        $this->admin->registerModel(TestModel::class, function() {
116 116
         });
117 117
         $this->assertTrue($this->admin->hasModel(TestModel::class));
118 118
         $this->assertFalse($this->admin->hasModel(OtherTestModel::class));
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      */
161 161
     public function test_renders_view()
162 162
     {
163
-        $arguments = ['content', 'title'];
163
+        $arguments = [ 'content', 'title' ];
164 164
         $controllerClass = \SleepingOwl\Admin\Http\Controllers\AdminController::class;
165 165
 
166 166
         $controller = m::mock($controllerClass);
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
                    ->withArgs($arguments)
170 170
                    ->once();
171 171
 
172
-        $this->admin->view($arguments[0], $arguments[1]);
172
+        $this->admin->view($arguments[ 0 ], $arguments[ 1 ]);
173 173
     }
174 174
 }
175 175
 
Please login to merge, or discard this patch.