Passed
Branch master (adba2d)
by Bernardo
08:59 queued 05:55
created
src/Json.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
         if (Error::JSON_ERROR_NONE !== $errorCode) {
96 96
             $errorMsg = json_last_error_msg();
97
-            switch($operation) {
97
+            switch ($operation) {
98 98
                 case self::ENCODE_OPERATION:
99 99
                     throw new EncodeException($errorMsg, $errorCode);
100 100
                 case self::DECODE_OPERATION:
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  *
15 15
  * The above copyright notice and this permission notice shall be included in all
16 16
  * copies or substantial portions of the Software.
17
-
18 17
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 18
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 19
  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Please login to merge, or discard this patch.
src/ArrayOption.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  *
15 15
  * The above copyright notice and this permission notice shall be included in all
16 16
  * copies or substantial portions of the Software.
17
-
18 17
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 18
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 19
  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function offsetGet($index)
50 50
     {
51
-        if($this->offsetExists($index)) {
51
+        if ($this->offsetExists($index)) {
52 52
             return $this->options[$index];
53 53
         }
54 54
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             return $option->getValue();
110 110
         }
111 111
 
112
-        $values = array_map(function (Option $option) {
112
+        $values = array_map(function(Option $option) {
113 113
             if (Option::JSON_NONE === $option->getValue()) {
114 114
                 return null;
115 115
             }
Please login to merge, or discard this patch.
src/Error.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  *
15 15
  * The above copyright notice and this permission notice shall be included in all
16 16
  * copies or substantial portions of the Software.
17
-
18 17
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 18
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 19
  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Please login to merge, or discard this patch.
src/DecodeException.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  *
15 15
  * The above copyright notice and this permission notice shall be included in all
16 16
  * copies or substantial portions of the Software.
17
-
18 17
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 18
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 19
  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Please login to merge, or discard this patch.
src/Option.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  *
15 15
  * The above copyright notice and this permission notice shall be included in all
16 16
  * copies or substantial portions of the Software.
17
-
18 17
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 18
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 19
  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Please login to merge, or discard this patch.
src/EncodeException.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  *
15 15
  * The above copyright notice and this permission notice shall be included in all
16 16
  * copies or substantial portions of the Software.
17
-
18 17
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 18
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 19
  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Please login to merge, or discard this patch.