Passed
Push — features/47-laravelmethods ( 9642d7...9881c8 )
by Luke
04:14
created
src/Collection/Collection.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,13 +14,12 @@
 block discarded – undo
14 14
 use InvalidArgumentException;
15 15
 use Iterator;
16 16
 use Noz\Contracts\Arrayable;
17
-use Noz\Contracts\Invokable;
18 17
 use Noz\Contracts\CollectionInterface;
18
+use Noz\Contracts\Invokable;
19
+use Noz\Traits\IsArrayable;
19 20
 use OutOfBoundsException;
20 21
 use Traversable;
21 22
 
22
-use Noz\Traits\IsArrayable;
23
-
24 23
 use function
25 24
     Noz\is_traversable,
26 25
     Noz\typeof,
Please login to merge, or discard this patch.
src/Collection/Dict.php 1 patch
Unused Use Statements   +2 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,18 +9,11 @@
 block discarded – undo
9 9
  */
10 10
 namespace Noz\Collection;
11 11
 
12
-use BadMethodCallException;
13
-
14 12
 use Countable;
15
-use Noz\Contracts\Structure\Dictable;
16
-use Traversable;
17
-use SplFixedArray;
18
-
19
-use Noz\Contracts\Structure\Sequenceable;
20
-use Noz\Contracts\Immutable;
21 13
 use Noz\Contracts\Arrayable;
14
+use Noz\Contracts\Immutable;
22 15
 use Noz\Contracts\Invokable;
23
-
16
+use Noz\Contracts\Structure\Dictable;
24 17
 use Noz\Traits\IsImmutable;
25 18
 
26 19
 use function Noz\to_array;
Please login to merge, or discard this patch.
src/Collection/Lst.php 1 patch
Unused Use Statements   +3 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,19 +9,13 @@
 block discarded – undo
9 9
  */
10 10
 namespace Noz\Collection;
11 11
 
12
-use BadMethodCallException;
13
-
14 12
 use Countable;
15
-use Noz\Contracts\Structure\Listable;
16
-use Traversable;
17
-use SplDoublyLinkedList;
18
-
19
-use Noz\Contracts\Structure\Sequenceable;
20
-use Noz\Contracts\Immutable;
21 13
 use Noz\Contracts\Arrayable;
14
+use Noz\Contracts\Immutable;
22 15
 use Noz\Contracts\Invokable;
23
-
16
+use Noz\Contracts\Structure\Listable;
24 17
 use Noz\Traits\IsImmutable;
18
+use SplDoublyLinkedList;
25 19
 
26 20
 use function Noz\to_array;
27 21
 use function Noz\is_traversable;
Please login to merge, or discard this patch.
src/Collection/Queue.php 1 patch
Unused Use Statements   +2 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,18 +9,11 @@
 block discarded – undo
9 9
  */
10 10
 namespace Noz\Collection;
11 11
 
12
-use BadMethodCallException;
13
-
14 12
 use Countable;
15
-use Noz\Contracts\Structure\Listable;
16
-use Traversable;
17
-use SplFixedArray;
18
-
19
-use Noz\Contracts\Structure\Sequenceable;
20
-use Noz\Contracts\Immutable;
21 13
 use Noz\Contracts\Arrayable;
14
+use Noz\Contracts\Immutable;
22 15
 use Noz\Contracts\Invokable;
23
-
16
+use Noz\Contracts\Structure\Listable;
24 17
 use Noz\Traits\IsImmutable;
25 18
 
26 19
 use function Noz\to_array;
Please login to merge, or discard this patch.
src/Collection/Sequence.php 1 patch
Unused Use Statements   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -10,17 +10,14 @@
 block discarded – undo
10 10
 namespace Noz\Collection;
11 11
 
12 12
 use BadMethodCallException;
13
-
14 13
 use Countable;
15
-use Traversable;
16
-use SplFixedArray;
17
-
18
-use Noz\Contracts\Structure\Sequenceable;
19
-use Noz\Contracts\Immutable;
20 14
 use Noz\Contracts\Arrayable;
15
+use Noz\Contracts\Immutable;
21 16
 use Noz\Contracts\Invokable;
22
-
17
+use Noz\Contracts\Structure\Sequenceable;
23 18
 use Noz\Traits\IsImmutable;
19
+use SplFixedArray;
20
+use Traversable;
24 21
 
25 22
 use function Noz\to_array;
26 23
 use function Noz\is_traversable;
Please login to merge, or discard this patch.
src/Collection/Set.php 1 patch
Unused Use Statements   +2 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,17 +9,11 @@
 block discarded – undo
9 9
  */
10 10
 namespace Noz\Collection;
11 11
 
12
-use BadMethodCallException;
13
-
14 12
 use Countable;
15
-use Traversable;
16
-use SplFixedArray;
17
-
18
-use Noz\Contracts\Structure\Settable;
19
-use Noz\Contracts\Immutable;
20 13
 use Noz\Contracts\Arrayable;
14
+use Noz\Contracts\Immutable;
21 15
 use Noz\Contracts\Invokable;
22
-
16
+use Noz\Contracts\Structure\Settable;
23 17
 use Noz\Traits\IsImmutable;
24 18
 
25 19
 use function Noz\to_array;
Please login to merge, or discard this patch.
src/functions.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
  */
10 10
 namespace Noz;
11 11
 
12
-use Closure;
13 12
 use InvalidArgumentException;
14 13
 use Iterator;
15 14
 use Noz\Collection\Collection;
Please login to merge, or discard this patch.