Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception handling for theme loading #1969

Merged
merged 31 commits into from Dec 9, 2019
Merged

Conversation

boehsermoe
Copy link
Member

As default thememanager should not throw exception if any theme file is missing or anything else.

Copy link
Member

@nadar nadar left a comment

Choose a reason for hiding this comment

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

Please add a changelog. 👍

core/theme/ThemeManager.php Outdated Show resolved Hide resolved
@boehsermoe boehsermoe requested a review from nadar October 26, 2019 18:10
Copy link
Member

@nadar nadar left a comment

Choose a reason for hiding this comment

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

Please add a changelog entry. thanks 👍

@boehsermoe boehsermoe requested a review from nadar October 27, 2019 15:47
@codeclimate
Copy link

codeclimate bot commented Dec 9, 2019

Code Climate has analyzed commit b19dd1a and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 64.8% (0.0% change).

View more on Code Climate.

@nadar nadar merged commit 764b845 into luyadev:master Dec 9, 2019
nadar added a commit that referenced this pull request Dec 27, 2019
* Translation helper controler

* PHPdoc

* Correct parameter order for help

* Documentation for block preview luyadev/luya-module-cms#83

* Revert PHP doc

* Travis mysql connection failed

* config with env scope

* used call_user_func for callback

* Update Config.php

* theme load without exception as default

* theme load without exception as default

* theme load without exception as default

* Update ThemeManager.php

* changelog #1969

* Update CHANGELOG.md

* add php doc

* theme management image for guide #1983

* Update app-themes.md

Co-authored-by: Basil <git@nadar.io>
nadar added a commit that referenced this pull request Apr 6, 2020
* Translation helper controler

* PHPdoc

* Correct parameter order for help

* Documentation for block preview luyadev/luya-module-cms#83

* Revert PHP doc

* Travis mysql connection failed

* config with env scope

* used call_user_func for callback

* Update Config.php

* theme load without exception as default

* theme load without exception as default

* theme load without exception as default

* Update ThemeManager.php

* changelog #1969

* Update CHANGELOG.md

* add php doc

* theme management image for guide #1983

* Update app-themes.md

* close #1970

* Update CHANGELOG.md

* Relative theme path to alias path

* Changelog

* Relative vendor path to alias path

* Tests for Relative vendor path to alias path

Co-authored-by: Basil <git@nadar.io>
nadar added a commit that referenced this pull request Apr 13, 2020
* Translation helper controler

* PHPdoc

* Correct parameter order for help

* Documentation for block preview luyadev/luya-module-cms#83

* Revert PHP doc

* Travis mysql connection failed

* config with env scope

* used call_user_func for callback

* Update Config.php

* theme load without exception as default

* theme load without exception as default

* theme load without exception as default

* Update ThemeManager.php

* changelog #1969

* Update CHANGELOG.md

* add php doc

* theme management image for guide #1983

* Update app-themes.md

* Theme command

* Create theme command

* Changelog

Co-authored-by: Basil <git@nadar.io>
nadar added a commit that referenced this pull request Jul 2, 2020
* Translation helper controler

* PHPdoc

* Correct parameter order for help

* Documentation for block preview luyadev/luya-module-cms#83

* Revert PHP doc

* Travis mysql connection failed

* config with env scope

* used call_user_func for callback

* Update Config.php

* theme load without exception as default

* theme load without exception as default

* theme load without exception as default

* Update ThemeManager.php

* changelog #1969

* Update CHANGELOG.md

* add php doc

* theme management image for guide #1983

* Update app-themes.md

* Theme command

* Create theme command

* Changelog

* fixed theme/create command #2020

* Changelog #2020

* Fix unit test for theme create command

* Fix unit test for theme create command

Co-authored-by: Basil <git@nadar.io>
boehsermoe added a commit to boehsermoe/luya that referenced this pull request Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants