Passed
Pull Request — master (#6476)
by Luís
15:25
created
tests/Doctrine/Tests/ORM/Functional/CustomFunctionsTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,8 @@
 block discarded – undo
83 83
 
84 84
         $query = 'SELECT u FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.name IN (FOO(\'Lo\'), \'Lo\', :name)';
85 85
         $users = $this->_em->createQuery($query)
86
-                           ->setParameter('name', 'Lo')
87
-                           ->getResult();
86
+                            ->setParameter('name', 'Lo')
87
+                            ->getResult();
88 88
 
89 89
         self::assertCount(1, $users);
90 90
         self::assertSame($user, $users[0]);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 use Doctrine\Tests\Models\CMS\CmsUser;
12 12
 use Doctrine\Tests\OrmFunctionalTestCase;
13 13
 
14
-require_once __DIR__ . '/../../TestInit.php';
14
+require_once __DIR__.'/../../TestInit.php';
15 15
 
16 16
 class CustomFunctionsTest extends OrmFunctionalTestCase
17 17
 {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
         $this->_em->getConfiguration()->addCustomStringFunction(
78 78
             'FOO',
79
-            function (string $funcName) : NoOp {
79
+            function(string $funcName) : NoOp {
80 80
                 return new NoOp($funcName);
81 81
             }
82 82
         );
Please login to merge, or discard this patch.