@@ -1,19 +1,15 @@ |
||
| 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. |
@@ -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,11 +3,11 @@ |
||
| 3 | 3 | namespace Finder\Http\Actions; |
| 4 | 4 | |
| 5 | 5 | use Finder\Http\Resources\PostResource; |
| 6 | -use Population\Manipule\Managers\PostManager; |
|
| 7 | 6 | use Illuminate\Contracts\Cache\Factory as CacheManager; |
| 8 | 7 | use Illuminate\Contracts\Routing\ResponseFactory; |
| 9 | 8 | use Illuminate\Http\JsonResponse; |
| 10 | 9 | use Illuminate\Http\Request; |
| 10 | +use Population\Manipule\Managers\PostManager; |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Class PostCreateAction. |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Finder\Http\Actions; |
| 4 | 4 | |
| 5 | -use Population\Manipule\Managers\PostManager; |
|
| 6 | 5 | use Illuminate\Contracts\Cache\Factory as CacheManager; |
| 7 | 6 | use Illuminate\Contracts\Routing\ResponseFactory; |
| 8 | 7 | use Illuminate\Http\JsonResponse; |
| 8 | +use Population\Manipule\Managers\PostManager; |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Class PostDeleteByIdAction. |
@@ -3,11 +3,11 @@ |
||
| 3 | 3 | namespace Finder\Http\Actions; |
| 4 | 4 | |
| 5 | 5 | use Finder\Http\Resources\PostResource; |
| 6 | -use Population\Manipule\Managers\PostManager; |
|
| 7 | 6 | use Illuminate\Contracts\Cache\Factory as CacheManager; |
| 8 | 7 | use Illuminate\Contracts\Routing\ResponseFactory; |
| 9 | 8 | use Illuminate\Http\JsonResponse; |
| 10 | 9 | use Illuminate\Http\Request; |
| 10 | +use Population\Manipule\Managers\PostManager; |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Class PostUpdateByIdAction. |
@@ -2,18 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Finder\Http\Controllers; |
| 4 | 4 | |
| 5 | -use InfyOm\Generator\Utils\ResponseUtil; |
|
| 6 | -use Response; |
|
| 7 | -use Illuminate\Support\Facades\URL; |
|
| 8 | -use Illuminate\Support\Facades\View; |
|
| 9 | -use Illuminate\Support\Facades\Auth; |
|
| 5 | +use Illuminate\Http\Request; |
|
| 10 | 6 | use Illuminate\Support\Facades\File; |
| 11 | -use Illuminate\Support\Facades\Storage; |
|
| 12 | 7 | use Illuminate\Support\Str; |
| 13 | -use Intervention\Image\Constraint; |
|
| 14 | -use Intervention\Image\Facades\Image; |
|
| 8 | +use InfyOm\Generator\Utils\ResponseUtil; |
|
| 15 | 9 | use League\Flysystem\Util; |
| 16 | -use Illuminate\Http\Request; |
|
| 10 | +use Response; |
|
| 17 | 11 | |
| 18 | 12 | /** |
| 19 | 13 | * @SWG\Swagger( |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Finder\Http\Controllers; |
| 4 | 4 | |
| 5 | +use Illuminate\Foundation\Auth\Access\AuthorizesRequests; |
|
| 5 | 6 | use Illuminate\Foundation\Bus\DispatchesJobs; |
| 6 | -use Illuminate\Routing\Controller as BaseController; |
|
| 7 | 7 | use Illuminate\Foundation\Validation\ValidatesRequests; |
| 8 | -use Illuminate\Foundation\Auth\Access\AuthorizesRequests; |
|
| 8 | +use Illuminate\Routing\Controller as BaseController; |
|
| 9 | 9 | |
| 10 | 10 | class Controller extends BaseController |
| 11 | 11 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Finder\Http\Requests\Admin; |
| 4 | 4 | |
| 5 | -use Population\Models\User; |
|
| 6 | 5 | use Illuminate\Foundation\Http\FormRequest; |
| 6 | +use Population\Models\User; |
|
| 7 | 7 | |
| 8 | 8 | class UserRequest extends FormRequest |
| 9 | 9 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Finder\Http\Requests\User; |
| 4 | 4 | |
| 5 | -use Illuminate\Contracts\Validation\Validator; |
|
| 6 | 5 | use Illuminate\Foundation\Http\FormRequest; |
| 7 | 6 | |
| 8 | 7 | abstract class Request extends FormRequest |