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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
* Extract validation logic into own class
* Deprecate the custom validator
The is no need for a custom validator instance. It is bad practice for 3rd party packages to define rules this way.
* Adapt service provider, install validation rule as "extension"
Also, removed the custom resolver - the logic that is overwriting an application's validator instance.
* Add test helper
Helper is responsible for creating validator instance with desired validation rules...
* Adapt unit tests
* Remove IDE injected PHPDoc
* Fix style