Completed
Push — master ( dad667...9fbf56 )
by Tim
01:30
created
src/Configuration/Operation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
         // create an empty collection if no plugins has been specified
78 78
         if ($this->plugins === null) {
79
-            $this->plugins= new ArrayCollection();
79
+            $this->plugins = new ArrayCollection();
80 80
         }
81 81
     }
82 82
 
Please login to merge, or discard this patch.
src/Configuration/Subject/FileResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
     /**
180 180
      * Return's the elements the filenames consists of.
181 181
      *
182
-     * @return array The array with the filename elements
182
+     * @return string The array with the filename elements
183 183
      */
184 184
     public function getPatternElements()
185 185
     {
Please login to merge, or discard this patch.
RoboFile.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -18,10 +18,6 @@
 block discarded – undo
18 18
  * @link      http://www.techdivision.com
19 19
  */
20 20
 
21
-use Lurker\Event\FilesystemEvent;
22
-
23
-use Symfony\Component\Finder\Finder;
24
-
25 21
 /**
26 22
  * Defines the available build tasks.
27 23
  *
Please login to merge, or discard this patch.
src/Iterators/DirnameFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Filter directories against the regex.
37 37
      *
38
-     * @return void
38
+     * @return boolean
39 39
      * @see \RecursiveRegexIterator::accept()
40 40
      */
41 41
     public function accept()
Please login to merge, or discard this patch.
src/Iterators/FilenameFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Filter files against the regex.
37 37
      *
38
-     * @return void
38
+     * @return boolean
39 39
      * @see \RecursiveRegexIterator::accept()
40 40
      */
41 41
     public function accept()
Please login to merge, or discard this patch.
src/Parsers/JsonParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         }
139 139
 
140 140
         // sort the files ascending
141
-        usort($files, function ($a, $b) {
141
+        usort($files, function($a, $b) {
142 142
             return strcmp($a, $b);
143 143
         });
144 144
 
Please login to merge, or discard this patch.
src/Configuration/Plugin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Return's the reference to the configuration instance.
166 166
      *
167
-     * @return \TechDivision\Import\Configuration\ConfigurationInterface The configuration instance
167
+     * @return string The configuration instance
168 168
      */
169 169
     public function getConfiguration()
170 170
     {
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     /**
249 249
      * Set's the configuration of the operation the plugin has been configured for.
250 250
      *
251
-     * @param \\TechDivision\Import\Configuration\OperationConfigurationInterface $operationConfiguration The operation configuration
251
+     * @param OperationConfigurationInterface $operationConfiguration The operation configuration
252 252
      *
253 253
      * @return void
254 254
      */
Please login to merge, or discard this patch.
src/ConfigurationFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
      * @param string $params                  A serialized string with additional params that'll be passed to the configuration
153 153
      * @param string $paramsFile              A filename that contains serialized data with additional params that'll be passed to the configuration
154 154
      *
155
-     * @return void
155
+     * @return \TechDivision\Import\Configuration\ConfigurationInterface
156 156
      */
157 157
     public function factoryFromDirectories($installationDir, $defaultConfigurationDir = 'etc', array $directories = array(), $format = 'json', $params = null, $paramsFile = null)
158 158
     {
Please login to merge, or discard this patch.
src/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1371,7 +1371,7 @@
 block discarded – undo
1371 1371
     {
1372 1372
 
1373 1373
         // flatten the array, because we don't handle the entity type code yet
1374
-        $finderMappings = array_reduce($this->finderMappings, function ($carry, $item) {
1374
+        $finderMappings = array_reduce($this->finderMappings, function($carry, $item) {
1375 1375
             return array_replace($carry, $item);
1376 1376
         }, array());
1377 1377
 
Please login to merge, or discard this patch.