Skip to content

Conversation

@chrisschaetzlein
Copy link
Contributor

These changes will allow using this package with Lumen with disabled facades. Tested with the latest 5.5, not sure about older versions.

Remove facades usage for firing events
Remove facades usage for getting the default Validator instance
@dwightwatson
Copy link
Owner

Unfortunately this breaks all the tests - any idea on how to get the suite back to green when using app()?

@chrisschaetzlein
Copy link
Contributor Author

Hmm... according to the error reported by Travis:
PHP Fatal error: Call to undefined function Watson\Validating\app()
I assume that the test runner is not aware of the global app() helper function that Lumen (and afaik Laravel too) provides?

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.

2 participants