@@ -57,6 +57,9 @@ discard block |
||
57 | 57 | return EntityManagerMock::create($connection, $config, $eventManager); |
58 | 58 | } |
59 | 59 | |
60 | + /** |
|
61 | + * @param string $path |
|
62 | + */ |
|
60 | 63 | protected function createMetadataDriver($type, $path) |
61 | 64 | { |
62 | 65 | $mappingDriver = [ |
@@ -75,6 +78,9 @@ discard block |
||
75 | 78 | return $driver; |
76 | 79 | } |
77 | 80 | |
81 | + /** |
|
82 | + * @param EntityManagerMock $em |
|
83 | + */ |
|
78 | 84 | protected function createClassMetadataFactory($em, $type) |
79 | 85 | { |
80 | 86 | $factory = ($type === 'annotation') |
@@ -294,7 +300,6 @@ discard block |
||
294 | 300 | |
295 | 301 | /** |
296 | 302 | * @depends testOneToManyAssociationsAreExported |
297 | - * @param ClassMetadata $metadata |
|
298 | 303 | */ |
299 | 304 | public function testManyToManyAssociationsAreExported($class) |
300 | 305 | { |
@@ -406,6 +411,9 @@ discard block |
||
406 | 411 | # $this->deleteDirectory(__DIR__ . '/export/'.$this->getType()); |
407 | 412 | } |
408 | 413 | |
414 | + /** |
|
415 | + * @param string $path |
|
416 | + */ |
|
409 | 417 | protected function deleteDirectory($path) |
410 | 418 | { |
411 | 419 | if (is_file($path)) { |
@@ -381,7 +381,7 @@ |
||
381 | 381 | |
382 | 382 | self::assertEquals('user', $property->getInversedBy()); |
383 | 383 | } |
384 | - /** |
|
384 | + /** |
|
385 | 385 | * @depends testExportDirectoryAndFilesAreCreated |
386 | 386 | */ |
387 | 387 | public function testCascadeAllCollapsed() |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use Doctrine\ORM\Mapping\ClassMetadata; |
13 | 13 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
14 | 14 | use Doctrine\ORM\Mapping\Driver\XmlDriver; |
15 | -use Doctrine\ORM\Mapping\Driver\PHPDriver; |
|
16 | 15 | use Doctrine\ORM\Mapping\ManyToManyAssociationMetadata; |
17 | 16 | use Doctrine\ORM\Mapping\OneToManyAssociationMetadata; |
18 | 17 | use Doctrine\ORM\Proxy\Factory\ProxyFactory; |
@@ -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 Doctrine\Tests\ORM\Tools\Export; |
6 | 6 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | 'xml' => XmlDriver::class, |
66 | 66 | ]; |
67 | 67 | |
68 | - self::assertArrayHasKey($type, $mappingDriver, "There is no metadata driver for the type '" . $type . "'."); |
|
68 | + self::assertArrayHasKey($type, $mappingDriver, "There is no metadata driver for the type '".$type."'."); |
|
69 | 69 | |
70 | 70 | $class = $mappingDriver[$type]; |
71 | 71 | $driver = ($type === 'annotation') |
@@ -88,10 +88,10 @@ discard block |
||
88 | 88 | |
89 | 89 | public function testExportDirectoryAndFilesAreCreated() |
90 | 90 | { |
91 | - $this->deleteDirectory(__DIR__ . '/export/'.$this->getType()); |
|
91 | + $this->deleteDirectory(__DIR__.'/export/'.$this->getType()); |
|
92 | 92 | |
93 | 93 | $type = $this->getType(); |
94 | - $metadataDriver = $this->createMetadataDriver($type, __DIR__ . '/' . $type); |
|
94 | + $metadataDriver = $this->createMetadataDriver($type, __DIR__.'/'.$type); |
|
95 | 95 | $em = $this->createEntityManager($metadataDriver); |
96 | 96 | $cmf = $this->createClassMetadataFactory($em, $type); |
97 | 97 | $metadata = $cmf->getAllMetadata(); |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | |
104 | 104 | $type = $this->getType(); |
105 | 105 | $cme = new ClassMetadataExporter(); |
106 | - $exporter = $cme->getExporter($type, __DIR__ . '/export/' . $type); |
|
106 | + $exporter = $cme->getExporter($type, __DIR__.'/export/'.$type); |
|
107 | 107 | |
108 | 108 | if ($type === 'annotation') { |
109 | 109 | $exporter->setEntityGenerator(new EntityGenerator()); |
@@ -115,9 +115,9 @@ discard block |
||
115 | 115 | $exporter->export(); |
116 | 116 | |
117 | 117 | if ($type == 'annotation') { |
118 | - self::assertTrue(file_exists(__DIR__ . '/export/' . $type . '/'.str_replace('\\', '/', ExportedUser::class).$this->extension)); |
|
118 | + self::assertTrue(file_exists(__DIR__.'/export/'.$type.'/'.str_replace('\\', '/', ExportedUser::class).$this->extension)); |
|
119 | 119 | } else { |
120 | - self::assertTrue(file_exists(__DIR__ . '/export/' . $type . '/Doctrine.Tests.ORM.Tools.Export.ExportedUser'.$this->extension)); |
|
120 | + self::assertTrue(file_exists(__DIR__.'/export/'.$type.'/Doctrine.Tests.ORM.Tools.Export.ExportedUser'.$this->extension)); |
|
121 | 121 | } |
122 | 122 | } |
123 | 123 | |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | { |
129 | 129 | $type = $this->getType(); |
130 | 130 | |
131 | - $metadataDriver = $this->createMetadataDriver($type, __DIR__ . '/export/' . $type); |
|
131 | + $metadataDriver = $this->createMetadataDriver($type, __DIR__.'/export/'.$type); |
|
132 | 132 | $em = $this->createEntityManager($metadataDriver); |
133 | 133 | $cmf = $this->createClassMetadataFactory($em, $type); |
134 | 134 | $metadata = $cmf->getAllMetadata(); |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | $type = $this->getType(); |
382 | 382 | |
383 | 383 | if ($type === 'xml') { |
384 | - $xml = simplexml_load_file(__DIR__ . '/export/'.$type.'/Doctrine.Tests.ORM.Tools.Export.ExportedUser.dcm.xml'); |
|
384 | + $xml = simplexml_load_file(__DIR__.'/export/'.$type.'/Doctrine.Tests.ORM.Tools.Export.ExportedUser.dcm.xml'); |
|
385 | 385 | |
386 | 386 | $xml->registerXPathNamespace("d", "http://doctrine-project.org/schemas/orm/doctrine-mapping"); |
387 | 387 | $nodes = $xml->xpath("/d:doctrine-mapping/d:entity/d:one-to-many[@field='interests']/d:cascade/d:*"); |
@@ -405,10 +405,10 @@ discard block |
||
405 | 405 | if (is_file($path)) { |
406 | 406 | return unlink($path); |
407 | 407 | } else if (is_dir($path)) { |
408 | - $files = glob(rtrim($path,'/').'/*'); |
|
408 | + $files = glob(rtrim($path, '/').'/*'); |
|
409 | 409 | |
410 | 410 | if (is_array($files)) { |
411 | - foreach ($files as $file){ |
|
411 | + foreach ($files as $file) { |
|
412 | 412 | $this->deleteDirectory($file); |
413 | 413 | } |
414 | 414 | } |
@@ -654,6 +654,9 @@ discard block |
||
654 | 654 | return $this->items; |
655 | 655 | } |
656 | 656 | |
657 | + /** |
|
658 | + * @param string $value |
|
659 | + */ |
|
657 | 660 | public function setTransient($value) { |
658 | 661 | if ($value != $this->transient) { |
659 | 662 | $this->onPropertyChanged('transient', $this->transient, $value); |
@@ -665,6 +668,9 @@ discard block |
||
665 | 668 | return $this->data; |
666 | 669 | } |
667 | 670 | |
671 | + /** |
|
672 | + * @param string $data |
|
673 | + */ |
|
668 | 674 | public function setData($data) { |
669 | 675 | if ($data != $this->data) { |
670 | 676 | $this->onPropertyChanged('data', $this->data, $data); |
@@ -677,6 +683,9 @@ discard block |
||
677 | 683 | $this->listeners[] = $listener; |
678 | 684 | } |
679 | 685 | |
686 | + /** |
|
687 | + * @param string $propName |
|
688 | + */ |
|
680 | 689 | protected function onPropertyChanged($propName, $oldValue, $newValue) { |
681 | 690 | if ($this->listeners) { |
682 | 691 | foreach ($this->listeners as $listener) { |
@@ -707,6 +716,9 @@ discard block |
||
707 | 716 | return $this->owner; |
708 | 717 | } |
709 | 718 | |
719 | + /** |
|
720 | + * @param NotifyChangedEntity|null $owner |
|
721 | + */ |
|
710 | 722 | public function setOwner($owner) { |
711 | 723 | $this->owner = $owner; |
712 | 724 | } |
@@ -7,10 +7,8 @@ discard block |
||
7 | 7 | use Doctrine\Common\Collections\ArrayCollection; |
8 | 8 | use Doctrine\Common\EventManager; |
9 | 9 | use Doctrine\Common\NotifyPropertyChanged; |
10 | -use Doctrine\Common\Persistence\Event\LifecycleEventArgs; |
|
11 | 10 | use Doctrine\Common\PropertyChangedListener; |
12 | 11 | use Doctrine\ORM\Annotation as ORM; |
13 | -use Doctrine\ORM\Events; |
|
14 | 12 | use Doctrine\ORM\Mapping\ClassMetadata; |
15 | 13 | use Doctrine\ORM\Mapping\ClassMetadataBuildingContext; |
16 | 14 | use Doctrine\ORM\Mapping\ClassMetadataFactory; |
@@ -24,7 +22,6 @@ discard block |
||
24 | 22 | use Doctrine\Tests\Mocks\EntityPersisterMock; |
25 | 23 | use Doctrine\Tests\Mocks\UnitOfWorkMock; |
26 | 24 | use Doctrine\Tests\Models\CMS\CmsPhonenumber; |
27 | -use Doctrine\Tests\Models\CMS\CmsUser; |
|
28 | 25 | use Doctrine\Tests\Models\Forum\ForumAvatar; |
29 | 26 | use Doctrine\Tests\Models\Forum\ForumUser; |
30 | 27 | use Doctrine\Tests\Models\GeoNames\City; |
@@ -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 Doctrine\Tests\ORM; |
6 | 6 | |
@@ -450,7 +450,7 @@ discard block |
||
450 | 450 | 'empty string, single field' => [$emptyString, ''], |
451 | 451 | 'non-empty string, single field' => [$nonEmptyString, $nonEmptyString->id], |
452 | 452 | 'empty strings, two fields' => [$emptyStrings, ' '], |
453 | - 'non-empty strings, two fields' => [$nonEmptyStrings, $nonEmptyStrings->id1 . ' ' . $nonEmptyStrings->id2], |
|
453 | + 'non-empty strings, two fields' => [$nonEmptyStrings, $nonEmptyStrings->id1.' '.$nonEmptyStrings->id2], |
|
454 | 454 | 'boolean true' => [$booleanTrue, '1'], |
455 | 455 | 'boolean false' => [$booleanFalse, ''], |
456 | 456 | ]; |
@@ -481,7 +481,7 @@ discard block |
||
481 | 481 | |
482 | 482 | public function entitiesWithInvalidIdentifiersProvider() |
483 | 483 | { |
484 | - $firstNullString = new EntityWithCompositeStringIdentifier(); |
|
484 | + $firstNullString = new EntityWithCompositeStringIdentifier(); |
|
485 | 485 | |
486 | 486 | $firstNullString->id2 = uniqid('id2', true); |
487 | 487 |
@@ -58,7 +58,7 @@ |
||
58 | 58 | protected $secondLevelCacheDriverImpl = null; |
59 | 59 | |
60 | 60 | /** |
61 | - * @param array $paths |
|
61 | + * @param string[] $paths |
|
62 | 62 | * |
63 | 63 | * @return \Doctrine\ORM\Mapping\Driver\AnnotationDriver |
64 | 64 | */ |
@@ -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 Doctrine\Tests; |
6 | 6 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | { |
68 | 68 | $reader = new Annotations\CachedReader(new Annotations\AnnotationReader(), new ArrayCache()); |
69 | 69 | |
70 | - Annotations\AnnotationRegistry::registerFile(__DIR__ . "/../../../lib/Doctrine/ORM/Annotation/DoctrineAnnotations.php"); |
|
70 | + Annotations\AnnotationRegistry::registerFile(__DIR__."/../../../lib/Doctrine/ORM/Annotation/DoctrineAnnotations.php"); |
|
71 | 71 | |
72 | 72 | return new AnnotationDriver($reader, (array) $paths); |
73 | 73 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | $config->setAutoGenerateProxyClasses(ProxyFactory::AUTOGENERATE_EVAL); |
107 | 107 | $config->setMetadataDriverImpl( |
108 | 108 | $config->newDefaultAnnotationDriver([ |
109 | - realpath(__DIR__ . '/Models/Cache') |
|
109 | + realpath(__DIR__.'/Models/Cache') |
|
110 | 110 | ]) |
111 | 111 | ); |
112 | 112 |
@@ -2,28 +2,28 @@ |
||
2 | 2 | /* |
3 | 3 | * This file bootstraps the test environment. |
4 | 4 | */ |
5 | -declare(strict_types=1); |
|
5 | +declare(strict_types = 1); |
|
6 | 6 | |
7 | 7 | namespace Doctrine\Tests; |
8 | 8 | |
9 | 9 | error_reporting(E_ALL | E_STRICT); |
10 | 10 | date_default_timezone_set('UTC'); |
11 | 11 | |
12 | -if (file_exists(__DIR__ . '/../../../vendor/autoload.php')) { |
|
12 | +if (file_exists(__DIR__.'/../../../vendor/autoload.php')) { |
|
13 | 13 | // dependencies were installed via composer - this is the main project |
14 | - require __DIR__ . '/../../../vendor/autoload.php'; |
|
15 | -} elseif (file_exists(__DIR__ . '/../../../../../autoload.php')) { |
|
14 | + require __DIR__.'/../../../vendor/autoload.php'; |
|
15 | +} elseif (file_exists(__DIR__.'/../../../../../autoload.php')) { |
|
16 | 16 | // installed as a dependency in `vendor` |
17 | - require __DIR__ . '/../../../../../autoload.php'; |
|
17 | + require __DIR__.'/../../../../../autoload.php'; |
|
18 | 18 | } else { |
19 | 19 | throw new \Exception('Can\'t find autoload.php. Did you install dependencies via composer?'); |
20 | 20 | } |
21 | 21 | |
22 | -if ( ! file_exists(__DIR__ . '/Proxies') && ! mkdir(__DIR__ . '/Proxies')) { |
|
23 | - throw new \Exception("Could not create " . __DIR__."/Proxies Folder."); |
|
22 | +if ( ! file_exists(__DIR__.'/Proxies') && ! mkdir(__DIR__.'/Proxies')) { |
|
23 | + throw new \Exception("Could not create ".__DIR__."/Proxies Folder."); |
|
24 | 24 | } |
25 | 25 | |
26 | -if ( ! file_exists(__DIR__ . '/ORM/Proxy/generated') && ! mkdir(__DIR__ . '/ORM/Proxy/generated')) { |
|
27 | - throw new \Exception('Could not create ' . __DIR__ . '/ORM/Proxy/generated Folder.'); |
|
26 | +if ( ! file_exists(__DIR__.'/ORM/Proxy/generated') && ! mkdir(__DIR__.'/ORM/Proxy/generated')) { |
|
27 | + throw new \Exception('Could not create '.__DIR__.'/ORM/Proxy/generated Folder.'); |
|
28 | 28 | } |
29 | 29 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests; |
6 | 6 |
@@ -786,7 +786,11 @@ |
||
786 | 786 | foreach ($last25queries as $i => $query) { |
787 | 787 | $params = array_map( |
788 | 788 | function($p) { |
789 | - if (is_object($p)) return get_class($p); else return var_export($p, true); |
|
789 | + if (is_object($p)) { |
|
790 | + return get_class($p); |
|
791 | + } else { |
|
792 | + return var_export($p, true); |
|
793 | + } |
|
790 | 794 | }, |
791 | 795 | $query['params'] ?: [] |
792 | 796 | ); |
@@ -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 Doctrine\Tests; |
6 | 6 | |
@@ -402,7 +402,7 @@ discard block |
||
402 | 402 | $conn->executeUpdate('DELETE FROM RoutingLocation'); |
403 | 403 | } |
404 | 404 | |
405 | - if(isset($this->usedModelSets['navigation'])) { |
|
405 | + if (isset($this->usedModelSets['navigation'])) { |
|
406 | 406 | $conn->executeUpdate('DELETE FROM navigation_tour_pois'); |
407 | 407 | $conn->executeUpdate('DELETE FROM navigation_photos'); |
408 | 408 | $conn->executeUpdate('DELETE FROM navigation_pois'); |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | $conn->executeUpdate('DELETE FROM navigation_countries'); |
411 | 411 | } |
412 | 412 | if (isset($this->usedModelSets['directorytree'])) { |
413 | - $conn->executeUpdate('DELETE FROM ' . $platform->quoteIdentifier("file")); |
|
413 | + $conn->executeUpdate('DELETE FROM '.$platform->quoteIdentifier("file")); |
|
414 | 414 | // MySQL doesn't know deferred deletions therefore only executing the second query gives errors. |
415 | 415 | $conn->executeUpdate('DELETE FROM Directory WHERE parentDirectory_id IS NOT NULL'); |
416 | 416 | $conn->executeUpdate('DELETE FROM Directory'); |
@@ -500,12 +500,12 @@ discard block |
||
500 | 500 | ) |
501 | 501 | ); |
502 | 502 | |
503 | - $conn->executeUpdate('DELETE FROM ' . $platform->quoteIdentifier('quote-users-groups')); |
|
504 | - $conn->executeUpdate('DELETE FROM ' . $platform->quoteIdentifier("quote-group")); |
|
505 | - $conn->executeUpdate('DELETE FROM ' . $platform->quoteIdentifier("quote-phone")); |
|
506 | - $conn->executeUpdate('DELETE FROM ' . $platform->quoteIdentifier("quote-user")); |
|
507 | - $conn->executeUpdate('DELETE FROM ' . $platform->quoteIdentifier("quote-address")); |
|
508 | - $conn->executeUpdate('DELETE FROM ' . $platform->quoteIdentifier('quote-city')); |
|
503 | + $conn->executeUpdate('DELETE FROM '.$platform->quoteIdentifier('quote-users-groups')); |
|
504 | + $conn->executeUpdate('DELETE FROM '.$platform->quoteIdentifier("quote-group")); |
|
505 | + $conn->executeUpdate('DELETE FROM '.$platform->quoteIdentifier("quote-phone")); |
|
506 | + $conn->executeUpdate('DELETE FROM '.$platform->quoteIdentifier("quote-user")); |
|
507 | + $conn->executeUpdate('DELETE FROM '.$platform->quoteIdentifier("quote-address")); |
|
508 | + $conn->executeUpdate('DELETE FROM '.$platform->quoteIdentifier('quote-city')); |
|
509 | 509 | } |
510 | 510 | |
511 | 511 | if (isset($this->usedModelSets['vct_onetoone'])) { |
@@ -640,15 +640,15 @@ discard block |
||
640 | 640 | { |
641 | 641 | $this->setUpDBALTypes(); |
642 | 642 | |
643 | - if (! isset(static::$sharedConn)) { |
|
643 | + if ( ! isset(static::$sharedConn)) { |
|
644 | 644 | static::$sharedConn = TestUtil::getConnection(); |
645 | 645 | } |
646 | 646 | |
647 | 647 | if (isset($GLOBALS['DOCTRINE_MARK_SQL_LOGS'])) { |
648 | 648 | if (in_array(static::$sharedConn->getDatabasePlatform()->getName(), ["mysql", "postgresql"])) { |
649 | - static::$sharedConn->executeQuery('SELECT 1 /*' . get_class($this) . '*/'); |
|
649 | + static::$sharedConn->executeQuery('SELECT 1 /*'.get_class($this).'*/'); |
|
650 | 650 | } else if (static::$sharedConn->getDatabasePlatform()->getName() === "oracle") { |
651 | - static::$sharedConn->executeQuery('SELECT 1 /*' . get_class($this) . '*/ FROM dual'); |
|
651 | + static::$sharedConn->executeQuery('SELECT 1 /*'.get_class($this).'*/ FROM dual'); |
|
652 | 652 | } |
653 | 653 | } |
654 | 654 | |
@@ -658,7 +658,7 @@ discard block |
||
658 | 658 | } |
659 | 659 | |
660 | 660 | foreach ($this->usedModelSets as $setName => $bool) { |
661 | - if (! isset(static::$tablesCreated[$setName])) { |
|
661 | + if ( ! isset(static::$tablesCreated[$setName])) { |
|
662 | 662 | $this->setUpEntitySchema(static::$modelSets[$setName]); |
663 | 663 | |
664 | 664 | static::$tablesCreated[$setName] = true; |
@@ -733,8 +733,8 @@ discard block |
||
733 | 733 | |
734 | 734 | $config->setMetadataDriverImpl( |
735 | 735 | $config->newDefaultAnnotationDriver([ |
736 | - realpath(__DIR__ . '/Models/Cache'), |
|
737 | - realpath(__DIR__ . '/Models/GeoNames') |
|
736 | + realpath(__DIR__.'/Models/Cache'), |
|
737 | + realpath(__DIR__.'/Models/GeoNames') |
|
738 | 738 | ]) |
739 | 739 | ); |
740 | 740 | |
@@ -798,9 +798,9 @@ discard block |
||
798 | 798 | $trace = $e->getTrace(); |
799 | 799 | $traceMsg = ""; |
800 | 800 | |
801 | - foreach($trace AS $part) { |
|
802 | - if(isset($part['file'])) { |
|
803 | - if(strpos($part['file'], "PHPUnit/") !== false) { |
|
801 | + foreach ($trace AS $part) { |
|
802 | + if (isset($part['file'])) { |
|
803 | + if (strpos($part['file'], "PHPUnit/") !== false) { |
|
804 | 804 | // Beginning with PHPUnit files we don't print the trace anymore. |
805 | 805 | break; |
806 | 806 | } |
@@ -811,7 +811,7 @@ discard block |
||
811 | 811 | |
812 | 812 | $message = "[".get_class($e)."] ".$e->getMessage().PHP_EOL.PHP_EOL."With queries:".PHP_EOL.$queries.PHP_EOL."Trace:".PHP_EOL.$traceMsg; |
813 | 813 | |
814 | - throw new \Exception($message, (int)$e->getCode(), $e); |
|
814 | + throw new \Exception($message, (int) $e->getCode(), $e); |
|
815 | 815 | } |
816 | 816 | |
817 | 817 | throw $e; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\ORM; |
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 Doctrine\Tests\ORM\Utility; |
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 Doctrine\Tests\ORM\Mapping; |
6 | 6 |