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

Allow Exceptions config to extend BaseConfig #2940

Merged
merged 1 commit into from
May 6, 2020
Merged

Allow Exceptions config to extend BaseConfig #2940

merged 1 commit into from
May 6, 2020

Conversation

paulbalandan
Copy link
Member

Description
Allow Config\Exceptions to extend the BaseConfig so that user-defined modules or external modules may supply their own registrars to populate the properties to their specific needs. Or users may use .env for the same purpose.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

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

This seems like a no-brainer but now I’m wondering if there was some reason behind this originally. I approve but I’d like @lonnieezell to weigh in before merging.

@lonnieezell
Copy link
Member

I believe exception handling was one of the earlier elements ported over from CI3, so the BaseConfig didn't exist then, and it was missed since then.

Merging.

@lonnieezell lonnieezell merged commit a5e3fa2 into codeigniter4:develop May 6, 2020
@paulbalandan paulbalandan deleted the exceptions-config branch May 7, 2020 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants