@@ -2,16 +2,16 @@ |
||
2 | 2 | |
3 | 3 | namespace Proengsoft\JsValidation; |
4 | 4 | |
5 | +use Illuminate\Contracts\Validation\Factory as ValidationFactory; |
|
6 | +use Illuminate\Foundation\Http\FormRequest; |
|
5 | 7 | use Illuminate\Support\Arr; |
6 | 8 | use Illuminate\Validation\Validator; |
7 | -use Illuminate\Foundation\Http\FormRequest; |
|
8 | -use Proengsoft\JsValidation\Javascript\RuleParser; |
|
9 | +use Proengsoft\JsValidation\Javascript\JavascriptValidator; |
|
9 | 10 | use Proengsoft\JsValidation\Javascript\MessageParser; |
10 | -use Proengsoft\JsValidation\Support\DelegatedValidator; |
|
11 | +use Proengsoft\JsValidation\Javascript\RuleParser; |
|
11 | 12 | use Proengsoft\JsValidation\Javascript\ValidatorHandler; |
12 | -use Proengsoft\JsValidation\Javascript\JavascriptValidator; |
|
13 | +use Proengsoft\JsValidation\Support\DelegatedValidator; |
|
13 | 14 | use Proengsoft\JsValidation\Support\ValidationRuleParserProxy; |
14 | -use Illuminate\Contracts\Validation\Factory as ValidationFactory; |
|
15 | 15 | |
16 | 16 | class JsValidatorFactory |
17 | 17 | { |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace Proengsoft\JsValidation\Remote; |
4 | 4 | |
5 | +use Illuminate\Http\Exceptions\HttpResponseException; |
|
5 | 6 | use Illuminate\Http\JsonResponse; |
6 | 7 | use Illuminate\Validation\ValidationException; |
7 | 8 | use Illuminate\Validation\ValidationRuleParser; |
8 | -use Proengsoft\JsValidation\Support\RuleListTrait; |
|
9 | -use Illuminate\Http\Exceptions\HttpResponseException; |
|
10 | 9 | use Illuminate\Validation\Validator as BaseValidator; |
11 | 10 | use Proengsoft\JsValidation\Support\AccessProtectedTrait; |
11 | +use Proengsoft\JsValidation\Support\RuleListTrait; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Class RemoteValidator. |