Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Discover and integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
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
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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 }}
php-fig
/
per-coding-style
Public
Notifications
You must be signed in to change notification settings
Fork
28
Star
276
Code
Issues
4
Pull requests
0
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 Sep 10, 2025
Merge pull request #123 from DanielEScherzer/patch-2
Show description for 2d833d8
Crell
authored
2d833d8
Copy full SHA for 2d833d8
Merge pull request #122 from DanielEScherzer/patch-1
Show description for e57d051
Crell
authored
e57d051
Copy full SHA for e57d051
Spec section 4: static methods should be called statically
Show description for d26a46a
DanielEScherzer
authored
d26a46a
Copy full SHA for d26a46a
Spec section 4: static properties need a `$`
Show description for b89eef2
DanielEScherzer
authored
b89eef2
Copy full SHA for b89eef2
Commits on Aug 23, 2025
Remove incorrect line from Migration Guide.
Crell
committed
1dc452f
Copy full SHA for 1dc452f
Commits on Jun 16, 2025
Merge pull request #118 from php-fig/Crell-patch-1
Show description for 1a5a69b
Crell
authored
1a5a69b
Copy full SHA for 1a5a69b
Fix renumbering
Show description for 692455b
Crell
authored
692455b
Copy full SHA for 692455b
Commits on Jun 11, 2025
Merge pull request #117 from Crell/meta-trim
Show description for efcc1f2
Crell
authored
efcc1f2
Copy full SHA for efcc1f2
Link to the new migration doc.
Crell
committed
d022fcb
Copy full SHA for d022fcb
Remove old PSR-2 justifications that are no longer relevant.
Crell
committed
0c3248c
Copy full SHA for 0c3248c
Merge pull request #116 from Crell/3.0-changelog
Show description for 12e50f9
Crell
authored
12e50f9
Copy full SHA for 12e50f9
Commits on Jun 8, 2025
Update title
Show description for 24ec353
Crell
and
jrfnl
authored
24ec353
Copy full SHA for 24ec353
Commits on Jun 3, 2025
Merge pull request #115 from Crell/visibility
Show description for 0ac5a51
Crell
authored
0ac5a51
Copy full SHA for 0ac5a51
Commits on May 31, 2025
Spelling fix.
Crell
committed
b6bb327
Copy full SHA for b6bb327
Add a v3 migration document.
Crell
committed
28e777e
Copy full SHA for 28e777e
Clarify what visibility must be declared.
Crell
committed
4ef4f17
Copy full SHA for 4ef4f17
Commits on May 13, 2025
Merge pull request #113 from vdelau/lowercase_no_break
Show description for 859b866
Crell
authored
859b866
Copy full SHA for 859b866
Undo capitalization of `// no break` to prevent tooling issues
Show description for 9e70dce
vdelau
committed
9e70dce
Copy full SHA for 9e70dce
Commits on Apr 23, 2025
Merge pull request #108 from Crell/hooks
Show description for 5229526
Crell
authored
5229526
Copy full SHA for 5229526
Commits on Apr 6, 2025
Disallow wrapping in inline hook bodies.
Crell
committed
0a13031
Copy full SHA for 0a13031
Soften rules for short-hooks.
Crell
committed
e3e4037
Copy full SHA for e3e4037
Commits on Mar 29, 2025
Merge pull request #112 from devfrey/patch-1
Show description for a027285
Crell
authored
a027285
Copy full SHA for a027285
Clarify abstract properties with partial implementation.
Crell
committed
a8d1a28
Copy full SHA for a8d1a28
Commits on Mar 27, 2025
Fix typo in paragraph about omitting parentheses
devfrey
authored
ee90554
Copy full SHA for ee90554
Commits on Mar 26, 2025
Merge pull request #110 from KorvinSzanto/new-class-no-parenthesis
Show description for 5e2d262
Crell
authored
5e2d262
Copy full SHA for 5e2d262
Commits on Jan 29, 2025
Merge pull request #109 from TimWolla/patch-1
Show description for d34e77a
Crell
authored
d34e77a
Copy full SHA for d34e77a
Commits on Jan 22, 2025
Spelling fix
Show description for 81328ff
Crell
and
KorvinSzanto
authored
81328ff
Copy full SHA for 81328ff
Disallow very-long short-hooks.
Show description for 6dfd0ab
Crell
and
TimWolla
authored
6dfd0ab
Copy full SHA for 6dfd0ab
Merge pull request #111 from KorvinSzanto/update-rfc-2119-to-bcp-14
Show description for ddd8d9c
Crell
authored
ddd8d9c
Copy full SHA for ddd8d9c
Commits on Jan 21, 2025
Switch from RFC 2119 to BCP-14
KorvinSzanto
committed
b59af42
Copy full SHA for b59af42
Make it clear that this applies when accessing any class member and not just methods.
KorvinSzanto
authored
e851630
Copy full SHA for e851630
Recommend omitting wrapping parenthesis when immediately calling a method on a new instance
KorvinSzanto
authored
bdbf3ee
Copy full SHA for bdbf3ee
Show extra-long version.
Show description for 7901d61
Crell
and
TimWolla
authored
7901d61
Copy full SHA for 7901d61
Commits on Jan 20, 2025
Interface properties.
Crell
committed
3273f94
Copy full SHA for 3273f94
Restructure hook descriptions.
Crell
committed
8320af5
Copy full SHA for 8320af5
Pagination
Previous
Next
You can’t perform that action at this time.