Test Setup Failed
Push — master ( ca28ec...b6a302 )
by Alexey
03:56
created
Tests/TestCase.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
     protected function randomString(int $length = 6): string
34 34
     {
35 35
         $str = '';
36
-        $characters = array_merge(range('A','Z'), range('a','z'), range('0','9'));
36
+        $characters = array_merge(range('A', 'Z'), range('a', 'z'), range('0', '9'));
37 37
         $max = count($characters) - 1;
38 38
         for ($i = 0; $i < $length; $i++) {
39 39
             $rand = mt_rand(0, $max);
Please login to merge, or discard this patch.
Tests/Traits/SlackMessageTraitTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         $expect = "\n";
77 77
         foreach ($lines as $line) {
78
-            $expect .= "• " . $line . "\n";
78
+            $expect .= "• ".$line."\n";
79 79
         }
80 80
         $actual = $this->formatListMarker($lines);
81 81
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
     public function testEscapeCharacters()
141 141
     {
142
-        $expect = $testString = $this->randomString() . '<&>';
142
+        $expect = $testString = $this->randomString().'<&>';
143 143
         $expect = str_replace('&', '&amp;', $expect);
144 144
         $expect = str_replace('<', '&lt;', $expect);
145 145
         $expect = str_replace('>', '&gt;', $expect);
Please login to merge, or discard this patch.
Traits/SlackMessageTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
         }
68 68
 
69 69
         foreach ($list as $key => $value) {
70
-            $list[$key] = "• " . $value;
70
+            $list[$key] = "• ".$value;
71 71
         }
72 72
 
73
-        return "\n" . implode("\n", $list) . "\n";
73
+        return "\n".implode("\n", $list)."\n";
74 74
     }
75 75
 
76 76
     /**
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $n = 0;
88 88
         $output = "\n";
89 89
         foreach ($list as $value) {
90
-            $output .= ++$n . ". " . $value . "\n";
90
+            $output .= ++$n.". ".$value."\n";
91 91
         }
92 92
 
93 93
         return $output;
Please login to merge, or discard this patch.