Skip to content

Commit

Permalink
Merge pull request #4071 from CachetHQ/remove-foundation-namespace
Browse files Browse the repository at this point in the history
Remove Foundation namespace
  • Loading branch information
jbrooksuk committed Aug 1, 2020
2 parents 37cd589 + e8df786 commit 6640cc5
Show file tree
Hide file tree
Showing 25 changed files with 39 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
16 changes: 8 additions & 8 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@
/*
* 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,

]),

Expand Down
14 changes: 7 additions & 7 deletions config/exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'GrahamCampbell\Exceptions\Transformers\AuthTransformer',
'GrahamCampbell\Exceptions\Transformers\CsrfTransformer',
'GrahamCampbell\Exceptions\Transformers\ModelTransformer',
'CachetHQ\Cachet\Foundation\Exceptions\Transformers\BusTransformer',
'CachetHQ\Cachet\Exceptions\Transformers\BusTransformer',
],

/*
Expand All @@ -47,11 +47,11 @@
*/

'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',
Expand All @@ -75,7 +75,7 @@
'GrahamCampbell\Exceptions\Filters\VerboseFilter',
'GrahamCampbell\Exceptions\Filters\CanDisplayFilter',
'GrahamCampbell\Exceptions\Filters\ContentTypeFilter',
'CachetHQ\Cachet\Foundation\Exceptions\Filters\ApiFilter',
'CachetHQ\Cachet\Exceptions\Filters\ApiFilter',
],

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6640cc5

Please sign in to comment.