@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | use function sprintf; |
| 9 | 9 | use function trigger_error; |
| 10 | 10 | |
| 11 | -if (! interface_exists(\Doctrine\Persistence\ConnectionRegistry::class, false)) { |
|
| 11 | +if (!interface_exists(\Doctrine\Persistence\ConnectionRegistry::class, false)) { |
|
| 12 | 12 | @trigger_error(sprintf( |
| 13 | 13 | 'The %s\ConnectionRegistry class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0.' |
| 14 | 14 | . ' Use \Doctrine\Persistence\ConnectionRegistry instead.', |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | class_alias( |
| 20 | 20 | \Doctrine\Persistence\ConnectionRegistry::class, |
| 21 | - __NAMESPACE__ . '\ConnectionRegistry' |
|
| 21 | + __NAMESPACE__.'\ConnectionRegistry' |
|
| 22 | 22 | ); |
| 23 | 23 | |
| 24 | 24 | if (false) { |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | use function sprintf; |
| 9 | 9 | use function trigger_error; |
| 10 | 10 | |
| 11 | -if (! interface_exists(\Doctrine\Persistence\ManagerRegistry::class, false)) { |
|
| 11 | +if (!interface_exists(\Doctrine\Persistence\ManagerRegistry::class, false)) { |
|
| 12 | 12 | @trigger_error(sprintf( |
| 13 | 13 | 'The %s\ManagerRegistry class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0.' |
| 14 | 14 | . ' Use \Doctrine\Persistence\ManagerRegistry instead.', |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | class_alias( |
| 20 | 20 | \Doctrine\Persistence\ManagerRegistry::class, |
| 21 | - __NAMESPACE__ . '\ManagerRegistry' |
|
| 21 | + __NAMESPACE__.'\ManagerRegistry' |
|
| 22 | 22 | ); |
| 23 | 23 | |
| 24 | 24 | if (false) { |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | use function sprintf; |
| 9 | 9 | use function trigger_error; |
| 10 | 10 | |
| 11 | -if (! interface_exists(\Doctrine\Persistence\ObjectRepository::class, false)) { |
|
| 11 | +if (!interface_exists(\Doctrine\Persistence\ObjectRepository::class, false)) { |
|
| 12 | 12 | @trigger_error(sprintf( |
| 13 | 13 | 'The %s\ObjectRepository class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0.' |
| 14 | 14 | . ' Use \Doctrine\Persistence\ObjectRepository instead.', |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | class_alias( |
| 20 | 20 | \Doctrine\Persistence\ObjectRepository::class, |
| 21 | - __NAMESPACE__ . '\ObjectRepository' |
|
| 21 | + __NAMESPACE__.'\ObjectRepository' |
|
| 22 | 22 | ); |
| 23 | 23 | |
| 24 | 24 | if (false) { |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | use function sprintf; |
| 9 | 9 | use function trigger_error; |
| 10 | 10 | |
| 11 | -if (! interface_exists(\Doctrine\Persistence\PropertyChangedListener::class, false)) { |
|
| 11 | +if (!interface_exists(\Doctrine\Persistence\PropertyChangedListener::class, false)) { |
|
| 12 | 12 | @trigger_error(sprintf( |
| 13 | 13 | 'The %s\PropertyChangedListener class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0.' |
| 14 | 14 | . ' Use \Doctrine\Persistence\PropertyChangedListener instead.', |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | class_alias( |
| 20 | 20 | \Doctrine\Persistence\PropertyChangedListener::class, |
| 21 | - __NAMESPACE__ . '\PropertyChangedListener' |
|
| 21 | + __NAMESPACE__.'\PropertyChangedListener' |
|
| 22 | 22 | ); |
| 23 | 23 | |
| 24 | 24 | if (false) { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function getParentClasses($class) |
| 35 | 35 | { |
| 36 | - if (! class_exists($class)) { |
|
| 36 | + if (!class_exists($class)) { |
|
| 37 | 37 | throw MappingException::nonExistingClass($class); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | if ($reflectionProperty->isPublic()) { |
| 79 | 79 | $reflectionProperty = new RuntimePublicReflectionProperty($class, $property); |
| 80 | - } elseif ($this->supportsTypedPropertiesWorkaround && ! array_key_exists($property, $this->getClass($class)->getDefaultProperties())) { |
|
| 80 | + } elseif ($this->supportsTypedPropertiesWorkaround && !array_key_exists($property, $this->getClass($class)->getDefaultProperties())) { |
|
| 81 | 81 | $reflectionProperty = new TypedNoDefaultReflectionProperty($class, $property); |
| 82 | 82 | } |
| 83 | 83 | |