This repository has been archived by the owner on Apr 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from codedge/analysis-qJdVkE
Apply fixes from StyleCI
- Loading branch information
Showing
15 changed files
with
193 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,36 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
require_once __DIR__ . '/vendor/autoload.php'; | ||
declare(strict_types=1); | ||
|
||
require_once __DIR__.'/vendor/autoload.php'; | ||
|
||
$dotenv = Dotenv\Dotenv::create(__DIR__); | ||
$dotenv->load(); | ||
|
||
$settings = require __DIR__ . '/src/settings.php'; | ||
$settings = require __DIR__.'/src/settings.php'; | ||
$app = new \Slim\App($settings); | ||
// Set up dependencies | ||
require __DIR__ . '/src/dependencies.php'; | ||
require __DIR__.'/src/dependencies.php'; | ||
|
||
$db = $container['settings']['database']; | ||
|
||
return [ | ||
'paths' => [ | ||
'migrations' => 'src/Migrations', | ||
'seeds' => 'src/Seeds', | ||
'seeds' => 'src/Seeds', | ||
], | ||
'environments' => [ | ||
'default' => [ | ||
'adapter' => $db['driver'], | ||
'host' => $db['host'], | ||
'name' => $db['database'], | ||
'user' => $db['username'], | ||
'pass' => $db['password'], | ||
'host' => $db['host'], | ||
'name' => $db['database'], | ||
'user' => $db['username'], | ||
'pass' => $db['password'], | ||
], | ||
'default_migration_table' => 'migrations', | ||
], | ||
'migration_base_class' => "App\Migrations\Migration", | ||
'templates' => [ | ||
'templates' => [ | ||
'file' => 'src/Migrations/Migration.template.php.dist', | ||
], | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php declare(strict_types = 1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Http\Validators; | ||
|
||
use Respect\Validation\Validator as Respect; | ||
|
||
class Validator extends Respect | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.