Failed Conditions
Pull Request — master (#6743)
by Grégoire
11:31
created
lib/Doctrine/ORM/Persisters/Exception/InvalidOrientation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Persisters\Exception;
6 6
 
@@ -10,6 +10,6 @@  discard block
 block discarded – undo
10 10
 {
11 11
     public static function fromClassNameAndField(string $className, string $field) : self
12 12
     {
13
-        return new self('Invalid order by orientation specified for ' . $className . '#' . $field);
13
+        return new self('Invalid order by orientation specified for '.$className.'#'.$field);
14 14
     }
15 15
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Configuration.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM;
6 6
 
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      */
161 161
     public function newDefaultAnnotationDriver(array $paths = []) : AnnotationDriver
162 162
     {
163
-        AnnotationRegistry::registerFile(__DIR__ . '/Annotation/DoctrineAnnotations.php');
163
+        AnnotationRegistry::registerFile(__DIR__.'/Annotation/DoctrineAnnotations.php');
164 164
 
165 165
         $reader = new CachedReader(new AnnotationReader(), new ArrayCache());
166 166
 
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     {
235 235
         $queryCacheImpl = $this->getQueryCacheImpl();
236 236
 
237
-        if (! $queryCacheImpl) {
237
+        if ( ! $queryCacheImpl) {
238 238
             throw QueryCacheNotConfigured::create();
239 239
         }
240 240
 
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 
245 245
         $metadataCacheImpl = $this->getMetadataCacheImpl();
246 246
 
247
-        if (! $metadataCacheImpl) {
247
+        if ( ! $metadataCacheImpl) {
248 248
             throw MetadataCacheNotConfigured::create();
249 249
         }
250 250
 
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
     {
453 453
         $reflectionClass = new \ReflectionClass($repositoryClassName);
454 454
 
455
-        if (! $reflectionClass->implementsInterface(ObjectRepository::class)) {
455
+        if ( ! $reflectionClass->implementsInterface(ObjectRepository::class)) {
456 456
             throw InvalidEntityRepository::fromClassName($repositoryClassName);
457 457
         }
458 458
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Exception/NotSupported.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Tools\Exception;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Persisters/Exception/CantUseInOperatorOnCompositeKeys.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Persisters\Exception;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Exception/FeatureNotImplemented.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Cache\Exception;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Exception/NonCacheableEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Cache\Exception;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Exception/NonCacheableEntityAssociation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Cache\Exception;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Exception/MetadataCacheNotConfigured.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Cache\Exception;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Exception/CannotUpdateReadOnlyEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM\Cache\Exception;
6 6
 
Please login to merge, or discard this patch.