Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YoastCS rules: disallow the "mixed" type in annotations
An exception is made for the tests, as a data provider for input validation within a function could well be passing every single different type, in which case, `mixed` is perfectly valid. Related to 303 Fixes 196 Impact on Yoast packages: | Plugin/Tool | Errors/Warnings | |-------------------|-----------------| | PHPUnit Polyfills | 49 (this is valid though as these are assertion declarations) | WP Test Utils | -- | YoastCS | 2 | WHIP | -- | Yoast Test Helper | 4 | Duplicate Post | 12 | Yst ACF | 1 | Yst WooCommerce | 2 | Yst News | 1 | Yst Local | 42 | Yst Video | 12 | Yst Premium | 17 | Yst Free | 151
- Loading branch information