tailor
tailor copied to clipboard
[FEATURE] Provide detailed error messages for `ext_emconf.php` validation
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:
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