Completed
Push — master ( 7c61d6...a5b6d0 )
by
unknown
08:05 queued 13s
created
src/PhraseanetSDK/Entity/Basket.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
      */
167 167
     public function getValidationUsers()
168 168
     {
169
-        if (! $this->isValidationBasket()) {
169
+        if (!$this->isValidationBasket()) {
170 170
             return null;
171 171
         }
172 172
 
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/BasketElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
      */
111 111
     public function getValidationChoices()
112 112
     {
113
-        if (! isset($this->source->validation_choices)) {
113
+        if (!isset($this->source->validation_choices)) {
114 114
             $this->validationChoices = new ArrayCollection();
115 115
         }
116 116
 
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/FeedEntry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
      */
147 147
     public function getItems()
148 148
     {
149
-        if (! isset($this->source->items)) {
149
+        if (!isset($this->source->items)) {
150 150
             $this->items = new ArrayCollection();
151 151
         }
152 152
 
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/Query.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function getSuggestions()
154 154
     {
155
-        if (! isset($this->source->suggestions)) {
155
+        if (!isset($this->source->suggestions)) {
156 156
             $this->suggestions = new ArrayCollection();
157 157
         }
158 158
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      */
167 167
     public function getFacets()
168 168
     {
169
-        if (! isset($this->source->facets)) {
169
+        if (!isset($this->source->facets)) {
170 170
             $this->facets = new ArrayCollection();
171 171
         }
172 172
 
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -190,14 +190,14 @@
 block discarded – undo
190 190
         return $this->results ?: $this->results = Result::fromValue($this->entityManager, $this->source->results);
191 191
     }
192 192
 
193
-	/**
194
-	 * Set or override value in protected object 'source' (\stdClass type)
195
-	 *
196
-	 * @param $pKey	string
197
-	 * @param $pValue mixed
198
-	 */
193
+    /**
194
+     * Set or override value in protected object 'source' (\stdClass type)
195
+     *
196
+     * @param $pKey	string
197
+     * @param $pValue mixed
198
+     */
199 199
     public function setSourceEntry($pKey, $pValue)
200
-	{
201
-		$this->source->$pKey = $pValue;
202
-	}
200
+    {
201
+        $this->source->$pKey = $pValue;
202
+    }
203 203
 }
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/QueryFacet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     public function getValues()
65 65
     {
66
-        if (! isset($this->source->values)) {
66
+        if (!isset($this->source->values)) {
67 67
             $this->values = new ArrayCollection();
68 68
         }
69 69
 
Please login to merge, or discard this patch.
src/PhraseanetSDK/Http/APIResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function getStatusCode()
56 56
     {
57
-        return (int)$this->meta->http_code;
57
+        return (int) $this->meta->http_code;
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/PhraseanetSDK/Recorder/RequestExtractor.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
     public function extract(RequestInterface $request)
21 21
     {
22 22
         $postFields = $request instanceof EntityEnclosingRequestInterface ?
23
-            $request->getPostFields()->toArray() :
24
-            array();
23
+            $request->getPostFields()->toArray() : array();
25 24
 
26 25
         return array(
27 26
             'query'       => $request->getQuery()->toArray(),
Please login to merge, or discard this patch.
src/PhraseanetSDK/Uploader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             'file' => $file,
66 66
         ));
67 67
 
68
-        switch ((int)$response->getResult()->entity) {
68
+        switch ((int) $response->getResult()->entity) {
69 69
             case 0:
70 70
                 $matches = array();
71 71
                 preg_match('/\/records\/(\d+)\/(\d+)\//', $response->getResult()->url, $matches);
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.