Passed
Push — main ( 83daa4...d4887f )
by smiley
02:14
created
src/Common/ECICharset.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -19,16 +19,16 @@  discard block
 block discarded – undo
19 19
  */
20 20
 final class ECICharset{
21 21
 
22
-	public const CP437                 = 0;  // Code page 437, DOS Latin US
23
-	public const ISO_IEC_8859_1_GLI    = 1;  // GLI encoding with characters 0 to 127 identical to ISO/IEC 646 and characters 128 to 255 identical to ISO 8859-1
24
-	public const CP437_WO_GLI          = 2;  // An equivalent code table to CP437, without the return-to-GLI 0 logic
25
-	public const ISO_IEC_8859_1        = 3;  // Latin-1 (Default)
26
-	public const ISO_IEC_8859_2        = 4;  // Latin-2
27
-	public const ISO_IEC_8859_3        = 5;  // Latin-3
28
-	public const ISO_IEC_8859_4        = 6;  // Latin-4
29
-	public const ISO_IEC_8859_5        = 7;  // Latin/Cyrillic
30
-	public const ISO_IEC_8859_6        = 8;  // Latin/Arabic
31
-	public const ISO_IEC_8859_7        = 9;  // Latin/Greek
22
+	public const CP437                 = 0; // Code page 437, DOS Latin US
23
+	public const ISO_IEC_8859_1_GLI    = 1; // GLI encoding with characters 0 to 127 identical to ISO/IEC 646 and characters 128 to 255 identical to ISO 8859-1
24
+	public const CP437_WO_GLI          = 2; // An equivalent code table to CP437, without the return-to-GLI 0 logic
25
+	public const ISO_IEC_8859_1        = 3; // Latin-1 (Default)
26
+	public const ISO_IEC_8859_2        = 4; // Latin-2
27
+	public const ISO_IEC_8859_3        = 5; // Latin-3
28
+	public const ISO_IEC_8859_4        = 6; // Latin-4
29
+	public const ISO_IEC_8859_5        = 7; // Latin/Cyrillic
30
+	public const ISO_IEC_8859_6        = 8; // Latin/Arabic
31
+	public const ISO_IEC_8859_7        = 9; // Latin/Greek
32 32
 	public const ISO_IEC_8859_8        = 10; // Latin/Hebrew
33 33
 	public const ISO_IEC_8859_9        = 11; // Latin-5
34 34
 	public const ISO_IEC_8859_10       = 12; // Latin-6
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 	 * @see \mb_convert_encoding()
119 119
 	 * @see \iconv()
120 120
 	 */
121
-	public function getName():?string{
121
+	public function getName(): ?string{
122 122
 		return (self::MB_ENCODINGS[$this->charsetID] ?? null);
123 123
 	}
124 124
 
Please login to merge, or discard this patch.
src/Common/Mode.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
 	 */
49 49
 	public const LENGTH_BITS = [
50 50
 		self::NUMBER   => [10, 12, 14],
51
-		self::ALPHANUM => [ 9, 11, 13],
52
-		self::BYTE     => [ 8, 16, 16],
53
-		self::KANJI    => [ 8, 10, 12],
54
-		self::HANZI    => [ 8, 10, 12],
55
-		self::ECI      => [ 0,  0,  0],
51
+		self::ALPHANUM => [9, 11, 13],
52
+		self::BYTE     => [8, 16, 16],
53
+		self::KANJI    => [8, 10, 12],
54
+		self::HANZI    => [8, 10, 12],
55
+		self::ECI      => [0, 0, 0],
56 56
 	];
57 57
 
58 58
 	/**
Please login to merge, or discard this patch.