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