Skip to content

Tags: Phauthentic/phpstan-rules

Tags

1.3.1

Toggle 1.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed MethodMustReturnTypeRule to support nullable object return types ( #15) - Added a new method `mustReturnNullableObject` to `ReturnTypeTestClass` that returns a nullable object. - Updated `MethodMustReturnTypeRule` to unwrap `NullableType` for accurate type checking. - Added test cases to validate the new nullable object return type functionality. Co-authored-by: Florian Krämer <f.kraemer@clipmyhorse.tv>

1.3.0

Toggle 1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding Forbidden Namespaces and Max Line Length Rules (#13) 

1.2.1

Toggle 1.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Handling final for abstract classes (#11) 

1.2.0

Toggle 1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improving the MethodMustReturnType to support unions (#7) * 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.1.0

Toggle 1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes and new Rule (#6) 

1.0.0

Toggle 1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding Signature and Return Type checking Rules (#4) * Adding rules to check return type and method signature * Adding a rule for naming methods that return booleans