Failed Conditions
Push — develop ( 9800ca...d1cf9a )
by Marco
272:19 queued 264:21
created
lib/Doctrine/ORM/Query/AST/Functions/AbsFunction.php 1 patch
Spacing   +3 added lines, -3 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\Query\AST\Functions;
6 6
 
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker)
32 32
     {
33
-        return 'ABS(' . $sqlWalker->walkSimpleArithmeticExpression(
33
+        return 'ABS('.$sqlWalker->walkSimpleArithmeticExpression(
34 34
             $this->simpleArithmeticExpression
35
-        ) . ')';
35
+        ).')';
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/ASTException.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\Query\AST;
6 6
 
@@ -18,6 +18,6 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public static function noDispatchForNode($node)
20 20
     {
21
-        return new self("Double-dispatch for node " . get_class($node) . " is not supported.");
21
+        return new self("Double-dispatch for node ".get_class($node)." is not supported.");
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Configuration/MetadataConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 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
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public function getNamingStrategy() : NamingStrategy
122 122
     {
123
-        if (! $this->namingStrategy) {
123
+        if ( ! $this->namingStrategy) {
124 124
             $this->namingStrategy = new DefaultNamingStrategy();
125 125
         }
126 126
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Internal/HydrationCompleteHandlerTest.php 1 patch
Spacing   +3 added lines, -3 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\Tests\ORM\Internal;
6 6
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 $metadata,
75 75
                 Events::postLoad,
76 76
                 $entity,
77
-                $this->callback(function (LifecycleEventArgs $args) use ($entityManager, $entity) {
77
+                $this->callback(function(LifecycleEventArgs $args) use ($entityManager, $entity) {
78 78
                     return $entity === $args->getEntity() && $entityManager === $args->getObjectManager();
79 79
                 }),
80 80
                 $listenersFlag
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
                 $this->logicalOr($metadata1, $metadata2),
143 143
                 Events::postLoad,
144 144
                 $this->logicalOr($entity1, $entity2),
145
-                $this->callback(function (LifecycleEventArgs $args) use ($entityManager, $entity1, $entity2) {
145
+                $this->callback(function(LifecycleEventArgs $args) use ($entityManager, $entity1, $entity2) {
146 146
                     return in_array($args->getEntity(), [$entity1, $entity2], true)
147 147
                         && $entityManager === $args->getObjectManager();
148 148
                 }),
Please login to merge, or discard this patch.
bin/doctrine-pear.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-declare(strict_types=1);
4
+declare(strict_types = 1);
5 5
 
6 6
 require_once 'Doctrine/Common/ClassLoader.php';
7 7
 
@@ -11,13 +11,13 @@  discard block
 block discarded – undo
11 11
 $classLoader = new \Doctrine\Common\ClassLoader('Symfony');
12 12
 $classLoader->register();
13 13
 
14
-$configFile = getcwd() . DIRECTORY_SEPARATOR . 'cli-config.php';
14
+$configFile = getcwd().DIRECTORY_SEPARATOR.'cli-config.php';
15 15
 
16 16
 $helperSet = null;
17 17
 if (file_exists($configFile)) {
18 18
     if ( ! is_readable($configFile)) {
19 19
         trigger_error(
20
-            'Configuration file [' . $configFile . '] does not have read permission.', E_USER_ERROR
20
+            'Configuration file ['.$configFile.'] does not have read permission.', E_USER_ERROR
21 21
         );
22 22
     }
23 23
 
Please login to merge, or discard this patch.
bin/doctrine.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 use Symfony\Component\Console\Helper\HelperSet;
6 6
 use Doctrine\ORM\Tools\Console\ConsoleRunner;
7 7
 
8 8
 $autoloadFiles = [
9
-    __DIR__ . '/../vendor/autoload.php',
10
-    __DIR__ . '/../../../autoload.php'
9
+    __DIR__.'/../vendor/autoload.php',
10
+    __DIR__.'/../../../autoload.php'
11 11
 ];
12 12
 
13 13
 foreach ($autoloadFiles as $autoloadFile) {
@@ -17,11 +17,11 @@  discard block
 block discarded – undo
17 17
     }
18 18
 }
19 19
 
20
-$directories = [getcwd(), getcwd() . DIRECTORY_SEPARATOR . 'config'];
20
+$directories = [getcwd(), getcwd().DIRECTORY_SEPARATOR.'config'];
21 21
 
22 22
 $configFile = null;
23 23
 foreach ($directories as $directory) {
24
-    $configFile = $directory . DIRECTORY_SEPARATOR . 'cli-config.php';
24
+    $configFile = $directory.DIRECTORY_SEPARATOR.'cli-config.php';
25 25
 
26 26
     if (file_exists($configFile)) {
27 27
         break;
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 }
35 35
 
36 36
 if ( ! is_readable($configFile)) {
37
-    echo 'Configuration file [' . $configFile . '] does not have read permission.' . "\n";
37
+    echo 'Configuration file ['.$configFile.'] does not have read permission.'."\n";
38 38
     exit(1);
39 39
 }
40 40
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/UnexpectedResultException.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/Cache/CollectionCacheEntry.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\Cache;
7 7
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/RegionsConfiguration.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\Cache;
7 7
 
Please login to merge, or discard this patch.