-
Notifications
You must be signed in to change notification settings - Fork 773
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make mixins smarter and with a shorter name
To make PHPStan recognize methods when we call Validator with static and non-static rule names, I added a few methods from `Validator` to the `ChainedValidator` interface[1]. However, this didn't work so well because there could have been more methods from `Validator`. This commit will rename the mixins to better names, but it will also make the `Chain` (old `ChainedValidator` to have a `@mixin` on itself of the `Validator` class. [1]: a974c0c
- Loading branch information
1 parent
75a9b8e
commit 74c018b
Showing
36 changed files
with
4,274 additions
and
4,409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.