Merge pull request #4071 from CachetHQ/remove-foundation-namespace

Remove Foundation namespace
This commit is contained in:
James Brooks 2020-08-01 09:21:13 +01:00 committed by GitHub
commit 6640cc576d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 39 additions and 39 deletions

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Exceptions\Displayers;
namespace CachetHQ\Cachet\Exceptions\Displayers;
use AltThree\Validator\ValidationException;
use Exception;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Exceptions\Displayers;
namespace CachetHQ\Cachet\Exceptions\Displayers;
use Exception;
use GrahamCampbell\Exceptions\Displayers\DisplayerInterface;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Exceptions\Displayers;
namespace CachetHQ\Cachet\Exceptions\Displayers;
use Exception;
use GrahamCampbell\Exceptions\Displayers\DisplayerInterface;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Exceptions\Displayers;
namespace CachetHQ\Cachet\Exceptions\Displayers;
use CachetHQ\Cachet\Settings\ReadException;
use Exception;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Exceptions\Displayers;
namespace CachetHQ\Cachet\Exceptions\Displayers;
use Exception;
use GrahamCampbell\Exceptions\Displayers\DisplayerInterface;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Exceptions\Filters;
namespace CachetHQ\Cachet\Exceptions\Filters;
use Exception;
use Illuminate\Http\Request;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Exceptions\Transformers;
namespace CachetHQ\Cachet\Exceptions\Transformers;
use CachetHQ\Cachet\Bus\Exceptions\ExceptionInterface;
use Exception;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Providers;
namespace CachetHQ\Cachet\Providers;
use AltThree\Bus\Dispatcher;
use AltThree\Validator\ValidatingMiddleware;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Providers;
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Composers\AppComposer;
use CachetHQ\Cachet\Composers\ComponentsComposer;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Providers;
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Models\Setting as SettingModel;
use CachetHQ\Cachet\Settings\Cache;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Providers;
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Subscribers\CommandSubscriber;
use Illuminate\Support\ServiceProvider;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Providers;
namespace CachetHQ\Cachet\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Providers;
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Integrations\Contracts\Beacon as BeaconContract;
use CachetHQ\Cachet\Integrations\Contracts\Credits as CreditsContract;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Providers;
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Repositories\Metric\MetricRepository;
use CachetHQ\Cachet\Repositories\Metric\MySqlRepository;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Foundation\Providers;
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Http\Middleware\Acceptable;
use CachetHQ\Cachet\Http\Middleware\Authenticate;

View File

@ -190,14 +190,14 @@ return [
/*
* Application Service Providers...
*/
CachetHQ\Cachet\Foundation\Providers\AppServiceProvider::class,
CachetHQ\Cachet\Foundation\Providers\ComposerServiceProvider::class,
CachetHQ\Cachet\Foundation\Providers\ConsoleServiceProvider::class,
CachetHQ\Cachet\Foundation\Providers\ConfigServiceProvider::class,
CachetHQ\Cachet\Foundation\Providers\EventServiceProvider::class,
CachetHQ\Cachet\Foundation\Providers\IntegrationServiceProvider::class,
CachetHQ\Cachet\Foundation\Providers\RepositoryServiceProvider::class,
CachetHQ\Cachet\Foundation\Providers\RouteServiceProvider::class,
CachetHQ\Cachet\Providers\AppServiceProvider::class,
CachetHQ\Cachet\Providers\ComposerServiceProvider::class,
CachetHQ\Cachet\Providers\ConsoleServiceProvider::class,
CachetHQ\Cachet\Providers\ConfigServiceProvider::class,
CachetHQ\Cachet\Providers\EventServiceProvider::class,
CachetHQ\Cachet\Providers\IntegrationServiceProvider::class,
CachetHQ\Cachet\Providers\RepositoryServiceProvider::class,
CachetHQ\Cachet\Providers\RouteServiceProvider::class,
]),

View File

@ -29,7 +29,7 @@ return [
'GrahamCampbell\Exceptions\Transformers\AuthTransformer',
'GrahamCampbell\Exceptions\Transformers\CsrfTransformer',
'GrahamCampbell\Exceptions\Transformers\ModelTransformer',
'CachetHQ\Cachet\Foundation\Exceptions\Transformers\BusTransformer',
'CachetHQ\Cachet\Exceptions\Transformers\BusTransformer',
],
/*
@ -47,11 +47,11 @@ return [
*/
'displayers' => [
'CachetHQ\Cachet\Foundation\Exceptions\Displayers\MaintenanceDisplayer',
'CachetHQ\Cachet\Foundation\Exceptions\Displayers\SettingsDisplayer',
'CachetHQ\Cachet\Foundation\Exceptions\Displayers\RedirectDisplayer',
'CachetHQ\Cachet\Foundation\Exceptions\Displayers\ThrottleDisplayer',
'CachetHQ\Cachet\Foundation\Exceptions\Displayers\JsonValidationDisplayer',
'CachetHQ\Cachet\Exceptions\Displayers\MaintenanceDisplayer',
'CachetHQ\Cachet\Exceptions\Displayers\SettingsDisplayer',
'CachetHQ\Cachet\Exceptions\Displayers\RedirectDisplayer',
'CachetHQ\Cachet\Exceptions\Displayers\ThrottleDisplayer',
'CachetHQ\Cachet\Exceptions\Displayers\JsonValidationDisplayer',
'GrahamCampbell\Exceptions\Displayers\DebugDisplayer',
'GrahamCampbell\Exceptions\Displayers\HtmlDisplayer',
'GrahamCampbell\Exceptions\Displayers\JsonDisplayer',
@ -75,7 +75,7 @@ return [
'GrahamCampbell\Exceptions\Filters\VerboseFilter',
'GrahamCampbell\Exceptions\Filters\CanDisplayFilter',
'GrahamCampbell\Exceptions\Filters\ContentTypeFilter',
'CachetHQ\Cachet\Foundation\Exceptions\Filters\ApiFilter',
'CachetHQ\Cachet\Exceptions\Filters\ApiFilter',
],
/*

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
namespace CachetHQ\Tests\Cachet\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Services\Dates\DateFactory;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
namespace CachetHQ\Tests\Cachet\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Tests\Cachet\AbstractTestCase;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
namespace CachetHQ\Tests\Cachet\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Settings\Cache;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
namespace CachetHQ\Tests\Cachet\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Tests\Cachet\AbstractTestCase;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
namespace CachetHQ\Tests\Cachet\Providers;
use AltThree\TestBench\EventServiceProviderTrait;
use CachetHQ\Tests\Cachet\AbstractTestCase;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
namespace CachetHQ\Tests\Cachet\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Integrations\Contracts\Beacon;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
namespace CachetHQ\Tests\Cachet\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Repositories\Metric\MetricRepository;

View File

@ -9,11 +9,11 @@
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
namespace CachetHQ\Tests\Cachet\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Foundation\Providers\RouteServiceProvider;
use CachetHQ\Cachet\Http\Middleware\Authenticate;
use CachetHQ\Cachet\Providers\RouteServiceProvider;
use CachetHQ\Tests\Cachet\AbstractTestCase;
use Illuminate\Routing\Route;
use Illuminate\Routing\RouteCollection;