Skip to content
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 1.2.1 under development

- Chg #436: Add widgets configuration file (@dbuhonov)
- Chg #430: Replace deprecated PHP CS Fixer rule set `@PER-CS2.0` with `@PER-CS` (@dbuhonov)
- Chg #447, #450: Allow symfony/console 8 (@samdark)
- Enh #448: Add grouping to `make` help output (@Xakki, @samdark)
Expand Down
6 changes: 6 additions & 0 deletions config/configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
'events' => [],
'events-web' => ['$events'],
'events-console' => ['$events'],
'widgets' => [],
'widgets-web' => [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yiisoft/widget is not installed in this project, so I dont quite understand what is expected here besides adding an empty configuration file. Could you clarify what should be configured in this case?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

up pls

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yiisoft/widget is not installed in this project, so I dont quite understand what is expected here besides adding an empty configuration file. Could you clarify what should be configured in this case?

Oh, sorry, I missed it 😞. In this case this issue is not actual.

'$widgets',
'web/widgets.php',
],
'widgets-console' => '$widgets',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need widgets for the console?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, remove

'routes' => 'common/routes.php',
'bootstrap' => 'common/bootstrap.php',
'bootstrap-web' => '$bootstrap',
Expand Down
5 changes: 5 additions & 0 deletions config/web/widgets.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

declare(strict_types=1);

return [];
Loading