Completed
Push — master ( 22bf77...661552 )
by Marco
22s queued 17s
created
tests/Doctrine/Tests/ORM/Utility/StaticClassNameConverterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $className      = array_pop($namespaceParts);
46 46
         $namespace      = implode('\\', $namespaceParts);
47 47
 
48
-        eval('namespace ' . $namespace . ' { class ' . $className . ' {} }');
48
+        eval('namespace '.$namespace.' { class '.$className.' {} }');
49 49
 
50 50
         self::assertSame($expectedClassName, StaticClassNameConverter::getClass(new $givenClassName()));
51 51
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Cache/Attraction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 
88 88
     public function addInfo(AttractionInfo $info)
89 89
     {
90
-        if (! $this->infos->contains($info)) {
90
+        if ( ! $this->infos->contains($info)) {
91 91
             $this->infos->add($info);
92 92
         }
93 93
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Cache/Traveler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
     public function addTravel(Travel $item)
90 90
     {
91
-        if (! $this->travels->contains($item)) {
91
+        if ( ! $this->travels->contains($item)) {
92 92
             $this->travels->add($item);
93 93
         }
94 94
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Company/CompanyPerson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     public function addFriend(CompanyPerson $friend)
86 86
     {
87
-        if (! $this->friends->contains($friend)) {
87
+        if ( ! $this->friends->contains($friend)) {
88 88
             $this->friends->add($friend);
89 89
             $friend->addFriend($this);
90 90
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ECommerce/ECommerceCategory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     public function addProduct(ECommerceProduct $product)
68 68
     {
69
-        if (! $this->products->contains($product)) {
69
+        if ( ! $this->products->contains($product)) {
70 70
             $this->products[] = $product;
71 71
             $product->addCategory($this);
72 72
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/ECommerce/ECommerceProduct.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
     public function addCategory(ECommerceCategory $category)
133 133
     {
134
-        if (! $this->categories->contains($category)) {
134
+        if ( ! $this->categories->contains($category)) {
135 135
             $this->categories[] = $category;
136 136
             $category->addProduct($this);
137 137
         }
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     public function addRelated(ECommerceProduct $related)
164 164
     {
165
-        if (! $this->related->contains($related)) {
165
+        if ( ! $this->related->contains($related)) {
166 166
             $this->related[] = $related;
167 167
             $related->addRelated($this);
168 168
         }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalFunctionalTestCase.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
             return;
37 37
         }
38 38
 
39
-        if (! isset(self::$sharedConn)) {
39
+        if ( ! isset(self::$sharedConn)) {
40 40
             self::$sharedConn = TestUtil::getConnection();
41 41
         }
42 42
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/OrmTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         $reader = new Annotations\CachedReader(new Annotations\AnnotationReader(), new ArrayCache());
66 66
 
67
-        Annotations\AnnotationRegistry::registerFile(__DIR__ . '/../../../lib/Doctrine/ORM/Annotation/DoctrineAnnotations.php');
67
+        Annotations\AnnotationRegistry::registerFile(__DIR__.'/../../../lib/Doctrine/ORM/Annotation/DoctrineAnnotations.php');
68 68
 
69 69
         return new AnnotationDriver($reader, (array) $paths);
70 70
     }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         $config->setProxyNamespace('Doctrine\Tests\Proxies');
102 102
         $config->setAutoGenerateProxyClasses(ProxyFactory::AUTOGENERATE_EVAL);
103 103
         $config->setMetadataDriverImpl(
104
-            $config->newDefaultAnnotationDriver([realpath(__DIR__ . '/Models/Cache')])
104
+            $config->newDefaultAnnotationDriver([realpath(__DIR__.'/Models/Cache')])
105 105
         );
106 106
 
107 107
         if ($this->isSecondLevelCacheEnabled) {
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Entity/AbstractEntityPersister.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
             ? $this->persister->expandCriteriaParameters($criteria)
260 260
             : $this->persister->expandParameters($criteria);
261 261
 
262
-        return sha1($query . serialize($params) . serialize($orderBy) . $limit . $offset);
262
+        return sha1($query.serialize($params).serialize($orderBy).$limit.$offset);
263 263
     }
264 264
 
265 265
     /**
@@ -557,7 +557,7 @@  discard block
 block discarded – undo
557 557
         $hasCache  = ($persister instanceof CachedPersister);
558 558
         $key       = null;
559 559
 
560
-        if (! $hasCache) {
560
+        if ( ! $hasCache) {
561 561
             return $this->persister->loadManyToManyCollection($association, $sourceEntity, $collection);
562 562
         }
563 563
 
@@ -596,7 +596,7 @@  discard block
 block discarded – undo
596 596
         $persister = $uow->getCollectionPersister($association);
597 597
         $hasCache  = ($persister instanceof CachedPersister);
598 598
 
599
-        if (! $hasCache) {
599
+        if ( ! $hasCache) {
600 600
             return $this->persister->loadOneToManyCollection($association, $sourceEntity, $collection);
601 601
         }
602 602
 
Please login to merge, or discard this patch.