Failed Conditions
Pull Request — develop (#6743)
by Grégoire
62:30
created
tests/Doctrine/Tests/ORM/EntityManagerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Doctrine\ORM\Mapping\ClassMetadataFactory;
13 13
 use Doctrine\ORM\Mapping\Driver\MappingDriver;
14 14
 use Doctrine\ORM\NativeQuery;
15
-use Doctrine\ORM\ORMException;
16 15
 use Doctrine\ORM\ORMInvalidArgumentException;
17 16
 use Doctrine\ORM\Proxy\Factory\ProxyFactory;
18 17
 use Doctrine\ORM\Query;
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.
tests/Doctrine/Tests/ORM/Functional/CompositePrimaryKeyTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 declare(strict_types=1);
4 4
 
5 5
 namespace Doctrine\Tests\ORM\Functional;
6
-use Doctrine\Common\Util\Debug;
7 6
 use Doctrine\ORM\EntityManager\MissingIdentifierField;
8 7
 use Doctrine\ORM\EntityManager\UnrecognizedIdentifierFields;
9
-use Doctrine\ORM\ORMException;
10 8
 use Doctrine\ORM\Query\QueryException;
11 9
 use Doctrine\Tests\Models\Navigation\NavCountry;
12 10
 use Doctrine\Tests\Models\Navigation\NavPhotos;
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Persisters/CantUseInOperatorOnCompositeKeys.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Doctrine\ORM\Persisters;
6 6
 
7
-use Doctrine\ORM\ORMException;
8 7
 use Doctrine\ORM\PersisterException;
9 8
 
10 9
 class CantUseInOperatorOnCompositeKeys extends \Exception implements PersisterException
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.
lib/Doctrine/ORM/EntityManager/MissingIdentifierField.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/UnrecognizedIdentifierFields.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\EntityManager;
6 6
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     public static function fromClassAndFieldNames(string $className, array $fieldNames) : self
12 12
     {
13 13
         return new self(
14
-            "Unrecognized identifier fields: '" . implode("', '", $fieldNames) . "' " .
14
+            "Unrecognized identifier fields: '".implode("', '", $fieldNames)."' ".
15 15
             "are not present on class '$className'."
16 16
         );
17 17
     }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Persisters/InvalidOrientation.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Doctrine\ORM\Persisters;
6 6
 
7
-use Doctrine\ORM\ORMException;
8 7
 use Doctrine\ORM\PersisterException;
9 8
 
10 9
 class InvalidOrientation extends \Exception implements PersisterException
Please login to merge, or discard this 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;
6 6
 
@@ -11,6 +11,6 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public static function fromClassNameAndField(string $className, string $field): self
13 13
     {
14
-        return new self("Invalid order by orientation specified for " . $className . "#" . $field);
14
+        return new self("Invalid order by orientation specified for ".$className."#".$field);
15 15
     }
16 16
 }
Please login to merge, or discard this patch.