Completed
Pull Request — master (#183)
by Luke
06:36 queued 03:52
created
src/CSVelte/Dialect.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
 use Traversable;
16 16
 use function Noz\collect,
17
-             Noz\to_array;
17
+                Noz\to_array;
18 18
 
19 19
 /**
20 20
  * CSV Dialect - Default dialect
Please login to merge, or discard this patch.
src/CSVelte/Sniffer.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,15 +13,12 @@
 block discarded – undo
13 13
 namespace CSVelte;
14 14
 
15 15
 use CSVelte\Contract\Streamable;
16
-
17 16
 use CSVelte\Exception\SnifferException;
18 17
 use CSVelte\Sniffer\SniffDelimiterByConsistency;
19 18
 use CSVelte\Sniffer\SniffDelimiterByDistribution;
20 19
 use CSVelte\Sniffer\SniffLineTerminatorByCount;
21 20
 use CSVelte\Sniffer\SniffQuoteAndDelimByAdjacency;
22
-use Noz\Collection\Collection;
23 21
 use function Noz\to_array;
24
-use RuntimeException;
25 22
 
26 23
 use function Noz\collect;
27 24
 use function Stringy\create as s;
Please login to merge, or discard this patch.
src/CSVelte/Sniffer/SniffQuoteAndDelimByAdjacency.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -20,18 +20,18 @@
 block discarded – undo
20 20
 
21 21
 class SniffQuoteAndDelimByAdjacency extends AbstractSniffer
22 22
 {
23
-     /**
24
-     * Guess quote and delimiter character(s)
25
-     *
26
-     * If there are quoted values within the data, it is often easiest to guess the quote and delimiter characters at
27
-     * the same time by analyzing their adjacency to one-another. That is to say, in cases where certain values are
28
-     * wrapped in quotes, it can often be determined what not only that quote character is, but also the delimiter
29
-     * because it is often on either side of the quote character.
30
-     *
31
-     * @param string $data The data to analyze
32
-     *
33
-     * @return string[]
34
-     */
23
+        /**
24
+         * Guess quote and delimiter character(s)
25
+         *
26
+         * If there are quoted values within the data, it is often easiest to guess the quote and delimiter characters at
27
+         * the same time by analyzing their adjacency to one-another. That is to say, in cases where certain values are
28
+         * wrapped in quotes, it can often be determined what not only that quote character is, but also the delimiter
29
+         * because it is often on either side of the quote character.
30
+         *
31
+         * @param string $data The data to analyze
32
+         *
33
+         * @return string[]
34
+         */
35 35
     public function sniff($data)
36 36
     {
37 37
         /**
Please login to merge, or discard this patch.