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

Update to Illuminate 6.3, add exception handling, code clean up #42

Merged
merged 8 commits into from
Nov 7, 2019

Conversation

Log1x
Copy link
Sponsor Member

@Log1x Log1x commented Oct 29, 2019

  • feat(exceptions): Rewrite existing exception handler
  • 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 suggest
  • 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
  • chore(circleci): Drop support for PHP 7.1
  • chore(cs): Lint codebase

* 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
@Log1x Log1x requested a review from QWp6t October 29, 2019 04:21
@Log1x Log1x requested a review from knowler October 29, 2019 04:36
Copy link
Sponsor Member

@QWp6t QWp6t left a 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.

src/Acorn/Bootstrap/HandleExceptions.php Show resolved Hide resolved
src/Acorn/Bootstrap/HandleExceptions.php Outdated Show resolved Hide resolved
src/Acorn/Concerns/Application.php Show resolved Hide resolved
config/app.php Outdated Show resolved Hide resolved
config/app.php Outdated Show resolved Hide resolved
config/app.php Outdated Show resolved Hide resolved
config/app.php Outdated Show resolved Hide resolved
src/Acorn/Bootstrap/HandleExceptions.php Show resolved Hide resolved
src/Acorn/Bootstrap/SageFeatures.php Outdated Show resolved Hide resolved
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
config/logging.php Outdated Show resolved Hide resolved
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
@QWp6t QWp6t merged commit fc4b145 into master Nov 7, 2019
@QWp6t QWp6t deleted the next branch November 7, 2019 01:28
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.

3 participants