Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Phauthentic
/
phpstan-rules
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
1
Actions
Projects
0
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit History
Commits on Oct 24, 2025
Fixed MethodMustReturnTypeRule to support nullable object return types (#15)
Show description for 470538b
floriankraemer
and
Florian Krämer
authored
470538b
Copy full SHA for 470538b
Commits on Oct 23, 2025
Adding a full example for a modular monolith with clean architecture rules. (#14)
Show description for 8f1d7e6
floriankraemer
and
Florian Krämer
authored
8f1d7e6
Copy full SHA for 8f1d7e6
Commits on Oct 21, 2025
Adding Forbidden Namespaces and Max Line Length Rules (#13)
floriankraemer
authored
4919f4c
Copy full SHA for 4919f4c
Commits on Aug 14, 2025
Handling final for abstract classes (#11)
floriankraemer
authored
63f69df
Copy full SHA for 63f69df
Commits on Jul 30, 2025
Union return types for method must return type rule (#9)
Show description for 7c4ab4a
floriankraemer
and
Florian Krämer
authored
7c4ab4a
Copy full SHA for 7c4ab4a
Adding method must return object rule (#8)
Show description for 9e489b1
floriankraemer
authored
9e489b1
Copy full SHA for 9e489b1
Commits on Jul 29, 2025
Improving the MethodMustReturnType to support unions (#7)
Show description for 23e5d35
floriankraemer
and
Florian Krämer
authored
23e5d35
Copy full SHA for 23e5d35
Commits on Jul 26, 2025
Fixes and new Rule (#6)
floriankraemer
authored
ba9dd3c
Copy full SHA for ba9dd3c
Commits on Jul 23, 2025
Adding a rule to forbid catching of certain types of exceptions (#5)
floriankraemer
authored
6f96c7a
Copy full SHA for 6f96c7a
Commits on Jun 15, 2025
Adding Signature and Return Type checking Rules (#4)
Show description for 921226b
floriankraemer
authored
921226b
Copy full SHA for 921226b
Commits on Jun 14, 2025
Merge branch 'master' of github.com:Phauthentic/phpstan-rules
Florian Krämer
committed
2ea6ba5
Copy full SHA for 2ea6ba5
Large scale refactoring (#3)
Show description for ed003ed
floriankraemer
authored
ed003ed
Copy full SHA for ed003ed
Merge branch 'master' of github.com:Phauthentic/phpstan-rules
Florian Krämer
committed
37abef7
Copy full SHA for 37abef7
Fixing the DependencyConstraintsRule (#2)
Show description for 42adfa4
floriankraemer
authored
42adfa4
Copy full SHA for 42adfa4
PHPCS & PHPStan fixes
Florian Krämer
committed
ae21ffb
Copy full SHA for ae21ffb
Updating the documentation.
Florian Krämer
committed
e1c2b9f
Copy full SHA for e1c2b9f
Fixing the DependencyConstraintsRule
Florian Krämer
committed
dc47791
Copy full SHA for dc47791
Commits on Jun 12, 2025
Adding ReadonlyClassRule & NamespaceClassPatternRule
floriankraemer
authored
9ca7f8b
Copy full SHA for 9ca7f8b
Commits on Mar 29, 2025
Fixing a bug observed in a project, but could not reproduce it in a test within a reasonable time. Not sure how to reproduce the problem there.
Florian Krämer
committed
8977d45
Copy full SHA for 8977d45
Commits on Mar 27, 2025
Refactoring
floriankraemer
committed
374c570
Copy full SHA for 374c570
Refactoring the ControlStructureNestingRule
floriankraemer
committed
54dc323
Copy full SHA for 54dc323
Initial commit
floriankraemer
committed
818d7d2
Copy full SHA for 818d7d2
You can’t perform that action at this time.