Completed
Push — master ( 7a1dba...8d9e6e )
by Ricardo
03:19
created
src/Console/Commands/Prepare/ExcelPrepare.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -3,18 +3,13 @@
 block discarded – undo
3 3
 namespace Finder\Console\Commands\Prepare;
4 4
 
5 5
 use Illuminate\Console\Command;
6
-use Telefonica\Models\Actors\Person;
7
-use Finder\Pipelines\Track\PersonTrack;
8 6
 use Illuminate\Support\Facades\Storage;
9
-use Stalker\Models\Imagen;
10 7
 
11 8
 use Rap2hpoutre\FastExcel\FastExcel;
12 9
 
13 10
 use Finder\Pipelines\Identify\RespectiveModel;
14 11
 
15 12
 use Muleta\Utils\Extratores\FileExtractor;
16
-use Muleta\Utils\Extratores\StringExtractor;
17
-use Muleta\Utils\Modificators\StringModificator;
18 13
 
19 14
 class ExcelPrepare extends Command
20 15
 {
Please login to merge, or discard this patch.
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -61,6 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
     /**
63 63
      * Tirardaqui
64
+     * @param string $folder
64 65
      */
65 66
     public function importFromFolder($folder)
66 67
     {
@@ -74,6 +75,10 @@  discard block
 block discarded – undo
74 75
             // $collections = (new FastExcel)
75 76
                 ->import(
76 77
                     storage_path('app/'.$file),
78
+
79
+                    /**
80
+                     * @param string $line
81
+                     */
77 82
                     function ($line) use ($fileName, $assuntosDaPasta) {
78 83
                         $modelClass = RespectiveModel::run(
79 84
                             $assuntosDaPasta,
Please login to merge, or discard this patch.
src/Console/Commands/Prepare/Export.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -47,6 +47,7 @@
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * Tirardaqui
50
+     * @param string $folder
50 51
      */
51 52
     public function export($folder)
52 53
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,10 +3,6 @@
 block discarded – undo
3 3
 namespace Finder\Console\Commands\Prepare;
4 4
 
5 5
 use Illuminate\Console\Command;
6
-use Telefonica\Models\Actors\Person;
7
-use Finder\Pipelines\Track\PersonTrack;
8
-use Illuminate\Support\Facades\Storage;
9
-use Stalker\Models\Imagen;
10 6
 
11 7
 class Export extends Command
12 8
 {
Please login to merge, or discard this patch.
src/Console/Commands/Prepare/PhotosPrepare.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -56,6 +56,7 @@
 block discarded – undo
56 56
     /**
57 57
      * Execute the console command.
58 58
      *
59
+     * @param string $folder
59 60
      * @return mixed
60 61
      */
61 62
     public function midiaFinder($folder)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,9 @@
 block discarded – undo
3 3
 namespace Finder\Console\Commands\Prepare;
4 4
 
5 5
 use Illuminate\Console\Command;
6
-use Telefonica\Models\Actors\Person;
7
-use Finder\Pipelines\Track\PersonTrack;
8 6
 use Illuminate\Support\Facades\Storage;
9 7
 use Stalker\Models\Imagen;
8
+use Telefonica\Models\Actors\Person;
10 9
 
11 10
 use Muleta\Utils\Modificators\StringModificator;
12 11
 
Please login to merge, or discard this patch.
src/Console/Commands/Sync/PersonsSync.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Finder\Console\Commands\Sync;
4 4
 
5
+use Finder\Pipelines\Track\PersonTrack;
5 6
 use Illuminate\Console\Command;
6 7
 use Telefonica\Models\Actors\Person;
7
-use Finder\Pipelines\Track\PersonTrack;
8 8
 
9 9
 class PersonsSync extends Command
10 10
 {
Please login to merge, or discard this patch.
src/Console/DatabaseBackupCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * Get the database connection.
86 86
      *
87 87
      * @param  string $name
88
-     * @return array|string
88
+     * @return boolean
89 89
      */
90 90
     protected function getConnection($name)
91 91
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Finder\Console\Commands;
4 4
 
5
-use File;
6 5
 use Carbon\Carbon;
6
+use File;
7 7
 use Illuminate\Console\Command;
8 8
 use Symfony\Component\Console\Input\InputOption;
9 9
 
Please login to merge, or discard this patch.
src/Console/External/Analyser/CodeAnalyser.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
314 314
      * Get argument value from user informed arguments.
315 315
      *
316 316
      * @param  string $name argument name.
317
-     * @return Mixed argument value.
317
+     * @return string argument value.
318 318
      */
319 319
     protected function getArgumentValue($name)
320 320
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Finder\Console\External\Analyser;
3 3
 
4
-use League\CLImate\CLImate;
5 4
 use Finder\Logic\Analyser;
6 5
 use Finder\Logic\Output\AbstractOutput;
7 6
 use Finder\Logic\Output\Filter\DiffOutputFilter;
7
+use League\CLImate\CLImate;
8 8
 use ReflectionMethod;
9 9
 use SebastianBergmann\Diff\Parser;
10 10
 use SebastianBergmann\Git\Git;
Please login to merge, or discard this patch.
src/Console/External/Explorer/DirectoryExplorer.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Finder\Console\External\Explorer;
3 3
 
4
-use League\CLImate\CLImate;
5 4
 use Finder\Logic\Output\AbstractOutput;
6 5
 use Finder\Logic\Output\Filter\DiffOutputFilter;
6
+use Finder\Spider\SpiderLinuxCommand;
7
+use League\CLImate\CLImate;
7 8
 use ReflectionMethod;
8 9
 use SebastianBergmann\Diff\Parser;
9 10
 use SebastianBergmann\Git\Git;
10 11
 use UnexpectedValueException;
11
-use Finder\Spider\SpiderLinuxCommand;
12 12
 
13 13
 /**
14 14
  * Command line tool that run all script analyzers.
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
314 314
      * Get argument value from user informed arguments.
315 315
      *
316 316
      * @param  string $name argument name.
317
-     * @return Mixed argument value.
317
+     * @return string argument value.
318 318
      */
319 319
     protected function getArgumentValue($name)
320 320
     {
Please login to merge, or discard this patch.
src/Contracts/Spider/Spider.php 1 patch
Unused Use Statements   +3 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,19 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Finder\Contracts\Spider;
3 3
 
4
-use Finder\Logic\Output\AbstractOutput;
5
-use Finder\Logic\Output\Filter\OutputFilterInterface;
6
-use Finder\Logic\Output\TriggerableInterface;
7
-
8 4
 use Symfony\Component\Finder\Finder;
9 5
 
10
-use Finder\Spider\File;
11 6
 use Finder\Spider\Directory;
12
-use Finder\Spider\Registrator\FileRegistrator;
7
+use Finder\Spider\File;
13 8
 use Finder\Spider\Metrics\FileMetric;
9
+use Finder\Spider\Registrator\FileRegistrator;
14 10
 
15
-use Support\Helps\DebugHelper;
16 11
 use Support\Helps\CodeFileHelper;
12
+use Support\Helps\DebugHelper;
17 13
 
18 14
 /**
19 15
  * Run all script analysers and outputs their result.
Please login to merge, or discard this patch.
src/Contracts/Spider/TargetManager.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         return $this->parent;
41 41
     }
42 42
 
43
+    /**
44
+     * @param boolean $parent
45
+     */
43 46
     public function setParent($parent)
44 47
     {
45 48
         $this->parent = $parent;
Please login to merge, or discard this patch.
Unused Use Statements   -11 removed lines patch added patch discarded remove patch
@@ -1,19 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Finder\Contracts\Spider;
3 3
 
4
-use Finder\Logic\Output\AbstractOutput;
5
-use Finder\Logic\Output\Filter\OutputFilterInterface;
6
-use Finder\Logic\Output\TriggerableInterface;
7
-
8 4
 use Symfony\Component\Finder\Finder;
9 5
 
10
-use Finder\Spider\File;
11
-use Finder\Spider\Directory;
12
-use Finder\Spider\Registrator\FileRegistrator;
13
-use Finder\Spider\Metrics\FileMetric;
14
-
15
-use Support\Helps\DebugHelper;
16
-
17 6
 /**
18 7
  * Run all script analysers and outputs their result.
19 8
  */
Please login to merge, or discard this patch.