-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Update to Illuminate 6.3, add exception handling, code clean up #42
Conversation
* feat(exceptions): Add support for filp/whoops * feat(exceptions): Add a Whoops handler for the WP Rest API and AJAX * feat(exceptions): Add WP, WP_Query, and WP_Post to the Whoops PrettyPageHandler * chore(deps): Update illuminate packages to 6.3 * chore(docblocks): Add missing docblocks * chore(cs): Clean up various inconsistencies/smells in code * chore(deps): Remove unused illuminate/database package and config * chore(deps): Add filp/whoops to require-dev and suggests * chore(deps): Add missing logging config * chore(readme): Add contributing and community sections to README * chore(package): Add Log1x as an author * chore(package): Bump minimum PHP version to 7.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor issues, couple major ones. Most notably, I'd like to see the Exception handling stuff be optional, and I don't think we should be overriding WordPress core behavior without providing an easy way to opt out of it.
I didn't review the exception handling classes beyond just looking at the Bootstrap file, and I didn't download the PR and confirm nothing is broken.
fix(exceptions): Return early in exception handler if not in development chore(database): Restore default config/database.php chore(config): Change default APP_NAME to the blog name chore(config): Fix calls to WP_ENV chore(config): Change app.debug to WP_DEBUG chore(config): Set preflight false by default for parity
…f development env
feat(exceptions): Add internal check for existence of a fatal error handler fix(exceptions): Appropriately bail if app.debug is false fix(exceptions): Determine verbosity of debugging by environment fix(sage): Ensure the Sage provider is always loaded if the Asset or Blade providers are loaded fix(exceptions): Use the Application contract instead of Acorn
filp/whoops
WP
,WP_Query
, andWP_Post
to the WhoopsPrettyPageHandler
illuminate/database
package and configfilp/whoops
torequire-dev
andsuggest