Passed
Push — master ( 91acb4...45c380 )
by Luís
13:14
created
tests/Doctrine/Tests/TestInit.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -2,28 +2,28 @@
 block discarded – undo
2 2
 /*
3 3
  * This file bootstraps the test environment.
4 4
  */
5
-declare(strict_types=1);
5
+declare(strict_types = 1);
6 6
 
7 7
 namespace Doctrine\Tests;
8 8
 
9 9
 error_reporting(E_ALL | E_STRICT);
10 10
 date_default_timezone_set('UTC');
11 11
 
12
-if (file_exists(__DIR__ . '/../../../vendor/autoload.php')) {
12
+if (file_exists(__DIR__.'/../../../vendor/autoload.php')) {
13 13
     // dependencies were installed via composer - this is the main project
14
-    require __DIR__ . '/../../../vendor/autoload.php';
15
-} elseif (file_exists(__DIR__ . '/../../../../../autoload.php')) {
14
+    require __DIR__.'/../../../vendor/autoload.php';
15
+} elseif (file_exists(__DIR__.'/../../../../../autoload.php')) {
16 16
     // installed as a dependency in `vendor`
17
-    require __DIR__ . '/../../../../../autoload.php';
17
+    require __DIR__.'/../../../../../autoload.php';
18 18
 } else {
19 19
     throw new \Exception('Can\'t find autoload.php. Did you install dependencies via composer?');
20 20
 }
21 21
 
22
-if ( ! file_exists(__DIR__ . '/Proxies') && ! mkdir(__DIR__ . '/Proxies')) {
23
-    throw new \Exception("Could not create " . __DIR__."/Proxies Folder.");
22
+if ( ! file_exists(__DIR__.'/Proxies') && ! mkdir(__DIR__.'/Proxies')) {
23
+    throw new \Exception("Could not create ".__DIR__."/Proxies Folder.");
24 24
 }
25 25
 
26
-if ( ! file_exists(__DIR__ . '/ORM/Proxy/generated') &&  ! mkdir(__DIR__ . '/ORM/Proxy/generated')) {
27
-    throw new \Exception('Could not create ' . __DIR__ . '/ORM/Proxy/generated Folder.');
26
+if ( ! file_exists(__DIR__.'/ORM/Proxy/generated') && ! mkdir(__DIR__.'/ORM/Proxy/generated')) {
27
+    throw new \Exception('Could not create '.__DIR__.'/ORM/Proxy/generated Folder.');
28 28
 }
29 29
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalTestCase.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\Tests;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/EntityNotFoundExceptionTest.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\Tests\ORM;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Utility/IdentifierFlattenerTest.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\Tests\ORM\Utility;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/NamingStrategyTest.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\Tests\ORM\Mapping;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/EntityListenerResolverTest.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\Tests\ORM\Mapping;
6 6
 
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     protected function setUp()
22 22
     {
23 23
         parent::setUp();
24
-        $this->resolver  = new DefaultEntityListenerResolver();
24
+        $this->resolver = new DefaultEntityListenerResolver();
25 25
     }
26 26
 
27 27
     public function testResolve()
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Mapping/NamingStrategy/JoinColumnClassNamingStrategy.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\Mapping\NamingStrategy;
6 6
 
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     public function joinColumnName($propertyName, $className = null)
18 18
     {
19 19
         return strtolower($this->classToTableName($className))
20
-            . '_' . $propertyName
21
-            . '_' . $this->referenceColumnName();
20
+            . '_'.$propertyName
21
+            . '_'.$this->referenceColumnName();
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/Symfony/AbstractDriverTest.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\Tests\ORM\Mapping\Symfony;
6 6
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function testFindMappingNamespaceNotFound()
55 55
     {
56 56
         $this->expectException(MappingException::class);
57
-        $this->expectExceptionMessage("No mapping file found named 'Foo" . $this->getFileExtension() . "' for class 'MyOtherNamespace\MySubnamespace\Entity\Foo'.");
57
+        $this->expectExceptionMessage("No mapping file found named 'Foo".$this->getFileExtension()."' for class 'MyOtherNamespace\MySubnamespace\Entity\Foo'.");
58 58
 
59 59
         $driver = $this->getDriver(
60 60
             [
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/Symfony/XmlDriverTest.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\Tests\ORM\Mapping\Symfony;
6 6
 
Please login to merge, or discard this patch.