-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Is your feature request related to a problem?
Follow up on #416, which was fixed via #1024.
If a user tries to change an unavailable ini setting, this will currently be silently ignored.
Typically, unavailable ini settings are either a typo - think: short_open_tags vs short_open_tag - or due to the user trying to change an ini setting on a PHP extension which is not loaded.
Describe the solution you'd like
As discussed in #416, it would be good to warn users when this is happening, but without it affecting the exit code, which is currently not possible for code executed in the Config class.
Once the MessageCollector class has been introduced into the Config class, it should be possible to start throwing a notice or warning for this.
- I have read the Contribution Guidelines and this is not a support question.
- I intend to create a pull request to implement this feature.