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
src
ProcessAnalyzer
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 6, 2025
Remove comment has above node skipped on current rule on RectifiedAnalyzer (#7722)
samsonasik
authored
7fcaf87
View commit details
Copy full SHA for 7fcaf87
View code at this point
Browse repository at this point
Commits on Dec 3, 2025
[cleanup] cleanup AbstractRector from DONT_TRAVERSE_* enums as no longer supported, all rules work without it now (#7708)
TomasVotruba
authored
943b146
View commit details
Copy full SHA for 943b146
View code at this point
Browse repository at this point
Commits on Jul 3, 2025
[ProcessAnalyzer] Remove check of just added as new stmt on RectifiedAnalyzer (#7041)
samsonasik
authored
186c22e
View commit details
Copy full SHA for 186c22e
View code at this point
Browse repository at this point
Commits on Jun 30, 2025
[CodeQuality][Php84] Handle crash on ForeachToArrayFindRector+OptionalParametersAfterRequiredRector (#7033)
Show description for 992f3ff
samsonasik
and
actions-user
authored
992f3ff
View commit details
Copy full SHA for 992f3ff
View code at this point
Browse repository at this point
Commits on Jan 10, 2024
[Performance] Remove loop StmtsAwareInterface on PHPStanNodeScopeResolver (#5450)
Show description for e231caa
samsonasik
and
actions-user
authored
e231caa
View commit details
Copy full SHA for e231caa
View code at this point
Browse repository at this point
Commits on Jan 1, 2024
[psr-4] Move group of classes from Rector\\Core to Rector namespace (#5411)
Show description for 90d1a4d
TomasVotruba
authored
90d1a4d
View commit details
Copy full SHA for 90d1a4d
View code at this point
Browse repository at this point
Commits on Oct 17, 2023
[Downgradephp81][DowngradePhp80] Handle No scope crash on DowngradeSetAccessibleReflectionPropertyRector + DowngradeMatchToSwitchRector (#5183)
Show description for 369f16a
samsonasik
authored
369f16a
View commit details
Copy full SHA for 369f16a
View code at this point
Browse repository at this point
Commits on Oct 5, 2023
[Experiment][Scope] Remove dynamic Scope creation via ScopeAnalyzer on AbstractScopeAwareRector (#5102)
Show description for 8e06627
samsonasik
and
actions-user
authored
8e06627
View commit details
Copy full SHA for 8e06627
View code at this point
Browse repository at this point
Commits on Oct 1, 2023
[ProcessAnalyzer] Ensure instanceof Stmt on check infinite loop on not yet has "created_by_rule" attribute (#5100)
samsonasik
authored
12fa849
View commit details
Copy full SHA for 12fa849
View code at this point
Browse repository at this point
Commits on Sep 21, 2023
[CodingStyle][EarlyReturn] Fix infinite if else on BinarySwitchToIfElseRector+RemoveAlwaysElseRector (#5057)
Show description for 69055b5
samsonasik
and
actions-user
authored
69055b5
View commit details
Copy full SHA for 69055b5
View code at this point
Browse repository at this point
Commits on Aug 28, 2023
[ProcessAnalyzer] Remove unnecessary hasAttribute(origNode) on RectifiedAnalyzer (#4873)
Show description for eac3d46
samsonasik
authored
eac3d46
View commit details
Copy full SHA for eac3d46
View code at this point
Browse repository at this point
Add additional comment for future reference on RectifiedAnalyzer on above node directly use DONT_TRAVERSE_CHILDREN, only on current rule (#4872)
samsonasik
authored
7fc7034
View commit details
Copy full SHA for 7fc7034
View code at this point
Browse repository at this point
[Php55][Renaming] Handle rename string on combination StringClassNameToClassConstantRector+RenameStringRector (#4869)
Show description for 684a317
samsonasik
and
actions-user
authored
684a317
View commit details
Copy full SHA for 684a317
View code at this point
Browse repository at this point
[ProcessAnalyzer] Remove phpstan_cache_printer tweak check on RectifiedAnalyzer (#4868)
samsonasik
authored
1c56aa9
View commit details
Copy full SHA for 1c56aa9
View code at this point
Browse repository at this point
Commits on Jul 27, 2023
[CodeQuality][Strict] Handle infinite loop on SimplifyDeMorganBinaryRector+SimplifyIfReturnBoolRector+DisallowedEmptyRuleFixerRector (#4615)
Show description for dcfa711
samsonasik
authored
dcfa711
View commit details
Copy full SHA for dcfa711
View code at this point
Browse repository at this point
Commits on Jul 11, 2023
cs
TomasVotruba
committed
59b4c8d
View commit details
Copy full SHA for 59b4c8d
View code at this point
Browse repository at this point
Fix ReturnBinaryOrToEarlyReturnRector mixing up returned nodes of array, hook into StmtsAwareInterface instead to keep next Rector rules updated (#4476)
TomasVotruba
authored
26a368c
View commit details
Copy full SHA for 26a368c
View code at this point
Browse repository at this point
[CodeQuality][EarlyReturn] Handle crash Replace Stmt to Expr on FlipTypeControlToUseExclusiveTypeRector+FlipTypeControlToUseExclusiveTypeRector+ReturnBinaryOrToEarlyReturnRector (#4474)
Show description for e45e65c
samsonasik
and
actions-user
authored
e45e65c
View commit details
Copy full SHA for e45e65c
View code at this point
Browse repository at this point
Commits on May 29, 2023
[ProcessAnalyzer] Remove parent attribute on RectifiedAnalyzer (#4010)
samsonasik
authored
7891fda
View commit details
Copy full SHA for 7891fda
View code at this point
Browse repository at this point
Commits on Nov 20, 2022
[Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
Show description for eddc376
samsonasik
and
actions-user
authored
eddc376
View commit details
Copy full SHA for eddc376
View code at this point
Browse repository at this point
Commits on Nov 19, 2022
[Core] Refactor CreatedByRuleDecorator to make consistent check for consecutive same Rector run (#3078)
samsonasik
authored
24b9eb7
View commit details
Copy full SHA for 24b9eb7
View code at this point
Browse repository at this point
Commits on Nov 11, 2022
[Core] Improve performance: verify consecutive execute same Rector Rule when Original Node is Null (#3047)
samsonasik
authored
4d93103
View commit details
Copy full SHA for 4d93103
View code at this point
Browse repository at this point
Commits on Oct 25, 2022
[Core] Improve RectifiedAnalyzer: no need to check created by rule when original Node is null (#3014)
samsonasik
authored
d82ef17
View commit details
Copy full SHA for d82ef17
View code at this point
Browse repository at this point
Commits on Oct 24, 2022
[EarlyReturn] Handle crash on RemoveAlwaysElseRector+ReturnEarlyIfVariableRector (#3011)
Show description for 5131abd
samsonasik
and
actions-user
authored
5131abd
View commit details
Copy full SHA for 5131abd
View code at this point
Browse repository at this point
Commits on Sep 29, 2022
Bump composer dependencies (#2960)
Show description for 5a6be73
samsonasik
and
actions-user
authored
5a6be73
View commit details
Copy full SHA for 5a6be73
View code at this point
Browse repository at this point
Commits on Sep 5, 2022
[Down_To_PHP71] Handle both parent and child typed for trailing comma downgrade on DowngradeLevelSetList::DOWN_TO_PHP_71 (#2910)
samsonasik
authored
f06d901
View commit details
Copy full SHA for f06d901
View code at this point
Browse repository at this point
Commits on Sep 1, 2022
Removing SmartFileInfo (#2879)
TomasVotruba
authored
55227be
View commit details
Copy full SHA for 55227be
View code at this point
Browse repository at this point
[DX] Remove internally SmartFileInfo, to save memory for every single file + service (#2876)
TomasVotruba
authored
8a5d88c
View commit details
Copy full SHA for 8a5d88c
View code at this point
Browse repository at this point
Commits on Aug 26, 2022
[DowngradePhp80/72] Handle DowngradeTrailingCommasInParamUseRector+DowngradeParameterTypeWideningRector (#2843)
Show description for a75e560
samsonasik
and
actions-user
authored
a75e560
View commit details
Copy full SHA for a75e560
View code at this point
Browse repository at this point
Commits on Jul 24, 2022
[CodeQuality][CodingStyle] Handle crash assert($subStartPos >= 0 && $subEndPos >= 0) on combination CodeQuality and CodingStyle rules (#2707)
Show description for 3f3fc41
3 people
authored
3f3fc41
View commit details
Copy full SHA for 3f3fc41
View code at this point
Browse repository at this point
Commits on Jul 16, 2022
[PHPStan] Reduce PHPStan errors for narrow public - take 1 (#2672)
Show description for ac94ddd
samsonasik
authored
ac94ddd
View commit details
Copy full SHA for ac94ddd
View code at this point
Browse repository at this point
Commits on Jul 15, 2022
[Core] Move check CREATED_BY_RULE attribute from AbstractRector into RectifiedAnalyzer (#2665)
Show description for 8a6b704
samsonasik
and
actions-user
authored
8a6b704
View commit details
Copy full SHA for 8a6b704
View code at this point
Browse repository at this point
Commits on Jul 14, 2022
static fixes (#2661)
TomasVotruba
authored
328c437
View commit details
Copy full SHA for 328c437
View code at this point
Browse repository at this point
Commits on Jun 19, 2022
[Core] Handle parent return/assign from FuncCall with No Scope (#2525)
samsonasik
authored
372e030
View commit details
Copy full SHA for 372e030
View code at this point
Browse repository at this point
Commits on Jun 17, 2022
rollback guard (#2524)
samsonasik
authored
9aec92a
View commit details
Copy full SHA for 9aec92a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.