view
view copied to clipboard
Fix di-web for Theme pathMap configuration with multiple paths
Allows you to use a directory array as the source of the view files, as described in the documentation of the Theme class
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
Without this, when configuring a theme with multiple paths, the following error occurs
'yiisoft/view' => [
'theme' => [
'pathMap' => [
'/app/views' => [
'/app/themes/christmas',
'/app/themes/basic',
],
],
...
],
],
now you can set up a theme as described in the Theme documentation, for multiple cascading directories, as this is the main functionality of Theme
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.51%. Comparing base (
071a326) to head (b8ab0ec). Report is 1 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #283 +/- ##
=========================================
Coverage 99.51% 99.51%
Complexity 305 305
=========================================
Files 19 19
Lines 827 827
=========================================
Hits 823 823
Misses 4 4
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.