Test Failed
Push — features/47-laravelmethods ( 082d9b...8f15a5 )
by Luke
06:49 queued 02:51
created
src/Collection/Collection.php 1 patch
Unused Use Statements   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,21 +9,18 @@
 block discarded – undo
9 9
  */
10 10
 namespace Noz\Collection;
11 11
 
12
-use InvalidArgumentException;
13
-use OutOfBoundsException;
14
-
15 12
 use ArrayIterator;
16 13
 use Countable;
14
+use InvalidArgumentException;
17 15
 use Iterator;
18
-use Traversable;
19
-
20 16
 use Noz\Contracts\Arrayable;
21
-use Noz\Contracts\Invokable;
22 17
 use Noz\Contracts\CollectionInterface;
23
-
18
+use Noz\Contracts\Invokable;
24 19
 use Noz\Traits\IsArrayable;
25 20
 use Noz\Traits\IsContainer;
26 21
 use Noz\Traits\IsSerializable;
22
+use OutOfBoundsException;
23
+use Traversable;
27 24
 
28 25
 use function
29 26
     Noz\is_traversable,
Please login to merge, or discard this patch.
src/Collection/Sequence.php 1 patch
Unused Use Statements   +7 added lines, -11 removed lines patch added patch discarded remove patch
@@ -9,27 +9,23 @@
 block discarded – undo
9 9
  */
10 10
 namespace Noz\Collection;
11 11
 
12
-use BadMethodCallException;
13
-use RuntimeException;
14
-
15
-use Iterator;
16 12
 use ArrayAccess;
13
+use BadMethodCallException;
17 14
 use Countable;
18
-use Serializable;
19
-use SplFixedArray;
20
-use Traversable;
21
-
22 15
 use Illuminate\Support\Str;
23
-
16
+use Iterator;
24 17
 use Noz\Contracts\Arrayable;
25 18
 use Noz\Contracts\Immutable;
26 19
 use Noz\Contracts\Invokable;
27 20
 use Noz\Contracts\Structure\Sequenceable;
28
-
21
+use Noz\Traits\IsArrayable;
29 22
 use Noz\Traits\IsContainer;
30 23
 use Noz\Traits\IsImmutable;
31
-use Noz\Traits\IsArrayable;
32 24
 use Noz\Traits\IsSerializable;
25
+use RuntimeException;
26
+use Serializable;
27
+use SplFixedArray;
28
+use Traversable;
33 29
 
34 30
 use function
35 31
     Noz\to_array,
Please login to merge, or discard this patch.
src/functions.php 1 patch
Unused Use Statements   -9 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@  discard block
 block discarded – undo
9 9
  */
10 10
 namespace Noz;
11 11
 
12
-use Closure;
13 12
 use Illuminate\Support\Str;
14 13
 use InvalidArgumentException;
15 14
 use Iterator;
@@ -17,16 +16,8 @@  discard block
 block discarded – undo
17 16
 use Noz\Collection\Sequence;
18 17
 use Noz\Contracts\CollectionInterface;
19 18
 use RuntimeException;
20
-use Serializable;
21 19
 use Traversable;
22 20
 
23
-use Symfony\Component\Serializer\Serializer;
24
-use Symfony\Component\Serializer\Encoder\XmlEncoder;
25
-use Symfony\Component\Serializer\Encoder\JsonEncoder;
26
-use Symfony\Component\Serializer\Encoder\YamlEncoder;
27
-use Symfony\Component\Serializer\Encoder\CsvEncoder;
28
-use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;
29
-
30 21
 /**
31 22
  * Collection factory.
32 23
  *
Please login to merge, or discard this patch.