From c3ae8c06ea659cd094db96ee1d521fd09f16c6d3 Mon Sep 17 00:00:00 2001 From: Dean Blackborough Date: Wed, 31 Oct 2018 00:24:05 +0000 Subject: [PATCH] Base class not set correctly * Base class not set correctly. * Updated CHANGELOG with hotfix version number --- CHANGELOG.md | 4 ++++ app/Http/Parameters/Request/Validators/Category.php | 2 +- app/Http/Parameters/Request/Validators/Item.php | 2 +- app/Http/Parameters/Request/Validators/ItemCategory.php | 2 +- app/Http/Parameters/Request/Validators/ItemSubCategory.php | 2 +- app/Http/Parameters/Request/Validators/RequestErrorLog.php | 2 +- app/Http/Parameters/Request/Validators/Resource.php | 2 +- app/Http/Parameters/Request/Validators/ResourceType.php | 2 +- app/Http/Parameters/Request/Validators/SubCategory.php | 2 +- config/api/version.php | 2 +- 10 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 419b976f..407b1839 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Full changelog for the Costs to Expect REST API. +## 2018-10-31 - v1.07.1 + +* Validator base class not set correctly. + ## 2018-10-31 - v1.07.0 * Added resource_type GET parameter to /categories route to filter results. diff --git a/app/Http/Parameters/Request/Validators/Category.php b/app/Http/Parameters/Request/Validators/Category.php index 3e90a636..130c9eaf 100644 --- a/app/Http/Parameters/Request/Validators/Category.php +++ b/app/Http/Parameters/Request/Validators/Category.php @@ -2,7 +2,7 @@ namespace App\Http\Parameters\Request\Validators; -use Validator as BaseValidator; +use App\Http\Parameters\Request\Validators\Validator as BaseValidator; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; diff --git a/app/Http/Parameters/Request/Validators/Item.php b/app/Http/Parameters/Request/Validators/Item.php index 383368d0..8862bc57 100644 --- a/app/Http/Parameters/Request/Validators/Item.php +++ b/app/Http/Parameters/Request/Validators/Item.php @@ -2,7 +2,7 @@ namespace App\Http\Parameters\Request\Validators; -use Validator as BaseValidator; +use App\Http\Parameters\Request\Validators\Validator as BaseValidator; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; diff --git a/app/Http/Parameters/Request/Validators/ItemCategory.php b/app/Http/Parameters/Request/Validators/ItemCategory.php index e7f4d51e..c4899cdb 100644 --- a/app/Http/Parameters/Request/Validators/ItemCategory.php +++ b/app/Http/Parameters/Request/Validators/ItemCategory.php @@ -2,7 +2,7 @@ namespace App\Http\Parameters\Request\Validators; -use Validator as BaseValidator; +use App\Http\Parameters\Request\Validators\Validator as BaseValidator; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; diff --git a/app/Http/Parameters/Request/Validators/ItemSubCategory.php b/app/Http/Parameters/Request/Validators/ItemSubCategory.php index b3884c69..6d248774 100644 --- a/app/Http/Parameters/Request/Validators/ItemSubCategory.php +++ b/app/Http/Parameters/Request/Validators/ItemSubCategory.php @@ -2,7 +2,7 @@ namespace App\Http\Parameters\Request\Validators; -use Validator as BaseValidator; +use App\Http\Parameters\Request\Validators\Validator as BaseValidator; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; diff --git a/app/Http/Parameters/Request/Validators/RequestErrorLog.php b/app/Http/Parameters/Request/Validators/RequestErrorLog.php index 667685db..5ff2d9c5 100644 --- a/app/Http/Parameters/Request/Validators/RequestErrorLog.php +++ b/app/Http/Parameters/Request/Validators/RequestErrorLog.php @@ -2,7 +2,7 @@ namespace App\Http\Parameters\Request\Validators; -use Validator as BaseValidator; +use App\Http\Parameters\Request\Validators\Validator as BaseValidator; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; diff --git a/app/Http/Parameters/Request/Validators/Resource.php b/app/Http/Parameters/Request/Validators/Resource.php index 484f8ad6..fdd04ce6 100644 --- a/app/Http/Parameters/Request/Validators/Resource.php +++ b/app/Http/Parameters/Request/Validators/Resource.php @@ -2,7 +2,7 @@ namespace App\Http\Parameters\Request\Validators; -use Validator as BaseValidator; +use App\Http\Parameters\Request\Validators\Validator as BaseValidator; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; diff --git a/app/Http/Parameters/Request/Validators/ResourceType.php b/app/Http/Parameters/Request/Validators/ResourceType.php index 3cc10565..5d591ee8 100644 --- a/app/Http/Parameters/Request/Validators/ResourceType.php +++ b/app/Http/Parameters/Request/Validators/ResourceType.php @@ -2,7 +2,7 @@ namespace App\Http\Parameters\Request\Validators; -use Validator as BaseValidator; +use App\Http\Parameters\Request\Validators\Validator as BaseValidator; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; diff --git a/app/Http/Parameters/Request/Validators/SubCategory.php b/app/Http/Parameters/Request/Validators/SubCategory.php index bb325af2..2ced9fad 100644 --- a/app/Http/Parameters/Request/Validators/SubCategory.php +++ b/app/Http/Parameters/Request/Validators/SubCategory.php @@ -2,7 +2,7 @@ namespace App\Http\Parameters\Request\Validators; -use Validator as BaseValidator; +use App\Http\Parameters\Request\Validators\Validator as BaseValidator; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; diff --git a/config/api/version.php b/config/api/version.php index 9df6a3ca..0ac5da2a 100644 --- a/config/api/version.php +++ b/config/api/version.php @@ -1,7 +1,7 @@ '1.07.0', + 'version'=> '1.07.1', 'prefix' => 'v1', 'release_date' => '2018-10-31', 'changelog' => [