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
3
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
NodeTypeResolver
Node
AttributeKey.php
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 25, 2026
[Cleanup] Remove write-only CallLikeThisBoundClosureArgsNodeVisitor and its unread attribute (#8373)
TomasVotruba
authored
e8e1c7a
View commit details
Copy full SHA for e8e1c7a
View code at this point
Browse repository at this point
Commits on Aug 4, 2026
[Php81] Drop Symfony PHP closure check from ArrayToFirstClassCallableRector (#8291)
TomasVotruba
authored
d01c74f
View commit details
Copy full SHA for d01c74f
View code at this point
Browse repository at this point
[Php81] Skip ArrayToFirstClassCallableRector when the arg type does not accept a Closure (#8288)
TomasVotruba
authored
60130ec
View commit details
Copy full SHA for 60130ec
View code at this point
Browse repository at this point
Commits on Jun 30, 2026
[Php81] Skip ArrayToFirstClassCallableRector on serialized callable array keys and Definition::setFactory() (#8117)
TomasVotruba
authored
1ce7922
View commit details
Copy full SHA for 1ce7922
View code at this point
Browse repository at this point
Commits on Jun 24, 2026
[Php81] Skip as argument unpack on ArrayToFirstClassCallableRector (#8081)
Show description for 9a8110c
samsonasik
authored
9a8110c
View commit details
Copy full SHA for 9a8110c
View code at this point
Browse repository at this point
Commits on Apr 7, 2026
feat(printer): add per-node NEWLINE_ON_FLUENT_CALL attribute to BetterStandardPrinter (#7910)
Show description for 43ad95c
MrPunyapal
authored
43ad95c
View commit details
Copy full SHA for 43ad95c
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 Jan 15, 2026
[Php74] Skip closure in attribute on ClosureToArrowFunctionRector (#7834)
Show description for 26f7bc1
samsonasik
authored
26f7bc1
View commit details
Copy full SHA for 26f7bc1
View code at this point
Browse repository at this point
Commits on Dec 25, 2025
Static closure rule ignores arguments with $this binding (#7721)
Show description for 50f7984
peterfox
authored
50f7984
View commit details
Copy full SHA for 50f7984
View code at this point
Browse repository at this point
Commits on Dec 9, 2025
[Php81] Skip on Param default on ArrayToFirstClassCallableRector (#7749)
Show description for 8edca7d
samsonasik
authored
8edca7d
View commit details
Copy full SHA for 8edca7d
View code at this point
Browse repository at this point
Commits on Dec 8, 2025
Remove setAttribute() from Rector rules, where not suitable + add phpstan rule to help separate to DecoratingNodeVisitors (#7738)
Show description for 88d58c1
TomasVotruba
authored
88d58c1
View commit details
Copy full SHA for 88d58c1
View code at this point
Browse repository at this point
add is in try block attribute
TomasVotruba
committed
19a4c03
View commit details
Copy full SHA for 19a4c03
View code at this point
Browse repository at this point
[internal] rename FirstClassCallableRector to ArrayToFirstClassCallableRector to make behavior explicit (#7736)
Show description for e1d53b0
TomasVotruba
authored
e1d53b0
View commit details
Copy full SHA for e1d53b0
View code at this point
Browse repository at this point
Commits on Dec 7, 2025
Replace custom attributes with existing ones (#7732)
Show description for 3b46948
TomasVotruba
authored
3b46948
View commit details
Copy full SHA for 3b46948
View code at this point
Browse repository at this point
[cleanup] Add unused public, remove unused methods and ignore rest (#7733)
Show description for 6efa094
TomasVotruba
and
actions-user
authored
6efa094
View commit details
Copy full SHA for 6efa094
View code at this point
Browse repository at this point
Commits on Dec 4, 2025
depre
TomasVotruba
committed
147c266
View commit details
Copy full SHA for 147c266
View code at this point
Browse repository at this point
remove deprecated stmt key, remove deprecated rule
TomasVotruba
committed
352195b
View commit details
Copy full SHA for 352195b
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
[cleanup] cleanup ArrayDimFetchToMethodCallRector to use direct nodes (#7713)
TomasVotruba
authored
8f66e97
View commit details
Copy full SHA for 8f66e97
View code at this point
Browse repository at this point
Commits on Dec 2, 2025
add PhpVersionConditionNodeVisitor (#7709)
TomasVotruba
authored
7486ed5
View commit details
Copy full SHA for 7486ed5
View code at this point
Browse repository at this point
bump symplify phpstan rules to spot int return in refactor() (#7707)
Show description for 08246ce
TomasVotruba
authored
08246ce
View commit details
Copy full SHA for 08246ce
View code at this point
Browse repository at this point
Remove dont traverse int return from ChangeSwitchToMatchRector (#7705)
TomasVotruba
authored
a9246a9
View commit details
Copy full SHA for a9246a9
View code at this point
Browse repository at this point
Remove direct NodeTravser::* where possible, use node visitor attribute key instead (#7697)
Show description for 8cd3cc6
TomasVotruba
authored
8cd3cc6
View commit details
Copy full SHA for 8cd3cc6
View code at this point
Browse repository at this point
Commits on Dec 1, 2025
[cleanup] Make FirstClassCallableRector use attributes over node traverser hacks (#7696)
Show description for 3f60b07
TomasVotruba
authored
3f60b07
View commit details
Copy full SHA for 3f60b07
View code at this point
Browse repository at this point
Commits on Nov 25, 2025
[attribute] Remove unused AttributeKey::REPRINT_RAW_VALUE (#7664)
samsonasik
authored
16fc0c5
View commit details
Copy full SHA for 16fc0c5
View code at this point
Browse repository at this point
Commits on Nov 20, 2025
Deprecated STMT_KEY and remove its set attribute value (#7647)
samsonasik
authored
4dce718
View commit details
Copy full SHA for 4dce718
View code at this point
Browse repository at this point
Commits on Aug 28, 2025
[DeadCode] Fix merge comments on RemoveAlwaysTrueIfConditionRector (#7181)
samsonasik
authored
bbc390a
View commit details
Copy full SHA for bbc390a
View code at this point
Browse repository at this point
Commits on Jul 11, 2025
Update LNumber and DNumber to Int_ and Float_ (#7062)
samsonasik
authored
5079881
View commit details
Copy full SHA for 5079881
View code at this point
Browse repository at this point
Commits on Jan 5, 2025
[PHPStan ^2.1.1] Handle next unreachable statement via UnreachableStatementNode->getNextUnreachableStatements() (#6642)
Show description for 2e82ab4
samsonasik
and
actions-user
authored
2e82ab4
View commit details
Copy full SHA for 2e82ab4
View code at this point
Browse repository at this point
Commits on Nov 23, 2024
[NodeTypeResolver] Remove no longer FUNC_ARGS_TRAILING_COMMA constant (#6492)
samsonasik
authored
b98a0e1
View commit details
Copy full SHA for b98a0e1
View code at this point
Browse repository at this point
Commits on Nov 21, 2024
[TypeDeclaration] Skip mixed as on right of and on ParamTypeByMethodCallTypeRector (#6401)
Show description for 401210e
samsonasik
authored
401210e
View commit details
Copy full SHA for 401210e
View code at this point
Browse repository at this point
Commits on Nov 13, 2024
[TypeDeclaration] Skip test methods with exception in ReturnNeverTypeRector, [php74] Skip conditinal assign in RestoreDefaultNullToNullableTypePropertyRector as most likely desired to assign or fai…
Show description for 3ee5b72
TomasVotruba
authored
3ee5b72
View commit details
Copy full SHA for 3ee5b72
View code at this point
Browse repository at this point
Commits on Sep 27, 2024
[Php81] Allow used as assign expr on ReadOnlyPropertyRector (#6331)
Show description for e2d9647
samsonasik
authored
e2d9647
View commit details
Copy full SHA for e2d9647
View code at this point
Browse repository at this point
Commits on Aug 22, 2024
[AttributeKey] Drop statementDepth attribute (#6249)
samsonasik
authored
05f8323
View commit details
Copy full SHA for 05f8323
View code at this point
Browse repository at this point
[AttributeKey] Drop virtual_node attribute (#6239)
Show description for 4f89b74
samsonasik
authored
4f89b74
View commit details
Copy full SHA for 4f89b74
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.