Skip to content

Adding more Rules#32

Merged
floriankraemer merged 1 commit intomasterfrom
rules
Apr 16, 2026
Merged

Adding more Rules#32
floriankraemer merged 1 commit intomasterfrom
rules

Conversation

@floriankraemer
Copy link
Copy Markdown
Contributor

  • Added new rules: Forbidden Business Logic Rule and Forbidden Date Time Comparison Rule, which enforce architectural constraints in class methods.
  • Updated phpstan.neon to include tests directory for analysis.
  • Enhanced documentation for the new rules, including detailed descriptions and configuration examples in Rules.md and individual rule markdown files.
  • Introduced tests for the new rules to ensure proper functionality and compliance with the defined constraints.

These changes improve the enforcement of architectural boundaries and provide clearer guidance for users.

- Added new rules: Forbidden Business Logic Rule and Forbidden Date Time Comparison Rule, which enforce architectural constraints in class methods.
- Updated phpstan.neon to include tests directory for analysis.
- Enhanced documentation for the new rules, including detailed descriptions and configuration examples in Rules.md and individual rule markdown files.
- Introduced tests for the new rules to ensure proper functionality and compliance with the defined constraints.

These changes improve the enforcement of architectural boundaries and provide clearer guidance for users.
@floriankraemer floriankraemer merged commit 4f01ef9 into master Apr 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant