Passed
Push — master ( 6137ca...01151b )
by Kevin
02:21
created
src/Doctrine/Repository/DBALMatchableObjectRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             ->fetch()
37 37
         ;
38 38
 
39
-        if (!$result) {
39
+        if ( ! $result) {
40 40
             throw new NotFound(\sprintf('Object from "%s" table not found for given specification.', static::tableName()));
41 41
         }
42 42
 
Please login to merge, or discard this patch.
src/Doctrine/Repository/ORMMatchableRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     final public function matchOne($specification)
23 23
     {
24
-        if (!$result = $this->qbForSpecification($specification)->getQuery()->getOneOrNullResult()) {
24
+        if ( ! $result = $this->qbForSpecification($specification)->getQuery()->getOneOrNullResult()) {
25 25
             throw new NotFound("{$this->getClassName()} not found for given specification.");
26 26
         }
27 27
 
Please login to merge, or discard this patch.
src/Specification/SpecificationNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     public function normalize($specification, $context)
24 24
     {
25
-        if (!$normalizer = $this->getNormalizer($specification, $context)) {
25
+        if ( ! $normalizer = $this->getNormalizer($specification, $context)) {
26 26
             throw new \RuntimeException(\sprintf('Specification "%s" with context "%s" does not have a supported visitor registered.', get_debug_type($specification), get_debug_type($context)));
27 27
         }
28 28
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         }
50 50
 
51 51
         foreach ($this->normalizers as $normalizer) {
52
-            if (!$normalizer->supports($specification, $context)) {
52
+            if ( ! $normalizer->supports($specification, $context)) {
53 53
                 continue;
54 54
             }
55 55
 
Please login to merge, or discard this patch.
src/Specification/Normalizer/WithNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     protected function normalizer(): Normalizer
20 20
     {
21
-        if (!$this->normalizer) {
21
+        if ( ! $this->normalizer) {
22 22
             throw new \RuntimeException('A normalizer has not been set.');
23 23
         }
24 24
 
Please login to merge, or discard this patch.
src/Specification/Normalizer/ClassMethodMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     protected static function classInMap($specification): bool
11 11
     {
12
-        if (!\is_object($specification)) {
12
+        if ( ! \is_object($specification)) {
13 13
             return false;
14 14
         }
15 15
 
Please login to merge, or discard this patch.