summaryrefslogtreecommitdiffstats
path: root/src/Modifier
diff options
context:
space:
mode:
authorignace nyamagana butera <nyamsprod@gmail.com>2015-09-25 11:26:13 +0200
committerignace nyamagana butera <nyamsprod@gmail.com>2015-09-25 11:42:48 +0200
commite81de221d38490459439d105bd4367ac024a1ee2 (patch)
tree8b2477a73be3c3b3cb888c1df12bdcafef53837d /src/Modifier
parent640f57af7abb41d51673cd860041979623cee423 (diff)
downloadcsv-e81de221d38490459439d105bd4367ac024a1ee2.zip
csv-e81de221d38490459439d105bd4367ac024a1ee2.tar.gz
csv-e81de221d38490459439d105bd4367ac024a1ee2.tar.bz2
Improve Package Testing tools
- The package uses PHP CS Fixer to validate the coding standard - Improve Travis settings - Improve Scrutinizer settings
Diffstat (limited to 'src/Modifier')
-rw-r--r--src/Modifier/MapIterator.php2
-rw-r--r--src/Modifier/QueryFilter.php6
-rw-r--r--src/Modifier/RowFilter.php5
-rw-r--r--src/Modifier/StreamFilter.php6
4 files changed, 8 insertions, 11 deletions
diff --git a/src/Modifier/MapIterator.php b/src/Modifier/MapIterator.php
index 2306f1c..436cb99 100644
--- a/src/Modifier/MapIterator.php
+++ b/src/Modifier/MapIterator.php
@@ -36,7 +36,7 @@ class MapIterator extends IteratorIterator
* The Constructor
*
* @param Iterator $iterator
- * @param callable $callable
+ * @param callable $callable
*/
public function __construct(Iterator $iterator, callable $callable)
{
diff --git a/src/Modifier/QueryFilter.php b/src/Modifier/QueryFilter.php
index a2727a7..d6eef72 100644
--- a/src/Modifier/QueryFilter.php
+++ b/src/Modifier/QueryFilter.php
@@ -65,7 +65,7 @@ trait QueryFilter
/**
* Stripping BOM setter
*
- * @param bool $status
+ * @param bool $status
*
* @return $this
*/
@@ -240,7 +240,7 @@ trait QueryFilter
/**
* Remove the BOM sequence from the CSV
*
- * @param Iterator $iterator
+ * @param Iterator $iterator
*
* @return \Iterator
*/
@@ -264,7 +264,7 @@ trait QueryFilter
/**
* Return the Iterator without the BOM sequence
*
- * @param Iterator $iterator
+ * @param Iterator $iterator
*
* @return Iterator
*/
diff --git a/src/Modifier/RowFilter.php b/src/Modifier/RowFilter.php
index b340a68..06137ff 100644
--- a/src/Modifier/RowFilter.php
+++ b/src/Modifier/RowFilter.php
@@ -96,7 +96,7 @@ trait RowFilter
* add a Validator to the collection
*
* @param callable $callable
- * @param string $name the rule name
+ * @param string $name the rule name
*
* @return $this
*/
@@ -174,7 +174,6 @@ trait RowFilter
*
* @throws \League\Csv\Exception\InvalidRowException If the validation failed
*
- * @return void
*/
protected function validateRow(array $row)
{
@@ -184,6 +183,4 @@ trait RowFilter
}
}
}
-
-
}
diff --git a/src/Modifier/StreamFilter.php b/src/Modifier/StreamFilter.php
index ebea922..38ddcd6 100644
--- a/src/Modifier/StreamFilter.php
+++ b/src/Modifier/StreamFilter.php
@@ -85,7 +85,7 @@ trait StreamFilter
/**
* Get the stream mode
*
- * @param string $mode
+ * @param string $mode
*
* @return int
*/
@@ -107,7 +107,7 @@ trait StreamFilter
/**
* Check if the trait methods can be used
*
- * @throws \LogicException If the API can not be use
+ * @throws LogicException If the API can not be use
*/
protected function assertStreamable()
{
@@ -134,7 +134,7 @@ trait StreamFilter
*
* @param int $mode
*
- * @throws \OutOfBoundsException If the mode is invalid
+ * @throws OutOfBoundsException If the mode is invalid
*
* @return $this
*/