Test Failed
Push — master ( 56fa5d...c4d975 )
by Radosław
02:15
created
src/macros/string/regexp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
 use Baethon\Phln\RegExp;
5 5
 use Baethon\Phln\Phln as P;
6 6
 
7
-P::macro('regexp', function (string $regexp): RegExp {
7
+P::macro('regexp', function(string $regexp): RegExp {
8 8
     return RegExp::fromString($regexp);
9 9
 });
Please login to merge, or discard this patch.
src/macros/string/replace.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Baethon\Phln\RegExp;
5 5
 use Baethon\Phln\Phln as P;
6 6
 
7
-P::macro('replace', function ($regexp, string $replacement, string $text): string {
7
+P::macro('replace', function($regexp, string $replacement, string $text): string {
8 8
     $r = RegExp::of($regexp);
9 9
     $limit = $r->isGlobal() ? -1 : 1;
10 10
 
Please login to merge, or discard this patch.
src/macros/string/test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
 use Baethon\Phln\RegExp;
5 5
 use Baethon\Phln\Phln as P;
6 6
 
7
-P::macro('test', function ($regexp, string $string): bool {
7
+P::macro('test', function($regexp, string $string): bool {
8 8
     return RegExp::of($regexp)->test($string);
9 9
 });
Please login to merge, or discard this patch.
src/macros/math/dec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('dec', function ($number) {
6
+P::macro('dec', function($number) {
7 7
     return $number - 1;
8 8
 });
Please login to merge, or discard this patch.
src/macros/math/inc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('inc', function ($number) {
6
+P::macro('inc', function($number) {
7 7
     return $number + 1;
8 8
 });
Please login to merge, or discard this patch.
src/macros/math/modulo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('modulo', function ($a, $b) {
6
+P::macro('modulo', function($a, $b) {
7 7
     return $a % $b;
8 8
 });
Please login to merge, or discard this patch.
src/macros/math/multiply.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('multiply', function ($a, $b) {
6
+P::macro('multiply', function($a, $b) {
7 7
     return $a * $b;
8 8
 });
Please login to merge, or discard this patch.
src/macros/math/subtract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('subtract', function ($a, $b) {
6
+P::macro('subtract', function($a, $b) {
7 7
     return $a - $b;
8 8
 });
Please login to merge, or discard this patch.
src/macros/math/add.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('add', function ($a, $b) {
6
+P::macro('add', function($a, $b) {
7 7
     return $a + $b;
8 8
 });
Please login to merge, or discard this patch.