@@ -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 | namespace Psi\Bridge\ObjectAgent\Doctrine\PhpcrOdm\Tests\Functional; |
| 6 | 6 | |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | $page = new Page(); |
| 61 | 61 | $page->title = $title; |
| 62 | - $page->path = '/test/page-' . $id++; |
|
| 62 | + $page->path = '/test/page-'.$id++; |
|
| 63 | 63 | $this->documentManager->persist($page); |
| 64 | 64 | $this->documentManager->flush(); |
| 65 | 65 | |
@@ -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 | namespace Psi\Bridge\ObjectAgent\Doctrine\Orm\Tests\Functional; |
| 6 | 6 | |
@@ -15,19 +15,19 @@ discard block |
||
| 15 | 15 | public function getDefaultConfig() |
| 16 | 16 | { |
| 17 | 17 | return [ |
| 18 | - 'db_path' => __DIR__ . '/../../../../cache/test.sqlite', |
|
| 18 | + 'db_path' => __DIR__.'/../../../../cache/test.sqlite', |
|
| 19 | 19 | ]; |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | public function load(Container $container) |
| 23 | 23 | { |
| 24 | - $container->register('entity_manager', function (Container $container) { |
|
| 24 | + $container->register('entity_manager', function(Container $container) { |
|
| 25 | 25 | $dbParams = [ |
| 26 | 26 | 'driver' => 'pdo_sqlite', |
| 27 | 27 | 'path' => $container->getParameter('db_path'), |
| 28 | 28 | ]; |
| 29 | 29 | $paths = [ |
| 30 | - __DIR__ . '/mappings', |
|
| 30 | + __DIR__.'/mappings', |
|
| 31 | 31 | ]; |
| 32 | 32 | $config = Setup::createXMLMetadataConfiguration($paths, true); |
| 33 | 33 | $manager = EntityManager::create($dbParams, $config); |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | return $manager; |
| 36 | 36 | }); |
| 37 | 37 | |
| 38 | - $container->register('psi_object_agent.doctrine_orm', function (Container $container) { |
|
| 38 | + $container->register('psi_object_agent.doctrine_orm', function(Container $container) { |
|
| 39 | 39 | return new OrmAgent($container->get('entity_manager')); |
| 40 | 40 | }); |
| 41 | 41 | } |
@@ -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 | namespace Psi\Component\ObjectAgent\Query; |
| 6 | 6 | |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | $this->joins = $joins; |
| 34 | 34 | $this->selects = $selects; |
| 35 | 35 | |
| 36 | - array_walk($joins, function (Join $join) { |
|
| 36 | + array_walk($joins, function(Join $join) { |
|
| 37 | 37 | }); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Psi\Component\ObjectAgent; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Psi\Component\ObjectAgent\Event; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Psi\Component\ObjectAgent\Exception; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Psi\Component\ObjectAgent\Exception; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Psi\Component\ObjectAgent\Exception; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Psi\Component\ObjectAgent\Query; |
| 6 | 6 | |