Passed
Push — master ( fe2283...888c58 )
by Maksim
03:11
created
src/ConditionalDebugBarServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
         if ($this->app->runningInConsole()) {
22 22
             if (!str_contains($this->app->version(), 'Lumen')) {
23 23
                 $this->publishes([
24
-                    __DIR__ . '/../config/conditional-debugbar.php' => config_path('conditional-debugbar.php'),
24
+                    __DIR__.'/../config/conditional-debugbar.php' => config_path('conditional-debugbar.php'),
25 25
                 ], 'config');
26 26
             }
27 27
         }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
              * @var Collection|Route[]
43 43
              */
44 44
             $debugbarRoutes = collect($router->getRoutes()->getRoutesByName())
45
-                ->filter(function ($value, $key) {
45
+                ->filter(function($value, $key) {
46 46
                     return strpos($key, 'debugbar') !== false;
47 47
                 });
48 48
             if ($debugbarRoutes->count() > 0) {
@@ -60,6 +60,6 @@  discard block
 block discarded – undo
60 60
      */
61 61
     public function register()
62 62
     {
63
-        $this->mergeConfigFrom(__DIR__ . '/../config/conditional-debugbar.php', 'conditional-debugbar');
63
+        $this->mergeConfigFrom(__DIR__.'/../config/conditional-debugbar.php', 'conditional-debugbar');
64 64
     }
65 65
 }
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.