Skip to content

Commit

Permalink
- minor dependency update
Browse files Browse the repository at this point in the history
- App class cleanup
  • Loading branch information
wolfy-j committed Nov 8, 2019
1 parent 5593842 commit 056015f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
4 changes: 3 additions & 1 deletion app/config/database.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

/**
* Spiral Framework.
*
* @license MIT
* @author Anton Titov (Wolfy-J)
*/

declare(strict_types=1);

use Spiral\Database\Driver;
Expand All @@ -21,4 +23,4 @@
'profiling' => true,
],
]
];
];
13 changes: 8 additions & 5 deletions app/src/App.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

/**
* Spiral Framework.
*
* @license MIT
* @author Anton Titov (Wolfy-J)
*/

declare(strict_types=1);

namespace App;
Expand All @@ -25,10 +27,7 @@ class App extends Kernel
DotEnv\DotenvBootloader::class,

// Core Services
Framework\DebugBootloader::class,
Framework\SnapshotsBootloader::class,

// Security and validation
Framework\Security\EncrypterBootloader::class,

// Databases
Expand All @@ -45,7 +44,11 @@ class App extends Kernel
Framework\Jobs\JobsBootloader::class,

// Framework commands
Framework\CommandBootloader::class
Framework\CommandBootloader::class,

// Debugging
Framework\DebugBootloader::class,
Framework\Debug\LogCollectorBootloader::class
];

/*
Expand All @@ -54,4 +57,4 @@ class App extends Kernel
protected const APP = [
Prototype\PrototypeBootloader::class
];
}
}
2 changes: 2 additions & 0 deletions app/src/Job/Ping.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

/**
* Spiral Framework.
*
* @license MIT
* @author Anton Titov (Wolfy-J)
*/

declare(strict_types=1);

namespace App\Job;
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"require": {
"php": ">=7.2",
"spiral/framework": "^2.0",
"spiral/debug": "^1.3",
"spiral/snapshots": "^1.0",
"spiral/console": "^1.2",
"spiral/jobs": "^2.0",
Expand Down

0 comments on commit 056015f

Please sign in to comment.