Completed
Push — master ( f68f3b...859d26 )
by Josh
02:07
created
src/Output/Utf8.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -9,31 +9,31 @@
 block discarded – undo
9 9
 
10 10
 class Utf8 extends BaseImplementation
11 11
 {
12
-	/** {@inheritdoc} */
13
-	protected $maxValue = 0x10FFFF;
12
+    /** {@inheritdoc} */
13
+    protected $maxValue = 0x10FFFF;
14 14
 
15
-	/**
16
-	* {@inheritdoc}
17
-	*/
18
-	protected function outputValidValue($value)
19
-	{
20
-		if ($value < 0x80)
21
-		{
22
-			return chr($value);
23
-		}
24
-		if ($value < 0x800)
25
-		{
26
-			return chr(0xC0 | ($value >> 6)) . chr(0x80 | ($value & 0x3F));
27
-		}
28
-		if ($value < 0x10000)
29
-		{
30
-			return chr(0xE0 | ($value >> 12))
31
-			     . chr(0x80 | (($value >> 6) & 0x3F))
32
-			     . chr(0x80 | ($value & 0x3F));
33
-		}
34
-		return chr(0xF0 | ($value >> 18))
35
-		     . chr(0x80 | (($value >> 12) & 0x3F))
36
-		     . chr(0x80 | (($value >> 6) & 0x3F))
37
-		     . chr(0x80 | ($value & 0x3F));
38
-	}
15
+    /**
16
+     * {@inheritdoc}
17
+     */
18
+    protected function outputValidValue($value)
19
+    {
20
+        if ($value < 0x80)
21
+        {
22
+            return chr($value);
23
+        }
24
+        if ($value < 0x800)
25
+        {
26
+            return chr(0xC0 | ($value >> 6)) . chr(0x80 | ($value & 0x3F));
27
+        }
28
+        if ($value < 0x10000)
29
+        {
30
+            return chr(0xE0 | ($value >> 12))
31
+                    . chr(0x80 | (($value >> 6) & 0x3F))
32
+                    . chr(0x80 | ($value & 0x3F));
33
+        }
34
+        return chr(0xF0 | ($value >> 18))
35
+                . chr(0x80 | (($value >> 12) & 0x3F))
36
+                . chr(0x80 | (($value >> 6) & 0x3F))
37
+                . chr(0x80 | ($value & 0x3F));
38
+    }
39 39
 }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.
src/Output/Bytes.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 
10 10
 class Bytes extends BaseImplementation
11 11
 {
12
-	/** {@inheritdoc} */
13
-	protected $maxValue = 255;
12
+    /** {@inheritdoc} */
13
+    protected $maxValue = 255;
14 14
 
15
-	/**
16
-	* {@inheritdoc}
17
-	*/
18
-	protected function outputValidValue($value)
19
-	{
20
-		return chr($value);
21
-	}
15
+    /**
16
+     * {@inheritdoc}
17
+     */
18
+    protected function outputValidValue($value)
19
+    {
20
+        return chr($value);
21
+    }
22 22
 }
23 23
\ No newline at end of file
Please login to merge, or discard this patch.
src/Output/PHP.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 
10 10
 class PHP extends PrintableAscii
11 11
 {
12
-	/** {@inheritdoc} */
13
-	protected $maxValue = 0x10FFFF;
12
+    /** {@inheritdoc} */
13
+    protected $maxValue = 0x10FFFF;
14 14
 
15
-	/**
16
-	* {@inheritdoc}
17
-	*/
18
-	protected function escapeUnicode($cp)
19
-	{
20
-		return sprintf('\\x{%04X}', $cp);
21
-	}
15
+    /**
16
+     * {@inheritdoc}
17
+     */
18
+    protected function escapeUnicode($cp)
19
+    {
20
+        return sprintf('\\x{%04X}', $cp);
21
+    }
22 22
 }
23 23
\ No newline at end of file
Please login to merge, or discard this patch.