@@ -2,29 +2,17 @@ |
||
2 | 2 | |
3 | 3 | namespace Finder\Components\View\Boards; |
4 | 4 | |
5 | -use Log; |
|
6 | -use App\Models\User; |
|
7 | -use Integrations\Connectors\Instagram\Instagram; |
|
8 | -use Integrations\Connectors\Instagram\Facebook; |
|
9 | - |
|
10 | - |
|
11 | -use Finder\Actions\PublishPost; |
|
12 | -use Finder\Actions\SearchFollows; |
|
13 | 5 | |
14 | 6 | |
15 | 7 | use App\Editores\TuiImageEditor; |
16 | 8 | |
17 | 9 | |
18 | 10 | |
19 | -use Finder\Routines\ForceNewRelations; |
|
20 | 11 | use Finder\Routines\GetNewData; |
21 | 12 | use Finder\Routines\SendNewData; |
22 | 13 | |
23 | 14 | use App\Board; |
24 | -use SiObjects\Components\Comment; |
|
25 | 15 | use SiObjects\Components\Post; |
26 | -use SiObjects\Components\Profile; |
|
27 | -use SiObjects\Components\Relation; |
|
28 | 16 | |
29 | 17 | class MarketingBoard extends Board |
30 | 18 | { |
@@ -2,29 +2,17 @@ |
||
2 | 2 | |
3 | 3 | namespace Finder\Components\View\Boards; |
4 | 4 | |
5 | -use Log; |
|
6 | -use App\Models\User; |
|
7 | -use Integrations\Connectors\Instagram\Instagram; |
|
8 | -use Integrations\Connectors\Instagram\Facebook; |
|
9 | - |
|
10 | - |
|
11 | -use Finder\Actions\PublishPost; |
|
12 | -use Finder\Actions\SearchFollows; |
|
13 | 5 | |
14 | 6 | |
15 | 7 | use App\Editores\TuiImageEditor; |
16 | 8 | |
17 | 9 | |
18 | 10 | |
19 | -use Finder\Routines\ForceNewRelations; |
|
20 | 11 | use Finder\Routines\GetNewData; |
21 | 12 | use Finder\Routines\SendNewData; |
22 | 13 | |
23 | 14 | use App\Board; |
24 | -use SiObjects\Components\Comment; |
|
25 | 15 | use SiObjects\Components\Post; |
26 | -use SiObjects\Components\Profile; |
|
27 | -use SiObjects\Components\Relation; |
|
28 | 16 | |
29 | 17 | class MidiasSocialBoard extends Board |
30 | 18 | { |
@@ -2,29 +2,17 @@ |
||
2 | 2 | |
3 | 3 | namespace Finder\Components\View\Boards; |
4 | 4 | |
5 | -use Log; |
|
6 | -use App\Models\User; |
|
7 | -use Integrations\Connectors\Instagram\Instagram; |
|
8 | -use Integrations\Connectors\Instagram\Facebook; |
|
9 | - |
|
10 | - |
|
11 | -use Finder\Actions\PublishPost; |
|
12 | -use Finder\Actions\SearchFollows; |
|
13 | 5 | |
14 | 6 | |
15 | 7 | use App\Editores\TuiImageEditor; |
16 | 8 | |
17 | 9 | |
18 | 10 | |
19 | -use Finder\Routines\ForceNewRelations; |
|
20 | 11 | use Finder\Routines\GetNewData; |
21 | 12 | use Finder\Routines\SendNewData; |
22 | 13 | |
23 | 14 | use App\Board; |
24 | -use SiObjects\Components\Comment; |
|
25 | 15 | use SiObjects\Components\Post; |
26 | -use SiObjects\Components\Profile; |
|
27 | -use SiObjects\Components\Relation; |
|
28 | 16 | |
29 | 17 | class PhotoBoard extends Board |
30 | 18 | { |
@@ -5,8 +5,8 @@ |
||
5 | 5 | |
6 | 6 | namespace Finder\Components\Worker\Sync\Database; |
7 | 7 | |
8 | -use Fabrica\Tools\Databases\Mysql\Mysql as MysqlTool; |
|
9 | 8 | use Fabrica\Models\Infra\DatabaseCollection; |
9 | +use Fabrica\Tools\Databases\Mysql\Mysql as MysqlTool; |
|
10 | 10 | use Operador\Contracts\ActionInterface; |
11 | 11 | |
12 | 12 | class BackupCollection implements ActionInterface |
@@ -2,15 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Finder\Console\Commands\Sync; |
4 | 4 | |
5 | -use Illuminate\Console\Command; |
|
6 | -use Population\Models\MediaSend; |
|
7 | -use Population\Models\MediaEmail; |
|
8 | -use Population\Models\MediaPush; |
|
9 | -use Population\Models\Company; |
|
10 | -use Population\Models\User; |
|
11 | -use SendGrid; |
|
12 | -use Finder\Http\Controllers\Api\Controller; |
|
13 | 5 | use Finder\Routines\Globals\ImportTokens; |
6 | +use Illuminate\Console\Command; |
|
14 | 7 | |
15 | 8 | class TokensSync extends Command |
16 | 9 | { |
@@ -40,6 +40,9 @@ |
||
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; |
@@ -1,19 +1,8 @@ |
||
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 | */ |
@@ -3,9 +3,8 @@ |
||
3 | 3 | namespace Finder\Http\Controllers; |
4 | 4 | |
5 | 5 | use Finder\Services\FinderService; |
6 | -use Illuminate\Support\Facades\Schema; |
|
7 | -use Telefonica\Repositories\PersonRepository; |
|
8 | 6 | use Stalker\Models\Media; |
7 | +use Telefonica\Repositories\PersonRepository; |
|
9 | 8 | |
10 | 9 | class HomeController extends Controller |
11 | 10 | { |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Finder\Pipelines\Identify; |
4 | 4 | |
5 | -use League\Pipeline\Pipeline; |
|
6 | -use Operador\Contracts\StageInterface; |
|
7 | - |
|
8 | 5 | class FileType |
9 | 6 | { |
10 | 7 | public static function run($file) |
@@ -5,10 +5,9 @@ |
||
5 | 5 | |
6 | 6 | namespace Finder\Routines\Tokens; |
7 | 7 | |
8 | +use Fabrica\Tasks\ImportFromToken; |
|
8 | 9 | use Finder\Actions\Action; |
9 | 10 | use Finder\Actions\ActionCollection; |
10 | -use Finder\Components\Worker\Sync\Database\ImportCollection; |
|
11 | -use Fabrica\Tasks\ImportFromToken; |
|
12 | 11 | use Integrations\Models\Token; |
13 | 12 | |
14 | 13 | class ImportRoutine extends ActionCollection |