Completed
Push — master ( b7c649...522f83 )
by Lars
14:36
created
src/Stringy.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      */
176 176
     public function append(string $string): self
177 177
     {
178
-        return static::create($this->str . $string, $this->encoding);
178
+        return static::create($this->str.$string, $this->encoding);
179 179
     }
180 180
 
181 181
     /**
@@ -965,7 +965,7 @@  discard block
 block discarded – undo
965 965
         $quotedPattern = \preg_quote($pattern, '/');
966 966
         $replaceWildCards = \str_replace('\*', '.*', $quotedPattern);
967 967
 
968
-        return $this->matchesPattern('^' . $replaceWildCards . '\z');
968
+        return $this->matchesPattern('^'.$replaceWildCards.'\z');
969 969
     }
970 970
 
971 971
     /**
@@ -1434,7 +1434,7 @@  discard block
 block discarded – undo
1434 1434
      */
1435 1435
     public function prepend(string $string): self
1436 1436
     {
1437
-        return static::create($string . $this->str, $this->encoding);
1437
+        return static::create($string.$this->str, $this->encoding);
1438 1438
     }
1439 1439
 
1440 1440
     /**
@@ -1473,7 +1473,7 @@  discard block
 block discarded – undo
1473 1473
     public function removeHtml(string $allowableTags = null): self
1474 1474
     {
1475 1475
         return static::create(
1476
-            $this->utf8::remove_html($this->str, $allowableTags . ''),
1476
+            $this->utf8::remove_html($this->str, $allowableTags.''),
1477 1477
             $this->encoding
1478 1478
         );
1479 1479
     }
@@ -1794,7 +1794,7 @@  discard block
 block discarded – undo
1794 1794
         $stringy->str = \str_replace('@', $replacement, $stringy->str);
1795 1795
 
1796 1796
         $stringy->str = \preg_replace(
1797
-            '/[^a-zA-Z\d\s\-_' . \preg_quote($replacement, '/') . ']/u',
1797
+            '/[^a-zA-Z\d\s\-_'.\preg_quote($replacement, '/').']/u',
1798 1798
             '',
1799 1799
             $stringy->str
1800 1800
         );
@@ -2019,7 +2019,7 @@  discard block
 block discarded – undo
2019 2019
     public function surround(string $substring): self
2020 2020
     {
2021 2021
         return static::create(
2022
-            $substring . $this->str . $substring,
2022
+            $substring.$this->str.$substring,
2023 2023
             $this->encoding
2024 2024
         );
2025 2025
     }
Please login to merge, or discard this patch.