Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Bug #141: Move badges for latest stable version and total downloads in `README.md` to `Installation` section (@terabytesoftw)
- Bug #143: Add `Available stacks` section with `RoadRunner` badge to `README.md` (@terabytesoftw)
- Bug #146: Remove `yiisoft/yii2-symfonymailer` dependency from `composer.json` (@terabytesoftw)
- Bug #149: Update PHPStan annotations and add container configuration file (@terabytesoftw)

## 0.1.0 August 31, 2025

Expand Down
4 changes: 2 additions & 2 deletions config/console/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

use app\usecase\hello\HelloController;

/** @var string[] $components */
/** @phpstan-var array<string, mixed> $components */
$components = require dirname(__DIR__) . '/common/components.php';
/** @var string[] $params */
/** @phpstan-var array<string, mixed> $params */
$params = require dirname(__DIR__) . '/params-console.php';

return [
Expand Down
5 changes: 5 additions & 0 deletions config/console/container.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

declare(strict_types=1);

return [];
9 changes: 6 additions & 3 deletions config/web/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

use app\usecase\site\SiteController;

/** @phpstan-var string[] $components */
/** @phpstan-var array<string, mixed> $components */
$components = require __DIR__ . '/components.php';
/** @phpstan-var string[] $modules */
/** @phpstan-var array<string, mixed> $container */
$container = require __DIR__ . '/container.php';
/** @phpstan-var array<string, mixed> $modules */
$modules = require __DIR__ . '/modules.php';
/** @phpstan-var string[] $params */
/** @phpstan-var array<string, mixed> $params */
$params = require dirname(__DIR__) . '/params-web.php';

$rootDir = dirname(__DIR__, 2);
Expand All @@ -25,6 +27,7 @@
'basePath' => $rootDir,
'bootstrap' => ['log'],
'components' => $components,
'container' => $container,
'controllerMap' => [
'site' => ['class' => SiteController::class],
],
Expand Down
5 changes: 5 additions & 0 deletions config/web/container.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

declare(strict_types=1);

return [];
Loading