@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | public function __construct( |
| 36 | 36 | private readonly ConfiguratorInterface $config, |
| 37 | - ) { |
|
| 37 | + ){ |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | public function init(EnvironmentInterface $env): void |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | /** |
| 46 | 46 | * @param class-string<TracerFactoryInterface>|TracerFactoryInterface|Autowire $driver |
| 47 | 47 | */ |
| 48 | - public function registerTracer(string $name, string|TracerFactoryInterface|Autowire $driver): void |
|
| 48 | + public function registerTracer(string $name, string | TracerFactoryInterface | Autowire $driver): void |
|
| 49 | 49 | { |
| 50 | 50 | $this->config->modify( |
| 51 | 51 | TelemetryConfig::CONFIG, |
@@ -77,7 +77,8 @@ |
||
| 77 | 77 | ->with(SpanInterface::class); |
| 78 | 78 | $scope->shouldNotReceive('runScope'); |
| 79 | 79 | |
| 80 | - ContainerScope::runScope($container, function () use ($tracer, $callable) { |
|
| 80 | + ContainerScope::runScope($container, function () use ($tracer, $callable) |
|
| 81 | + { |
|
| 81 | 82 | $this->assertSame( |
| 82 | 83 | 'hello', |
| 83 | 84 | $tracer->trace('foo', $callable, ['foo' => 'bar']) |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | public function defineDirectories(string $root): array |
| 32 | 32 | { |
| 33 | 33 | return [ |
| 34 | - 'root' => __DIR__ . '/App', |
|
| 35 | - 'app' => __DIR__ . '/App' |
|
| 34 | + 'root' => __DIR__.'/App', |
|
| 35 | + 'app' => __DIR__.'/App' |
|
| 36 | 36 | ] + parent::defineDirectories($root); |
| 37 | 37 | } |
| 38 | 38 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | { |
| 41 | 41 | parent::tearDown(); |
| 42 | 42 | |
| 43 | - foreach (glob(__DIR__ . '/App/runtime/cache/views/*.php') as $file) { |
|
| 43 | + foreach (glob(__DIR__.'/App/runtime/cache/views/*.php') as $file){ |
|
| 44 | 44 | @unlink($file); |
| 45 | 45 | } |
| 46 | 46 | } |
@@ -40,7 +40,8 @@ |
||
| 40 | 40 | { |
| 41 | 41 | parent::tearDown(); |
| 42 | 42 | |
| 43 | - foreach (glob(__DIR__ . '/App/runtime/cache/views/*.php') as $file) { |
|
| 43 | + foreach (glob(__DIR__ . '/App/runtime/cache/views/*.php') as $file) |
|
| 44 | + { |
|
| 44 | 45 | @unlink($file); |
| 45 | 46 | } |
| 46 | 47 | } |