Moved stuff to foundation

This commit is contained in:
Graham Campbell
2015-12-07 22:12:45 +00:00
parent 7759f128d2
commit be5672c352
15 changed files with 32 additions and 32 deletions
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Exceptions\Displayers; namespace CachetHQ\Cachet\Foundation\Exceptions\Displayers;
use AltThree\Validator\ValidationException; use AltThree\Validator\ValidationException;
use Exception; use Exception;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Exceptions\Displayers; namespace CachetHQ\Cachet\Foundation\Exceptions\Displayers;
use Exception; use Exception;
use GrahamCampbell\Exceptions\Displayers\DisplayerInterface; use GrahamCampbell\Exceptions\Displayers\DisplayerInterface;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Exceptions\Filters; namespace CachetHQ\Cachet\Foundation\Exceptions\Filters;
use Exception; use Exception;
use Illuminate\Http\Request; use Illuminate\Http\Request;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Exceptions\Transformers; namespace CachetHQ\Cachet\Foundation\Exceptions\Transformers;
use CachetHQ\Cachet\Exceptions\ExceptionInterface; use CachetHQ\Cachet\Exceptions\ExceptionInterface;
use Exception; use Exception;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Providers; namespace CachetHQ\Cachet\Foundation\Providers;
use CachetHQ\Cachet\Dates\DateFactory; use CachetHQ\Cachet\Dates\DateFactory;
use Illuminate\Bus\Dispatcher; use Illuminate\Bus\Dispatcher;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Providers; namespace CachetHQ\Cachet\Foundation\Providers;
use CachetHQ\Cachet\Composers\AppComposer; use CachetHQ\Cachet\Composers\AppComposer;
use CachetHQ\Cachet\Composers\CurrentUserComposer; use CachetHQ\Cachet\Composers\CurrentUserComposer;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Providers; namespace CachetHQ\Cachet\Foundation\Providers;
use CachetHQ\Cachet\Config\Repository; use CachetHQ\Cachet\Config\Repository;
use CachetHQ\Cachet\Facades\Setting; use CachetHQ\Cachet\Facades\Setting;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Providers; namespace CachetHQ\Cachet\Foundation\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Providers; namespace CachetHQ\Cachet\Foundation\Providers;
use CachetHQ\Cachet\GitHub\Release; use CachetHQ\Cachet\GitHub\Release;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Providers; namespace CachetHQ\Cachet\Foundation\Providers;
use CachetHQ\Cachet\Repositories\Metric\MetricRepository; use CachetHQ\Cachet\Repositories\Metric\MetricRepository;
use CachetHQ\Cachet\Repositories\Metric\MySqlRepository as MetricMySqlRepository; use CachetHQ\Cachet\Repositories\Metric\MySqlRepository as MetricMySqlRepository;
@@ -50,6 +50,6 @@ class RepositoryServiceProvider extends ServiceProvider
return new MetricRepository($repository); return new MetricRepository($repository);
}); });
$this->app->alias('cachet.metricrepository', 'CachetHQ\Cachet\Repositories\Metric\MetricRepository'); $this->app->alias('cachet.metricrepository', MetricRepository::class);
} }
} }
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace CachetHQ\Cachet\Providers; namespace CachetHQ\Cachet\Foundation\Providers;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Routing\Router; use Illuminate\Routing\Router;
+1 -1
View File
@@ -39,7 +39,7 @@
"roumen/feed": "^2.9" "roumen/feed": "^2.9"
}, },
"require-dev": { "require-dev": {
"alt-three/testbench": "^1.0", "alt-three/testbench": "^1.1",
"filp/whoops": "^1.1", "filp/whoops": "^1.1",
"fzaninotto/faker": "^1.5", "fzaninotto/faker": "^1.5",
"graham-campbell/testbench-core": "^1.1", "graham-campbell/testbench-core": "^1.1",
Generated
+8 -8
View File
@@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "d02e0141216bd2f17d2c97a5e7d0baab", "hash": "88ebd9e0385e7124bbc8a0fa4ac308b0",
"content-hash": "2dd41f1dc4f63c1ffae8cb0fc62ebfb5", "content-hash": "175a8a8dfa4cf51ba1f327401806d99e",
"packages": [ "packages": [
{ {
"name": "alt-three/emoji", "name": "alt-three/emoji",
@@ -3696,16 +3696,16 @@
"packages-dev": [ "packages-dev": [
{ {
"name": "alt-three/testbench", "name": "alt-three/testbench",
"version": "v1.0.0", "version": "v1.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/AltThree/TestBench.git", "url": "https://github.com/AltThree/TestBench.git",
"reference": "d3db224b22cc70fae5d7ce3d957d1a359648c92b" "reference": "1fc2d7a725d2d85adc6a2dfba8975c37f701cb04"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/AltThree/TestBench/zipball/d3db224b22cc70fae5d7ce3d957d1a359648c92b", "url": "https://api.github.com/repos/AltThree/TestBench/zipball/1fc2d7a725d2d85adc6a2dfba8975c37f701cb04",
"reference": "d3db224b22cc70fae5d7ce3d957d1a359648c92b", "reference": "1fc2d7a725d2d85adc6a2dfba8975c37f701cb04",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3721,7 +3721,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.0-dev" "dev-master": "1.1-dev"
} }
}, },
"autoload": { "autoload": {
@@ -3753,7 +3753,7 @@
"TestBench", "TestBench",
"app" "app"
], ],
"time": "2015-12-06 11:51:01" "time": "2015-12-07 21:57:27"
}, },
{ {
"name": "doctrine/instantiator", "name": "doctrine/instantiator",
+7 -7
View File
@@ -167,13 +167,13 @@ return [
/* /*
* Application Service Providers... * Application Service Providers...
*/ */
'CachetHQ\Cachet\Providers\AppServiceProvider', 'CachetHQ\Cachet\Foundation\Providers\AppServiceProvider',
'CachetHQ\Cachet\Providers\ComposerServiceProvider', 'CachetHQ\Cachet\Foundation\Providers\ComposerServiceProvider',
'CachetHQ\Cachet\Providers\ConfigServiceProvider', 'CachetHQ\Cachet\Foundation\Providers\ConfigServiceProvider',
'CachetHQ\Cachet\Providers\EventServiceProvider', 'CachetHQ\Cachet\Foundation\Providers\EventServiceProvider',
'CachetHQ\Cachet\Providers\GitHubServiceProvider', 'CachetHQ\Cachet\Foundation\Providers\GitHubServiceProvider',
'CachetHQ\Cachet\Providers\RepositoryServiceProvider', 'CachetHQ\Cachet\Foundation\Providers\RepositoryServiceProvider',
'CachetHQ\Cachet\Providers\RouteServiceProvider', 'CachetHQ\Cachet\Foundation\Providers\RouteServiceProvider',
]), ]),
+4 -4
View File
@@ -27,7 +27,7 @@ return [
'transformers' => [ 'transformers' => [
'GrahamCampbell\Exceptions\Transformers\CsrfTransformer', 'GrahamCampbell\Exceptions\Transformers\CsrfTransformer',
'CachetHQ\Cachet\Exceptions\Transformers\ExceptionTransformer', 'CachetHQ\Cachet\Foundation\Exceptions\Transformers\ExceptionTransformer',
], ],
/* /*
@@ -45,8 +45,8 @@ return [
*/ */
'displayers' => [ 'displayers' => [
'CachetHQ\Cachet\Exceptions\Displayers\JsonValidationDisplayer', 'CachetHQ\Cachet\Foundation\Exceptions\Displayers\JsonValidationDisplayer',
'CachetHQ\Cachet\Exceptions\Displayers\RedirectDisplayer', 'CachetHQ\Cachet\Foundation\Exceptions\Displayers\RedirectDisplayer',
'GrahamCampbell\Exceptions\Displayers\DebugDisplayer', 'GrahamCampbell\Exceptions\Displayers\DebugDisplayer',
'GrahamCampbell\Exceptions\Displayers\HtmlDisplayer', 'GrahamCampbell\Exceptions\Displayers\HtmlDisplayer',
'GrahamCampbell\Exceptions\Displayers\JsonDisplayer', 'GrahamCampbell\Exceptions\Displayers\JsonDisplayer',
@@ -70,7 +70,7 @@ return [
'GrahamCampbell\Exceptions\Filters\VerboseFilter', 'GrahamCampbell\Exceptions\Filters\VerboseFilter',
'GrahamCampbell\Exceptions\Filters\CanDisplayFilter', 'GrahamCampbell\Exceptions\Filters\CanDisplayFilter',
'GrahamCampbell\Exceptions\Filters\ContentTypeFilter', 'GrahamCampbell\Exceptions\Filters\ContentTypeFilter',
'CachetHQ\Cachet\Exceptions\Filters\ApiFilter', 'CachetHQ\Cachet\Foundation\Exceptions\Filters\ApiFilter',
], ],
/* /*