| @@ -30,7 +30,7 @@ | ||
| 30 | 30 | */ | 
| 31 | 31 | public function registerContainerConfiguration(LoaderInterface $loader) | 
| 32 | 32 |      { | 
| 33 | - $dir = __DIR__ . '/services.yml'; | |
| 33 | + $dir = __DIR__.'/services.yml'; | |
| 34 | 34 | $loader->load($dir); | 
| 35 | 35 | } | 
| 36 | 36 | } | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare(strict_types=1); | |
| 3 | +declare(strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | namespace Bruli\EventBusBundleTests\Behaviour; | 
| @@ -18,6 +18,6 @@ discard block | ||
| 18 | 18 | */ | 
| 19 | 19 | public function handle(CommandInterface $command) | 
| 20 | 20 |      { | 
| 21 | - file_put_contents(__DIR__. '/../Behaviour/' . self::FILE_TEST , 'testing'); | |
| 21 | + file_put_contents(__DIR__.'/../Behaviour/'.self::FILE_TEST, 'testing'); | |
| 22 | 22 | } | 
| 23 | 23 | } | 
| 24 | 24 | \ No newline at end of file | 
| @@ -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 | namespace Bruli\EventBusBundleTests\Behaviour; | 
| @@ -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 | namespace Bruli\EventBusBundleTests\Infrastructure; | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare(strict_types=1); | |
| 3 | +declare(strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | namespace Bruli\EventBusBundleTests\Behaviour; | 
| @@ -18,6 +18,6 @@ discard block | ||
| 18 | 18 | */ | 
| 19 | 19 | public function handle(CommandInterface $command) | 
| 20 | 20 |      { | 
| 21 | - file_put_contents(__DIR__. '/../Behaviour/' . self::FILE_TEST , 'testing'); | |
| 21 | + file_put_contents(__DIR__.'/../Behaviour/'.self::FILE_TEST, 'testing'); | |
| 22 | 22 | } | 
| 23 | 23 | } | 
| 24 | 24 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare(strict_types=1); | |
| 3 | +declare(strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | namespace Bruli\EventBusBundleTests\Behaviour; | 
| @@ -18,7 +18,7 @@ discard block | ||
| 18 | 18 | */ | 
| 19 | 19 | public function handle(CommandInterface $command) | 
| 20 | 20 |      { | 
| 21 | - file_put_contents(__DIR__. '/' . self::FILE_TEST , 'testing'); | |
| 22 | - unlink(__DIR__. '/' . WithPostMiddleWareHandler::FILE_TEST); | |
| 21 | + file_put_contents(__DIR__.'/'.self::FILE_TEST, 'testing'); | |
| 22 | + unlink(__DIR__.'/'.WithPostMiddleWareHandler::FILE_TEST); | |
| 23 | 23 | } | 
| 24 | 24 | } | 
| @@ -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 | namespace Bruli\EventBusBundleTests\Behaviour; | 
| @@ -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 | namespace Bruli\EventBusBundleTests\Behaviour; | 
| @@ -43,7 +43,7 @@ discard block | ||
| 43 | 43 | */ | 
| 44 | 44 | private function handlePreMiddleWares(CommandInterface $command) | 
| 45 | 45 |      { | 
| 46 | - $commandName = '\\' . get_class($command); | |
| 46 | + $commandName = '\\'.get_class($command); | |
| 47 | 47 |          if (true === $this->optionsResolver->preMiddleWareHasCommands($commandName)) { | 
| 48 | 48 |              foreach ($this->optionsResolver->getPreMiddleWareOptions($commandName) as $preMiddleWareOption) { | 
| 49 | 49 | $this->container->get($preMiddleWareOption)->handle($command); | 
| @@ -56,7 +56,7 @@ discard block | ||
| 56 | 56 | */ | 
| 57 | 57 | private function handleCommand(CommandInterface $command) | 
| 58 | 58 |      { | 
| 59 | -        $this->container->get($this->optionsResolver->getOption('\\' . get_class($command)))->handle($command); | |
| 59 | +        $this->container->get($this->optionsResolver->getOption('\\'.get_class($command)))->handle($command); | |
| 60 | 60 | } | 
| 61 | 61 | |
| 62 | 62 | /** | 
| @@ -64,7 +64,7 @@ discard block | ||
| 64 | 64 | */ | 
| 65 | 65 | private function handlePostMiddleWares(CommandInterface $command) | 
| 66 | 66 |      { | 
| 67 | - $commandName = '\\' . get_class($command); | |
| 67 | + $commandName = '\\'.get_class($command); | |
| 68 | 68 |          if (true === $this->optionsResolver->postMiddleWareHasCommands($commandName)) { | 
| 69 | 69 |              foreach ($this->optionsResolver->getPostMiddleWareOptions($commandName) as $postMiddleWareOption) { | 
| 70 | 70 | $this->container->get($postMiddleWareOption)->handle($command); |