-
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-psalm
- Loading branch information
Showing
109 changed files
with
499 additions
and
426 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
YII_ENV=test | ||
YII_DEBUG=true | ||
BASE_URL=/ |
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,2 +1 @@ | ||
.merge-plan.php | ||
*-local.php |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -7,14 +7,12 @@ | |
use Cycle\Database\Config\SQLiteDriverConfig; | ||
use Yiisoft\ErrorHandler\Middleware\ErrorCatcher; | ||
use Yiisoft\Router\Middleware\Router; | ||
use Yiisoft\Yii\Cycle\Command\Migration; | ||
use Yiisoft\Yii\Cycle\Command\Schema; | ||
use Yiisoft\Yii\Cycle\Schema\Conveyor\AttributedSchemaConveyor; | ||
use Yiisoft\Yii\Cycle\Schema\Provider\FromConveyorSchemaProvider; | ||
use Yiisoft\Yii\Cycle\Schema\Provider\PhpFileSchemaProvider; | ||
use Yiisoft\Yii\Cycle\Schema\SchemaProviderInterface; | ||
use Yiisoft\Yii\Middleware\Locale; | ||
use Yiisoft\Yii\Middleware\SubFolder; | ||
use Yiisoft\Yii\Middleware\Subfolder; | ||
use Yiisoft\Yii\Queue\Adapter\SynchronousAdapter; | ||
|
||
return [ | ||
|
@@ -28,17 +26,17 @@ | |
'supportEmail' => '[email protected]', | ||
'middlewares' => [ | ||
ErrorCatcher::class, | ||
SubFolder::class, | ||
Subfolder::class, | ||
Locale::class, | ||
Router::class, | ||
], | ||
|
||
'yiisoft/aliases' => [ | ||
'aliases' => [ | ||
'@root' => dirname(__DIR__), | ||
'@root' => dirname(__DIR__, 2), | ||
'@assets' => '@public/assets', | ||
'@assetsUrl' => '@baseUrl/assets', | ||
'@baseUrl' => $_ENV['BASE_URL'], | ||
'@baseUrl' => '', | ||
'@data' => '@root/data', | ||
'@messages' => '@resources/messages', | ||
'@public' => '@root/public', | ||
|
@@ -61,21 +59,6 @@ | |
'defaultCategory' => 'app', | ||
], | ||
|
||
// Console commands | ||
'yiisoft/yii-console' => [ | ||
'commands' => [ | ||
'cycle/schema' => Schema\SchemaCommand::class, | ||
'cycle/schema/php' => Schema\SchemaPhpCommand::class, | ||
'cycle/schema/clear' => Schema\SchemaClearCommand::class, | ||
'cycle/schema/rebuild' => Schema\SchemaRebuildCommand::class, | ||
'migrate/create' => Migration\CreateCommand::class, | ||
'migrate/generate' => Migration\GenerateCommand::class, | ||
'migrate/up' => Migration\UpCommand::class, | ||
'migrate/down' => Migration\DownCommand::class, | ||
'migrate/list' => Migration\ListCommand::class, | ||
], | ||
], | ||
|
||
'yiisoft/yii-cycle' => [ | ||
// DBAL config | ||
'dbal' => [ | ||
|
@@ -90,7 +73,7 @@ | |
], | ||
'connections' => [ | ||
'sqlite' => new SQLiteDriverConfig( | ||
new FileConnectionConfig(dirname(__DIR__) . '/runtime/database.db') | ||
new FileConnectionConfig(dirname(__DIR__, 2) . '/runtime/database.db') | ||
), | ||
], | ||
], | ||
|
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
Empty file.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Yiisoft\Yii\Cycle\Command\Migration; | ||
use Yiisoft\Yii\Cycle\Command\Schema; | ||
|
||
return [ | ||
'cycle/schema' => Schema\SchemaCommand::class, | ||
'cycle/schema/php' => Schema\SchemaPhpCommand::class, | ||
'cycle/schema/clear' => Schema\SchemaClearCommand::class, | ||
'cycle/schema/rebuild' => Schema\SchemaRebuildCommand::class, | ||
'migrate/create' => Migration\CreateCommand::class, | ||
'migrate/generate' => Migration\GenerateCommand::class, | ||
'migrate/up' => Migration\UpCommand::class, | ||
'migrate/down' => Migration\DownCommand::class, | ||
'migrate/list' => Migration\ListCommand::class, | ||
]; |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
'yiisoft/yii-console' => [ | ||
'commands' => require __DIR__ . '/commands.php', | ||
], | ||
]; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.