Test Failed
Pull Request — develop (#6743)
by Grégoire
64:45
created
lib/Doctrine/ORM/NewORMException.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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Repository/InvalidMagicMethodCall.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\Repository;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/RepositoryException.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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Repository/InvalidFindByCall.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\Repository;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/EntityRepository.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Doctrine\Common\Persistence\ObjectRepository;
10 10
 use Doctrine\Common\Util\Inflector;
11 11
 use Doctrine\ORM\Query\ResultSetMappingBuilder;
12
-use Doctrine\ORM\Repository\InvalidFindByCall;
13 12
 use Doctrine\ORM\Repository\InvalidMagicMethodCall;
14 13
 
15 14
 /**
Please login to merge, or discard this 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/ManagerException.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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/EntityManager/MissingMappingDriverImplementation.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/ConfigurationException.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;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Configuration/NamedQueryNotFound.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 query by the name "' . $queryName . '"');
13
+        return new self('Could not find a named query by the name "'.$queryName.'"');
14 14
     }
15 15
 }
Please login to merge, or discard this patch.