Passed
Push — master ( d8dc61...dfdb64 )
by Sebastian
09:05
created
src/Mailcode/Translator/Syntax.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -68,12 +68,12 @@  discard block
 block discarded – undo
68 68
     public function createTranslator(Mailcode_Commands_Command $command) : BaseCommandTranslation
69 69
     {
70 70
         $class = sprintf(
71
-            __CLASS__ .'\%s\%sTranslation',
71
+            __CLASS__.'\%s\%sTranslation',
72 72
             $this->getTypeID(),
73 73
             $command->getID()
74 74
         );
75 75
 
76
-        if(!class_exists($class))
76
+        if (!class_exists($class))
77 77
         {
78 78
             throw new Mailcode_Translator_Exception(
79 79
                 sprintf('Unknown command %s in translator', $command->getID()),
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         
88 88
         $translator = new $class($command);
89 89
 
90
-        if($translator instanceof BaseCommandTranslation)
90
+        if ($translator instanceof BaseCommandTranslation)
91 91
         {
92 92
             return $translator;
93 93
         }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     {
116 116
         $subject = $safeguard->makeSafe();
117 117
         
118
-        if(!$safeguard->hasPlaceholders())
118
+        if (!$safeguard->hasPlaceholders())
119 119
         {
120 120
             return $subject;
121 121
         }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         
125 125
         $replaces = array();
126 126
         
127
-        foreach($placeholders as $placeholder)
127
+        foreach ($placeholders as $placeholder)
128 128
         {
129 129
             $command = $placeholder->getCommand();
130 130
 
Please login to merge, or discard this patch.
src/Mailcode/Traits/Commands/Validation/IDNDecodeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      * @param bool $enabled
34 34
      * @return $this
35 35
      */
36
-    public function setIDNDecoding(bool $enabled=true) : self
36
+    public function setIDNDecoding(bool $enabled = true) : self
37 37
     {
38 38
         return $this->setEncodingEnabled(Mailcode_Commands_Keywords::TYPE_IDN_DECODE, $enabled);
39 39
     }
Please login to merge, or discard this patch.
src/Mailcode/Traits/Commands/Validation/IDNEncodeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      * @param bool $enabled
34 34
      * @return $this
35 35
      */
36
-    public function setIDNEncoding(bool $enabled=true) : self
36
+    public function setIDNEncoding(bool $enabled = true) : self
37 37
     {
38 38
         return $this->setEncodingEnabled(Mailcode_Commands_Keywords::TYPE_IDN_ENCODE, $enabled);
39 39
     }
Please login to merge, or discard this patch.