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
Config
Level
TypeDeclarationLevel.php
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 29, 2026
[dx] Deprecate SetList::INSTANCEOF, move rules into code-quality and type-declaration sets (#8408)
TomasVotruba
authored
ac496d5
View commit details
Copy full SHA for ac496d5
View code at this point
Browse repository at this point
Commits on Jul 8, 2026
[TypeDeclaration] Add PrivateMethodReturnTypeFromStrictNewArrayRector, split private methods out (#8153)
Show description for 30f9d4f
TomasVotruba
authored
30f9d4f
View commit details
Copy full SHA for 30f9d4f
View code at this point
Browse repository at this point
Commits on Jul 5, 2026
[TypeDeclaration] Add ReturnTypeFromGetRepositoryDocblockRector (#8146)
Show description for 9ca6fae
TomasVotruba
authored
9ca6fae
View commit details
Copy full SHA for 9ca6fae
View code at this point
Browse repository at this point
Commits on Jul 4, 2026
[TypeDeclaration] Add AddClosureParamTypeFromVariableCallRector (#8142)
Show description for eb3eb21
TomasVotruba
authored
eb3eb21
View commit details
Copy full SHA for eb3eb21
View code at this point
Browse repository at this point
Commits on Jul 1, 2026
[TypeDeclaration] Split ParamTypeByMethodCallTypeRector into Object, Scalar and Array rules (#8134)
Show description for 6b50c34
TomasVotruba
authored
6b50c34
View commit details
Copy full SHA for 6b50c34
View code at this point
Browse repository at this point
Commits on Jun 30, 2026
[TypeDeclaration] Add TypedPropertyFromGetRepositorySetUpRector (#8124)
TomasVotruba
authored
3680b8e
View commit details
Copy full SHA for 3680b8e
View code at this point
Browse repository at this point
[TypeDeclaration] Add TypedPropertyFromContainerGetSetUpRector (#8120)
TomasVotruba
authored
fad4926
View commit details
Copy full SHA for fad4926
View code at this point
Browse repository at this point
Commits on Jun 29, 2026
[TypeDeclaration] Add ClosureReturnTypeFromAssertInstanceOfRector (#8115)
TomasVotruba
authored
ef1594b
View commit details
Copy full SHA for ef1594b
View code at this point
Browse repository at this point
Commits on Jun 27, 2026
[TypeDeclaration] Deprecate StrictStringParamConcatRector as producing too many false positives (#8090)
TomasVotruba
authored
6dcc126
View commit details
Copy full SHA for 6dcc126
View code at this point
Browse repository at this point
Commits on Jun 19, 2026
[php 8.4] [type-declaration] Add AddArrayAnyAllClosureParamTypeRector and NarrowArrayAnyAllNullableParamTypeRector (#8049)
TomasVotruba
authored
f159245
View commit details
Copy full SHA for f159245
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 9, 2025
[TypeDeclaration] Register NarrowObjectReturnTypeRector to type declaration set (#7615)
samsonasik
authored
df4f9b6
View commit details
Copy full SHA for df4f9b6
View code at this point
Browse repository at this point
Commits on Oct 28, 2025
split TypedPropertyFromJMSSerializerAttributeTypeRector to scalar and object types (#7602)
TomasVotruba
authored
c010b02
View commit details
Copy full SHA for c010b02
View code at this point
Browse repository at this point
[type-declarations] Add TypedStaticPropertyInBehatContextRector (#7596)
TomasVotruba
authored
77a3e75
View commit details
Copy full SHA for 77a3e75
View code at this point
Browse repository at this point
Commits on Oct 27, 2025
[type-declaration] Add ReturnIteratorInDataProviderRector (#7593)
TomasVotruba
authored
8654b74
View commit details
Copy full SHA for 8654b74
View code at this point
Browse repository at this point
Commits on Oct 24, 2025
register AddClosureParamTypeFromIterableMethodCallRector to type declaration set
TomasVotruba
committed
4d78f41
View commit details
Copy full SHA for 4d78f41
View code at this point
Browse repository at this point
Commits on Oct 22, 2025
register AddClosureParamTypeForArrayReduceRector to type declaration level
TomasVotruba
committed
38ecb98
View commit details
Copy full SHA for 38ecb98
View code at this point
Browse repository at this point
register AddClosureParamTypeForArrayMapRector in type declaration level
TomasVotruba
committed
68bb0cc
View commit details
Copy full SHA for 68bb0cc
View code at this point
Browse repository at this point
Commits on Oct 11, 2025
[type-declaration] Add AddParamStringTypeFromSprintfUseRector (#7477)
Show description for e7381c2
TomasVotruba
authored
e7381c2
View commit details
Copy full SHA for e7381c2
View code at this point
Browse repository at this point
Commits on Oct 4, 2025
[type-declaration] Add AddParamFromDimFetchKeyUseRector (#7424)
TomasVotruba
authored
d52149d
View commit details
Copy full SHA for d52149d
View code at this point
Browse repository at this point
[type-declarations] Add KnownMagicClassMethodTypeRector (#7419)
TomasVotruba
authored
03c4cbd
View commit details
Copy full SHA for 03c4cbd
View code at this point
Browse repository at this point
Commits on Oct 1, 2025
[type-declarations] Open isset check in StrictArrayParamDimFetchRectorTest, move to last position in type-declaration level (#7388)
TomasVotruba
authored
7a73e88
View commit details
Copy full SHA for 7a73e88
View code at this point
Browse repository at this point
Commits on Sep 11, 2025
move 2 docblock rules to type-declaration-docblock set (#7246)
TomasVotruba
authored
1cdf511
View commit details
Copy full SHA for 1cdf511
View code at this point
Browse repository at this point
Commits on Aug 22, 2025
[TypeDeclaration] Register AddReturnDocblockForScalarArrayFromAssignsRector to type declaration set (#7166)
samsonasik
authored
529c84f
View commit details
Copy full SHA for 529c84f
View code at this point
Browse repository at this point
Commits on Aug 11, 2025
[type-declarations] Add TypedPropertyFromDocblockSetUpDefinedRector (#7135)
Show description for e298639
TomasVotruba
authored
e298639
View commit details
Copy full SHA for e298639
View code at this point
Browse repository at this point
Commits on Aug 6, 2025
[type-declaration] Add AddArrayFilterClosureParamTypeRector (#7111)
Show description for ab5fdc5
TomasVotruba
and
actions-user
authored
ab5fdc5
View commit details
Copy full SHA for ab5fdc5
View code at this point
Browse repository at this point
Commits on Jul 30, 2025
[type-declaration] Add AddReturnTypeFromTryCatchTypeRector (#7099)
Show description for dc34f6c
TomasVotruba
authored
dc34f6c
View commit details
Copy full SHA for dc34f6c
View code at this point
Browse repository at this point
Commits on Apr 2, 2025
[type-declaration] Add AddClosureParamArrayWhereDimFetchRector (#6815)
Show description for c6b7d4d
TomasVotruba
authored
c6b7d4d
View commit details
Copy full SHA for c6b7d4d
View code at this point
Browse repository at this point
Commits on Feb 10, 2025
[TypeDeclaration] Unregister AddClosureParamTypeForArrayMapRector and AddClosureParamTypeForArrayReduceRector due to may read from docblock (#6727)
Show description for 1018010
samsonasik
and
actions-user
authored
1018010
View commit details
Copy full SHA for 1018010
View code at this point
Browse repository at this point
Commits on Feb 9, 2025
Type hint array reduce closure (#6725)
Show description for 3b14af2
peterfox
authored
3b14af2
View commit details
Copy full SHA for 3b14af2
View code at this point
Browse repository at this point
Commits on Jul 30, 2024
Use instanceof check (#6200)
TomasVotruba
authored
ed6b912
View commit details
Copy full SHA for ed6b912
View code at this point
Browse repository at this point
Commits on Jul 23, 2024
[TypeDeclaration] Add TypedPropertyFromCreateMockAssignRector (#6177)
Show description for 417b208
TomasVotruba
and
actions-user
authored
417b208
View commit details
Copy full SHA for 417b208
View code at this point
Browse repository at this point
Commits on Jul 21, 2024
[TypeDeclaration] Flip position between bool return and return tyep from strict constant on TypeDeclarationLevel (#6168)
samsonasik
authored
1f7cc28
View commit details
Copy full SHA for 1f7cc28
View code at this point
Browse repository at this point
[TypeDeclaration] Add ReturnTypeFromMockObjectRector (#6166)
TomasVotruba
authored
5eb07c4
View commit details
Copy full SHA for 5eb07c4
View code at this point
Browse repository at this point
Commits on Jul 3, 2024
Deprecate BoolReturnTypeFromStrictScalarReturnsRector, use BoolReturnTypeFromBooleanStrictReturnsRector instead (#6115)
Show description for 5fe7f4e
TomasVotruba
authored
5fe7f4e
View commit details
Copy full SHA for 5fe7f4e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.