Failed Conditions
Pull Request — master (#6743)
by Grégoire
14:59
created
lib/Doctrine/ORM/EntityRepository.php 1 patch
Spacing   +4 added lines, -4 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
 
@@ -294,8 +294,8 @@  discard block
 block discarded – undo
294 294
      */
295 295
     private function resolveMagicCall($method, $by, array $arguments)
296 296
     {
297
-        if (! $arguments) {
298
-            throw InvalidMagicMethodCall::onMissingParameter($method . $by);
297
+        if ( ! $arguments) {
298
+            throw InvalidMagicMethodCall::onMissingParameter($method.$by);
299 299
         }
300 300
 
301 301
         $fieldName = lcfirst(Inflector::classify($by));
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
             throw InvalidMagicMethodCall::becauseFieldNotFoundIn(
305 305
                 $this->entityName,
306 306
                 $fieldName,
307
-                $method . $by
307
+                $method.$by
308 308
             );
309 309
         }
310 310
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Configuration/ProxyClassesAlwaysRegenerating.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Configuration;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Configuration/NamedNativeQueryNotFound.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\Configuration;
6 6
 
@@ -10,6 +10,6 @@  discard block
 block discarded – undo
10 10
 {
11 11
     public static function fromName(string $queryName) : self
12 12
     {
13
-        return new self('Could not find a named native query by the name "' . $queryName . '"');
13
+        return new self('Could not find a named native query by the name "'.$queryName.'"');
14 14
     }
15 15
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Configuration/UnknownEntityNamespace.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 namespace Doctrine\ORM\Configuration;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/EntityManager/EntityManagerClosed.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\EntityManager;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Persisters/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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/EntityManager/InvalidHydrationMode.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\EntityManager;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/EntityManager/MismatchedEventManager.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\EntityManager;
6 6
 
Please login to merge, or discard this patch.