Test Failed
Push — master ( 56fa5d...c4d975 )
by Radosław
02:15
created
src/macros/fn/unapply.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('unapply', function (callable $fn, ...$args) {
6
+P::macro('unapply', function(callable $fn, ...$args) {
7 7
     return $fn($args);
8 8
 });
Please login to merge, or discard this patch.
src/macros/fn/swap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('swap', function (callable $f): \Closure {
7
-    return function ($second, $first, ...$tail) use ($f) {
6
+P::macro('swap', function(callable $f): \Closure {
7
+    return function($second, $first, ...$tail) use ($f) {
8 8
         $arguments = array_merge([$first, $second], $tail);
9 9
         return $f(...$arguments);
10 10
     };
Please login to merge, or discard this patch.
src/macros/fn/of.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('of', function ($value): array {
6
+P::macro('of', function($value): array {
7 7
     return [$value];
8 8
 });
Please login to merge, or discard this patch.
src/macros/fn/negate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('negate', function (callable $predicate): \Closure {
7
-    return function (...$args) use ($predicate) {
6
+P::macro('negate', function(callable $predicate): \Closure {
7
+    return function(...$args) use ($predicate) {
8 8
         return !$predicate(...$args);
9 9
     };
10 10
 });
Please login to merge, or discard this patch.
src/macros/fn/always.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 
4 4
 use Baethon\Phln\Phln as P;
5 5
 
6
-P::macro('always', function ($value): \Closure {
7
-    return function () use ($value) {
6
+P::macro('always', function($value): \Closure {
7
+    return function() use ($value) {
8 8
         return $value;
9 9
     };
10 10
 });
Please login to merge, or discard this patch.
src/macros/fn/identity.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('identity', function ($value) {
6
+P::macro('identity', function($value) {
7 7
     return $value;
8 8
 });
Please login to merge, or discard this patch.
src/macros/object/whereEq.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\Phln as P;
5 5
 use function Baethon\Phln\assert_object;
6 6
 
7
-P::macro('whereEq', function (array $predicates, $object): bool {
7
+P::macro('whereEq', function(array $predicates, $object): bool {
8 8
     assert_object($object);
9 9
 
10 10
     return P::where(
Please login to merge, or discard this patch.
src/macros/object/merge.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\Phln as P;
5 5
 use function Baethon\Phln\assert_object;
6 6
 
7
-P::macro('merge', function ($left, $right): array {
7
+P::macro('merge', function($left, $right): array {
8 8
     assert_object($left);
9 9
     assert_object($right);
10 10
 
Please login to merge, or discard this patch.
src/macros/object/toPairs.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\Phln as P;
5 5
 use function Baethon\Phln\assert_object;
6 6
 
7
-P::macro('toPairs', function ($object): array {
7
+P::macro('toPairs', function($object): array {
8 8
     assert_object($object);
9 9
 
10 10
     $pairs = [];
Please login to merge, or discard this patch.