Test Failed
Pull Request — master (#13)
by Sebastian
05:15
created
src/Mailcode/Factory/Exception.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -20,18 +20,18 @@  discard block
 block discarded – undo
20 20
  */
21 21
 class Mailcode_Factory_Exception extends Mailcode_Exception
22 22
 {
23
-   /**
24
-    * @var Mailcode_Commands_Command|NULL
25
-    */
23
+    /**
24
+     * @var Mailcode_Commands_Command|NULL
25
+     */
26 26
     protected $command;
27 27
     
28
-   /**
29
-    * @param string $message
30
-    * @param string|NULL $details
31
-    * @param int|NULL $code
32
-    * @param \Exception|NULL $previous
33
-    * @param Mailcode_Commands_Command|NULL $command
34
-    */
28
+    /**
29
+     * @param string $message
30
+     * @param string|NULL $details
31
+     * @param int|NULL $code
32
+     * @param \Exception|NULL $previous
33
+     * @param Mailcode_Commands_Command|NULL $command
34
+     */
35 35
     public function __construct(string $message, $details=null, $code=null, $previous=null, Mailcode_Commands_Command $command=null)
36 36
     {
37 37
         parent::__construct($message, $details, $code, $previous);
@@ -39,11 +39,11 @@  discard block
 block discarded – undo
39 39
         $this->command = $command;
40 40
     }
41 41
     
42
-   /**
43
-    * Retrieves the erroneous command, if any.
44
-    * 
45
-    * @return Mailcode_Commands_Command|NULL
46
-    */
42
+    /**
43
+     * Retrieves the erroneous command, if any.
44
+     * 
45
+     * @return Mailcode_Commands_Command|NULL
46
+     */
47 47
     public function getCommand() : ?Mailcode_Commands_Command
48 48
     {
49 49
         return $this->command;
Please login to merge, or discard this patch.
src/Mailcode/Commands/Highlighter.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -20,19 +20,19 @@  discard block
 block discarded – undo
20 20
  */
21 21
 class Mailcode_Commands_Highlighter
22 22
 {
23
-   /**
24
-    * @var Mailcode_Commands_Command
25
-    */
23
+    /**
24
+     * @var Mailcode_Commands_Command
25
+     */
26 26
     protected $command;
27 27
     
28
-   /**
29
-    * @var string[]
30
-    */
28
+    /**
29
+     * @var string[]
30
+     */
31 31
     protected $parts = array();
32 32
     
33 33
     public function __construct(Mailcode_Commands_Command $command)
34 34
     {
35
-       $this->command = $command;
35
+        $this->command = $command;
36 36
     }
37 37
     
38 38
     public function highlight() : string
@@ -121,11 +121,11 @@  discard block
 block discarded – undo
121 121
         $this->appendParams($keyword->getCommand());
122 122
     }
123 123
     
124
-   /**
125
-    * @param string[] $classes
126
-    * @param string $content
127
-    * @return string
128
-    */
124
+    /**
125
+     * @param string[] $classes
126
+     * @param string $content
127
+     * @return string
128
+     */
129 129
     protected function renderTag(array $classes, string $content) : string
130 130
     {
131 131
         $parts = array();
Please login to merge, or discard this patch.
css/index.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -48,13 +48,13 @@
 block discarded – undo
48 48
     <body>
49 49
     	<p>
50 50
     		<?php 
51
-    		    pts('This showcases the command\'s syntax highlighting.');
52
-    		    pts(
53
-    		        'It is based on the %1$s color scheme%2$s:',
54
-    		        '<a href="https://ethanschoonover.com/solarized/">"Solarized"',
55
-    		        '</a>'
56
-		        );
57
-    		?>
51
+                pts('This showcases the command\'s syntax highlighting.');
52
+                pts(
53
+                    'It is based on the %1$s color scheme%2$s:',
54
+                    '<a href="https://ethanschoonover.com/solarized/">"Solarized"',
55
+                    '</a>'
56
+                );
57
+            ?>
58 58
 		</p>
59 59
 		<br>
60 60
     	<div class="commands">
Please login to merge, or discard this patch.
src/Mailcode/Parser/Statement/Validator/Type.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
  */
21 21
 abstract class Mailcode_Parser_Statement_Validator_Type
22 22
 {
23
-   /**
24
-    * @var Mailcode_Parser_Statement
25
-    */
23
+    /**
24
+     * @var Mailcode_Parser_Statement
25
+     */
26 26
     protected $statement;
27 27
     
28 28
     /**
@@ -30,14 +30,14 @@  discard block
 block discarded – undo
30 30
      */
31 31
     protected $params;
32 32
     
33
-   /**
34
-    * @var boolean
35
-    */
33
+    /**
34
+     * @var boolean
35
+     */
36 36
     private $valid = true;
37 37
     
38
-   /**
39
-    * @var boolean
40
-    */
38
+    /**
39
+     * @var boolean
40
+     */
41 41
     private $validated = false;
42 42
     
43 43
     public function __construct(Mailcode_Parser_Statement $statement)
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
         
54 54
     }
55 55
     
56
-   /**
57
-    * @return $this
58
-    */
56
+    /**
57
+     * @return $this
58
+     */
59 59
     public function validate() : Mailcode_Parser_Statement_Validator_Type
60 60
     {
61 61
         if(!$this->validated)
Please login to merge, or discard this patch.
src/Mailcode/Traits/Commands/IfVariable.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,9 +36,9 @@
 block discarded – undo
36 36
         );
37 37
     }
38 38
     
39
-   /**
40
-    * @return array<string>
41
-    */
39
+    /**
40
+     * @return array<string>
41
+     */
42 42
     protected function getAllowedOperands() : array
43 43
     {
44 44
         return Mailcode_Parser_Statement_Tokenizer_Token_Operand::getComparisonSigns();
Please login to merge, or discard this patch.
src/Mailcode/Traits/Commands/Validation/Value.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
  */
25 25
 trait Mailcode_Traits_Commands_Validation_Value
26 26
 {
27
-   /**
28
-    * @var Mailcode_Parser_Statement_Tokenizer_ValueInterface|NULL
29
-    */
27
+    /**
28
+     * @var Mailcode_Parser_Statement_Tokenizer_ValueInterface|NULL
29
+     */
30 30
     protected $valueToken;
31 31
     
32 32
     protected function validateSyntax_value() : void
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
         }
47 47
     }
48 48
     
49
-   /**
50
-    * Retrieves the variable being compared.
51
-    *
52
-    * @return string
53
-    */
49
+    /**
50
+     * Retrieves the variable being compared.
51
+     *
52
+     * @return string
53
+     */
54 54
     public function getValue() : string
55 55
     {
56 56
         if($this->valueToken instanceof Mailcode_Parser_Statement_Tokenizer_ValueInterface)
Please login to merge, or discard this patch.
src/Mailcode/Traits/Commands/Validation/Operand.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -25,14 +25,14 @@  discard block
 block discarded – undo
25 25
  */
26 26
 trait Mailcode_Traits_Commands_Validation_Operand
27 27
 {
28
-   /**
29
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Operand|NULL
30
-    */
28
+    /**
29
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Operand|NULL
30
+     */
31 31
     protected $operandToken;
32 32
     
33
-   /**
34
-    * @return string[]
35
-    */
33
+    /**
34
+     * @return string[]
35
+     */
36 36
     abstract protected function getAllowedOperands() : array;
37 37
     
38 38
     protected function validateSyntax_operand() : void
@@ -78,11 +78,11 @@  discard block
 block discarded – undo
78 78
         );
79 79
     }
80 80
     
81
-   /**
82
-    * Retrieves the operand sign.
83
-    *
84
-    * @return string
85
-    */
81
+    /**
82
+     * Retrieves the operand sign.
83
+     *
84
+     * @return string
85
+     */
86 86
     public function getSign() : string
87 87
     {
88 88
         return $this->getOperand()->getSign();
Please login to merge, or discard this patch.
src/Mailcode/Parser/Statement/Info/Pruner.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -22,19 +22,19 @@  discard block
 block discarded – undo
22 22
  */
23 23
 class Mailcode_Parser_Statement_Info_Pruner
24 24
 {
25
-   /**
26
-    * @var Mailcode_Parser_Statement_Info
27
-    */
25
+    /**
26
+     * @var Mailcode_Parser_Statement_Info
27
+     */
28 28
     private $info;
29 29
     
30
-   /**
31
-    * @var string[]
32
-    */
30
+    /**
31
+     * @var string[]
32
+     */
33 33
     private $exclude = array();
34 34
     
35
-   /**
36
-    * @var string[]
37
-    */
35
+    /**
36
+     * @var string[]
37
+     */
38 38
     private $classNames = array();
39 39
     
40 40
     public function __construct(Mailcode_Parser_Statement_Info $info)
@@ -74,12 +74,12 @@  discard block
 block discarded – undo
74 74
         return $this;
75 75
     }
76 76
     
77
-   /**
78
-    * Retrieves all tokens in the statement matching the
79
-    * current criteria.
80
-    * 
81
-    * @return Mailcode_Parser_Statement_Tokenizer_Token[]
82
-    */
77
+    /**
78
+     * Retrieves all tokens in the statement matching the
79
+     * current criteria.
80
+     * 
81
+     * @return Mailcode_Parser_Statement_Tokenizer_Token[]
82
+     */
83 83
     public function getTokens() : array
84 84
     {
85 85
         $tokens = $this->info->getTokens();
Please login to merge, or discard this patch.
src/Mailcode/Commands/Command/Comment.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
  */
21 21
 class Mailcode_Commands_Command_Comment extends Mailcode_Commands_Command implements Mailcode_Commands_Command_Type_Standalone
22 22
 {
23
-   /**
24
-    * @var string
25
-    */
23
+    /**
24
+     * @var string
25
+     */
26 26
     private $commentString = '';
27 27
     
28 28
     protected function init() : void
Please login to merge, or discard this patch.