Commit 7c4ab4a
Union return types for method must return type rule (#9)
* Improving the MethodMustReturnType rule
* Fixing edge cases
* Add regex support for method return type validation
- Introduced new classes for testing regex patterns in method return types.
- Enhanced the MethodMustReturnTypeRule to support regex matching for expected return types.
- Updated documentation to reflect regex usage in return type rules.
- Added comprehensive tests for various valid and invalid cases involving regex patterns.
---------
Co-authored-by: Florian Krämer <f.kraemer@clipmyhorse.tv>1 parent 9e489b1 commit 7c4ab4a
0 file changed
0 commit comments