Passed
Pull Request — master (#2)
by Maksim
05:01 queued 02:42
created
src/ConditionalDebugBarServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
              * @var Collection|Route[]
42 42
              */
43 43
             $debugbarRoutes = collect($router->getRoutes()->getRoutesByName())
44
-                ->filter(function ($value, $key) {
44
+                ->filter(function($value, $key) {
45 45
                     return strpos($key, 'debugbar') !== false;
46 46
                 });
47 47
             if ($debugbarRoutes->count() > 0) {
Please login to merge, or discard this patch.
tests/BootedDebugBarRouteTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,10 +53,10 @@
 block discarded – undo
53 53
     protected function getEnvironmentSetUp($app)
54 54
     {
55 55
         $app['config']->set('conditional-debugbar.debugbar-boot-validator', TestingDebugBarBootValidator::class);
56
-        $app['router']->get('sample-page', ['uses' => function () {
56
+        $app['router']->get('sample-page', ['uses' => function() {
57 57
             return $this->blank_page;
58 58
         }]);
59
-        $app['router']->get('page-with-middleware', ['uses' => function () {
59
+        $app['router']->get('page-with-middleware', ['uses' => function() {
60 60
             return $this->blank_page;
61 61
         }])->middleware(OptionalDebugBar::class);
62 62
     }
Please login to merge, or discard this patch.
tests/UnbootedDebugBarRouteTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,10 +51,10 @@
 block discarded – undo
51 51
     protected function getEnvironmentSetUp($app)
52 52
     {
53 53
         $app['session']->flush();
54
-        $app['router']->get('sample-page', ['uses' => function () {
54
+        $app['router']->get('sample-page', ['uses' => function() {
55 55
             return $this->blank_page;
56 56
         }]);
57
-        $app['router']->get('page-with-middleware', ['uses' => function () {
57
+        $app['router']->get('page-with-middleware', ['uses' => function() {
58 58
             return $this->blank_page;
59 59
         }])->middleware(OptionalDebugBar::class);
60 60
     }
Please login to merge, or discard this patch.