You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the only way to verify that a configuration file is valid is to restart PHP: this is inconvenient.
We should provide a standalone binary to perform configuration validation. Since we're doing manual parsing instead of using shlex/yacc/bison/… as the rest of the zoo, we should re-use the code, instead of writing a linter in an other language, since it'll be tedious to keep them in since.
The text was updated successfully, but these errors were encountered:
My current work-in-progress solution is to export the configuration in PHP serialized format for use with separate tools. The export part is already implemented. As for the tools, I think about adding unit tests for ini-checks and disabled_functions that can be embedded into the config file as comments and parsed separately by the external config checker tool.
Currently, the only way to verify that a configuration file is valid is to restart PHP: this is inconvenient.
We should provide a standalone binary to perform configuration validation. Since we're doing manual parsing instead of using shlex/yacc/bison/… as the rest of the zoo, we should re-use the code, instead of writing a linter in an other language, since it'll be tedious to keep them in since.
The text was updated successfully, but these errors were encountered: