Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
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
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
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
/
Sign in
Sign up
Appearance settings
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
rectorphp
/
rector-src
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
449
Star
137
Code
Issues
3
Pull requests
5
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
rector-src
utils
on
partial-cache
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 29, 2026
Reuse RectorCheaperGuardsFirstRule from symplify/phpstan-rules (#8404)
TomasVotruba
authored
6af747a
View commit details
Copy full SHA for 6af747a
View code at this point
Browse repository at this point
Remove SingleServiceRegistrationRule, drop unused react/promise (#8403)
TomasVotruba
authored
b22371b
View commit details
Copy full SHA for b22371b
View code at this point
Browse repository at this point
[cleanup] remove unused RelatedConfigInterface, fix couple phpstan errors (#8395)
TomasVotruba
authored
22dd273
View commit details
Copy full SHA for 22dd273
View code at this point
Browse repository at this point
Commits on Aug 24, 2026
[phpstan] Cleanup phpstan errors (#8366)
TomasVotruba
authored
067194e
View commit details
Copy full SHA for 067194e
View code at this point
Browse repository at this point
Commits on Jul 30, 2026
Register each tagged service once, add PHPStan rule to keep it that way (#8228)
TomasVotruba
authored
a0ad10f
View commit details
Copy full SHA for a0ad10f
View code at this point
Browse repository at this point
Commits on Jun 29, 2026
[CI] Fix import order in CheaperGuardFirstRule (#8116)
TomasVotruba
authored
21bcd03
View commit details
Copy full SHA for 21bcd03
View code at this point
Browse repository at this point
[utils] Add CheaperGuardFirstRule PHPStan rule to enforce early bail before expensive analysis (#8105)
TomasVotruba
authored
2d0e0f1
View commit details
Copy full SHA for 2d0e0f1
View code at this point
Browse repository at this point
Commits on Jun 20, 2026
fix RemoveRefactorDuplicatedNodeInstanceCheckRector location to dead-code, so its publicly available (#8066)
TomasVotruba
authored
07451c9
View commit details
Copy full SHA for 07451c9
View code at this point
Browse repository at this point
Commits on Jun 19, 2026
[polyfills] add missing polyfill to PHP 8.4 array functions (#8052)
Show description for 0b70133
TomasVotruba
authored
0b70133
View commit details
Copy full SHA for 0b70133
View code at this point
Browse repository at this point
Commits on Jan 18, 2026
[PHP 8.3] Make use of typed constants (#7839)
Show description for bc675f0
TomasVotruba
authored
bc675f0
View commit details
Copy full SHA for bc675f0
View code at this point
Browse repository at this point
Commits on Nov 20, 2025
outsource PreferDirectIsNameRule to phpstan rules (#7650)
TomasVotruba
authored
f7f1dff
View commit details
Copy full SHA for f7f1dff
View code at this point
Browse repository at this point
Commits on Oct 22, 2025
[utils] Add RemoveRefactorDuplicatedNodeInstanceCheckRector (#7529)
Show description for 4fc4e94
TomasVotruba
authored
4fc4e94
View commit details
Copy full SHA for 4fc4e94
View code at this point
Browse repository at this point
Commits on Jun 19, 2025
[experimental] Add --kaizen option to apply only first X rules at a time (#6876)
Show description for 108c9d0
TomasVotruba
authored
108c9d0
View commit details
Copy full SHA for 108c9d0
View code at this point
Browse repository at this point
Commits on May 2, 2025
[phpstan] prefer isName() from abstract class over protected service (#6875)
Show description for 6e185e8
TomasVotruba
and
actions-user
authored
6e185e8
View commit details
Copy full SHA for 6e185e8
View code at this point
Browse repository at this point
Commits on Jun 21, 2024
[ci] Remove outside any set, as not much valueable (#5998)
Show description for 676bb07
TomasVotruba
authored
676bb07
View commit details
Copy full SHA for 676bb07
View code at this point
Browse repository at this point
[ci] Remove missing-in-set as too robust, set are not bound to namespace (#5997)
TomasVotruba
authored
69c35a5
View commit details
Copy full SHA for 69c35a5
View code at this point
Browse repository at this point
Commits on Jun 20, 2024
Various cleanups (#5982)
Show description for d945b22
TomasVotruba
authored
d945b22
View commit details
Copy full SHA for d945b22
View code at this point
Browse repository at this point
Commits on Jun 19, 2024
Remove deprecated and empty FinalizeClassesWithoutChildrenRector + FinalizePublicClassConstantRector (#5980)
Show description for a787d4c
TomasVotruba
authored
a787d4c
View commit details
Copy full SHA for a787d4c
View code at this point
Browse repository at this point
Commits on May 30, 2024
Exclude StaticClosureRector and StaticArrowFunctionRector from rector-preset (#5927)
samsonasik
authored
e03da04
View commit details
Copy full SHA for e03da04
View code at this point
Browse repository at this point
Exclude IncreaseDeclareStrictTypesRector from rector-preset set as conflict with DeclareStrictTypesRector (#5926)
samsonasik
authored
2039b67
View commit details
Copy full SHA for 2039b67
View code at this point
Browse repository at this point
[Set] Add new rector-preset set to have opiniated rector rules that can be enabled in rector-src and its extension (#5924)
Show description for 66e5726
samsonasik
authored
66e5726
View commit details
Copy full SHA for 66e5726
View code at this point
Browse repository at this point
Commits on May 29, 2024
[DX] Remove UseIncrementAssignRector from coding-style set, as often ignored (#5920)
TomasVotruba
authored
f987c4d
View commit details
Copy full SHA for f987c4d
View code at this point
Browse repository at this point
[DX] Soft-deprecate CallableThisArrayToAnonymousFunctionRector, as FirstClassCallableRector handles the same case better (#5918)
Show description for 8c51074
TomasVotruba
authored
8c51074
View commit details
Copy full SHA for 8c51074
View code at this point
Browse repository at this point
[DX] Ommit post-inc to pre-inc rule from coding-style as too opinionated (#5917)
TomasVotruba
authored
6ad571f
View commit details
Copy full SHA for 6ad571f
View code at this point
Browse repository at this point
[DX] Ommit static functions/closure from coding-style, as often ignored and depends on personal preference (#5916)
TomasVotruba
authored
303a1d7
View commit details
Copy full SHA for 303a1d7
View code at this point
Browse repository at this point
Commits on May 25, 2024
Code quality levels (#5910)
Show description for 650ae6a
carlos-granados
authored
650ae6a
View commit details
Copy full SHA for 650ae6a
View code at this point
Browse repository at this point
Commits on Apr 30, 2024
[TypeDeclarations] Add IncreaseDeclareStrictTypesRector to raise level of declare() coverage (#5849)
Show description for 57275ef
TomasVotruba
and
actions-user
authored
57275ef
View commit details
Copy full SHA for 57275ef
View code at this point
Browse repository at this point
Commits on Apr 13, 2024
[Util] Register AddCoversClassAttributeRector as by guessing class detection (#5820)
samsonasik
authored
5f21299
View commit details
Copy full SHA for 5f21299
View code at this point
Browse repository at this point
Commits on Mar 22, 2024
[CodeQuality] Skip if else return on ExplicitReturnNullRector (#5755)
Show description for 32bf5c7
samsonasik
and
actions-user
authored
32bf5c7
View commit details
Copy full SHA for 32bf5c7
View code at this point
Browse repository at this point
Commits on Mar 14, 2024
[CodeQuality] Remove BoolvalToTypeCastRector and FloatvalToTypeCastRector as well from code-quality set (#5722)
samsonasik
authored
23e3da2
View commit details
Copy full SHA for 23e3da2
View code at this point
Browse repository at this point
[code-quality] Remove intval/strval from sets, as no clear difference and personal preference (#5721)
TomasVotruba
authored
ea0f1c1
View commit details
Copy full SHA for ea0f1c1
View code at this point
Browse repository at this point
Commits on Feb 7, 2024
[DX] Re-use existing lists for levels (#5582)
TomasVotruba
authored
8829863
View commit details
Copy full SHA for 8829863
View code at this point
Browse repository at this point
Commits on Jan 31, 2024
[Privatization] Add FinalizeTestCaseClassRector (#5539)
TomasVotruba
authored
f03a6fd
View commit details
Copy full SHA for f03a6fd
View code at this point
Browse repository at this point
[stabilize] Deprecate FinalizePublicClassConstantRector as not reliable and causes uncontroller changed (#5534)
TomasVotruba
authored
2efd564
View commit details
Copy full SHA for 2efd564
View code at this point
Browse repository at this point
Commits on Jan 30, 2024
Exclude finalize rule from private set, to keep safer (#5523)
TomasVotruba
authored
5979c09
View commit details
Copy full SHA for 5979c09
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.