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

[FEATURE] Provide detailed error messages for ext_emconf.php validation #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eliashaeussler
Copy link
Contributor

This PR proposes a more fine-grained way of ext_emconf.php file validation. A new EmConfValidationError class is introduced (can be converted to a native enum once support for PHP < 8.1 is dropped) which provides a set of possible validation errors. These errors are collected in a new EmConfVersionValidator::collectErrors() method and will be displayed in VersionService instead of the previously used generic error message. This allows users to easily find and solve configuration mismatches in ext_emconf.php file.

Example:

image

@eliashaeussler
Copy link
Contributor Author

Hi @o-ba, this branch is now also up to date. Would be great if you can take a look at this PR as well :)

Cheers, Elias

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.

1 participant