Completed
Push — master ( 9a4f90...d093fb )
by Christoph, René
02:01
created
src/GelfSupportServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@
 block discarded – undo
38 38
 
39 39
         $this->app->alias(ExceptionHandler::class, 'exceptions');
40 40
         $this->app->singleton('exceptions.repository', ExceptionHandlerRepository::class);
41
-        $this->app->extend(ExceptionHandler::class, function ($handler, $app) use ($config) {
41
+        $this->app->extend(ExceptionHandler::class, function($handler, $app) use ($config) {
42 42
             return new Decorator($handler, $app['exceptions.repository'], $config);
43 43
         });
44 44
 
45
-        $this->app->singleton(Graylog::class, function ($app) use ($config) {
45
+        $this->app->singleton(Graylog::class, function($app) use ($config) {
46 46
             $transport = new UdpTransport(
47 47
                 $config->get('gelfsupport.host'),
48 48
                 $config->get('gelfsupport.port'),
Please login to merge, or discard this patch.
src/ExceptionHandlerRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     protected function handlesException(Exception $e): Closure
93 93
     {
94
-        return function (Closure $handler) use ($e) {
94
+        return function(Closure $handler) use ($e) {
95 95
             $reflection = new ReflectionFunction($handler);
96 96
 
97 97
             if (!$params = $reflection->getParameters()) {
Please login to merge, or discard this patch.
bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,4 +14,4 @@
 block discarded – undo
14 14
 |
15 15
 */
16 16
 
17
-require __DIR__.'/vendor/autoload.php';
17
+require __DIR__ . '/vendor/autoload.php';
Please login to merge, or discard this patch.
src/GelfBundle/DependencyInjection/GelfExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
         $configuration = new Configuration();
29 29
         $config = $this->processConfiguration($configuration, $configs);
30 30
 
31
-        $container->setParameter('graylog.enabled', (bool)$config['graylog']['enabled']);
32
-        $container->setParameter('graylog.host', (string)$config['graylog']['host']);
33
-        $container->setParameter('graylog.port', (int)$config['graylog']['port']);
31
+        $container->setParameter('graylog.enabled', (bool) $config['graylog']['enabled']);
32
+        $container->setParameter('graylog.host', (string) $config['graylog']['host']);
33
+        $container->setParameter('graylog.port', (int) $config['graylog']['port']);
34 34
     }
35 35
 }
Please login to merge, or discard this patch.