Completed
Pull Request — master (#75)
by Thibaud
03:41
created
src/PhraseanetSDK/Repository/DataboxTermsOfUse.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace PhraseanetSDK\Repository;
13 13
 
14
-use PhraseanetSDK\EntityHydrator;
15 14
 use PhraseanetSDK\Exception\RuntimeException;
16 15
 
17 16
 class User extends AbstractRepository
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/Feed.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace PhraseanetSDK\Repository;
13 13
 
14
-use PhraseanetSDK\EntityHydrator;
15 14
 use PhraseanetSDK\Exception\RuntimeException;
16 15
 
17 16
 class User extends AbstractRepository
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/Metadata.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace PhraseanetSDK\Repository;
13 13
 
14
-use PhraseanetSDK\EntityHydrator;
15 14
 use PhraseanetSDK\Exception\RuntimeException;
16 15
 
17 16
 class User extends AbstractRepository
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/Quarantine.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace PhraseanetSDK\Repository;
13 13
 
14
-use PhraseanetSDK\EntityHydrator;
15 14
 use PhraseanetSDK\Exception\RuntimeException;
16 15
 
17 16
 class User extends AbstractRepository
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/RecordStatus.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace PhraseanetSDK\Repository;
13 13
 
14
-use PhraseanetSDK\EntityHydrator;
15 14
 use PhraseanetSDK\Exception\RuntimeException;
16 15
 
17 16
 class User extends AbstractRepository
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/Subdef.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace PhraseanetSDK\Repository;
13 13
 
14
-use PhraseanetSDK\EntityHydrator;
15 14
 use PhraseanetSDK\Exception\RuntimeException;
16 15
 
17 16
 class User extends AbstractRepository
Please login to merge, or discard this patch.
src/PhraseanetSDK/Profiler/PhraseanetSDKDataCollector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     {
85 85
         $totalCalls = count($this->getCalls());
86 86
 
87
-        if (! isset($this->data['cache_hits']) || $totalCalls == 0) {
87
+        if (!isset($this->data['cache_hits']) || $totalCalls == 0) {
88 88
             return 0;
89 89
         }
90 90
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
 
176 176
         $requestContent = null;
177 177
         if ($request instanceof EntityEnclosingRequestInterface) {
178
-            $requestContent = (string)$request->getBody();
178
+            $requestContent = (string) $request->getBody();
179 179
         }
180 180
 
181 181
         $time = array(
Please login to merge, or discard this patch.
src/PhraseanetSDK/Search/SearchResultInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      */
130 130
     public function getFacets()
131 131
     {
132
-        if (! isset($this->source->facets)) {
132
+        if (!isset($this->source->facets)) {
133 133
             $this->facets = new ArrayCollection();
134 134
         }
135 135
 
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/Record.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function getId()
101 101
     {
102
-        return $this->getDataboxId() . '_' . $this->getRecordId();
102
+        return $this->getDataboxId().'_'.$this->getRecordId();
103 103
     }
104 104
 
105 105
     /**
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     public function getThumbnail()
212 212
     {
213
-        if (! isset($this->source->thumbnail)) {
213
+        if (!isset($this->source->thumbnail)) {
214 214
             return null;
215 215
         }
216 216
 
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
      */
245 245
     public function getTechnicalInformation()
246 246
     {
247
-        if (! isset($this->source->technical_informations)) {
247
+        if (!isset($this->source->technical_informations)) {
248 248
             $this->technicalInformation = new ArrayCollection();
249 249
         }
250 250
 
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      */
261 261
     public function getSubdefs()
262 262
     {
263
-        if (! isset($this->source->subdefs)) {
263
+        if (!isset($this->source->subdefs)) {
264 264
             $this->subdefs = new ArrayCollection();
265 265
         }
266 266
 
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
      */
273 273
     public function getStatus()
274 274
     {
275
-        if (! isset($this->source->status)) {
275
+        if (!isset($this->source->status)) {
276 276
             $this->status = new ArrayCollection();
277 277
         }
278 278
 
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
      */
285 285
     public function getCaption()
286 286
     {
287
-        if (! isset($this->source->caption)) {
287
+        if (!isset($this->source->caption)) {
288 288
             $this->caption = new ArrayCollection();
289 289
         }
290 290
 
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
      */
297 297
     public function getMetadata()
298 298
     {
299
-        if (! isset($this->source->metadata)) {
299
+        if (!isset($this->source->metadata)) {
300 300
             $this->metadata = new ArrayCollection();
301 301
         }
302 302
 
Please login to merge, or discard this patch.