@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public function testControllerAsClosure() |
| 29 | 29 | { |
| 30 | 30 | $request = new Request(); |
| 31 | - $request->attributes->set('_controller', function () { |
|
| 31 | + $request->attributes->set('_controller', function() { |
|
| 32 | 32 | }); |
| 33 | 33 | |
| 34 | 34 | $strategy = new ControllerNamingStrategy(); |
@@ -106,11 +106,11 @@ |
||
| 106 | 106 | $responseContent = $response->getContent(); |
| 107 | 107 | |
| 108 | 108 | if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isHeaderCalled()) { |
| 109 | - $responseContent = preg_replace('/<\s*head\s*>/', '$0'.$this->interactor->getBrowserTimingHeader(), $responseContent); |
|
| 109 | + $responseContent = preg_replace('/<\s*head\s*>/', '$0' . $this->interactor->getBrowserTimingHeader(), $responseContent); |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isFooterCalled()) { |
| 113 | - $responseContent = preg_replace('/<\s*\/\s*body\s*>/', $this->interactor->getBrowserTimingFooter().'$0', $responseContent); |
|
| 113 | + $responseContent = preg_replace('/<\s*\/\s*body\s*>/', $this->interactor->getBrowserTimingFooter() . '$0', $responseContent); |
|
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | if ($responseContent) { |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | $listener = new DeprecationListener($interactor); |
| 27 | 27 | |
| 28 | - set_error_handler(function () { return false; }); |
|
| 28 | + set_error_handler(function() { return false; }); |
|
| 29 | 29 | try { |
| 30 | 30 | $listener->register(); |
| 31 | 31 | @trigger_error('This is a deprecation', E_USER_DEPRECATED); |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | $listener = new DeprecationListener($interactor); |
| 44 | 44 | |
| 45 | - set_error_handler(function () { return false; }); |
|
| 45 | + set_error_handler(function() { return false; }); |
|
| 46 | 46 | $e = error_reporting(0); |
| 47 | 47 | try { |
| 48 | 48 | $listener->register(); |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | $listener = new DeprecationListener($interactor); |
| 63 | 63 | |
| 64 | - set_error_handler(function () { return false; }); |
|
| 64 | + set_error_handler(function() { return false; }); |
|
| 65 | 65 | try { |
| 66 | 66 | $listener->register(); |
| 67 | 67 | @trigger_error('This is a notice', E_USER_NOTICE); |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | |
| 99 | 99 | $listener = new DeprecationListener($interactor); |
| 100 | 100 | |
| 101 | - set_error_handler(function () { return false; }); |
|
| 101 | + set_error_handler(function() { return false; }); |
|
| 102 | 102 | try { |
| 103 | 103 | $listener->register(); |
| 104 | 104 | $listener->unregister(); |