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-phpunit
Public
Notifications
You must be signed in to change notification settings
Fork
72
Star
117
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
rector-phpunit
config
sets
phpunit-code-quality.php
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 31, 2026
Deprecate WillReturnCallbackFallbackToThrowRector (#740)
TomasVotruba
authored
ca978f2
View commit details
Copy full SHA for ca978f2
View code at this point
Browse repository at this point
Commits on Jul 13, 2026
[CodeQuality] Flip void-method with(callback) to willReturnCallback, rename rule (#724)
Show description for 7e13bfb
TomasVotruba
authored
7e13bfb
View commit details
Copy full SHA for 7e13bfb
View code at this point
Browse repository at this point
Commits on Jul 12, 2026
[CodeQuality] Add SimplerWithEqualToRector to collapse assertSame callback in with() to equalTo() matcher (#714)
Show description for 08758f4
TomasVotruba
authored
08758f4
View commit details
Copy full SHA for 08758f4
View code at this point
Browse repository at this point
Commits on Jul 11, 2026
[CodeQuality] Add RemoveReturnFromVoidMethodMockCallbackRector to type void mock callbacks and drop their value return (#711)
TomasVotruba
authored
c682804
View commit details
Copy full SHA for c682804
View code at this point
Browse repository at this point
[CodeQuality] Add WillReturnCallbackFallbackToThrowRector to throw on unexpected extra consecutive call (#710)
TomasVotruba
authored
44c5166
View commit details
Copy full SHA for 44c5166
View code at this point
Browse repository at this point
Commits on Jul 1, 2026
[CodeQuality] Add ChangeMockObjectReturnUnionToIntersectionRector (#703)
Show description for 879ea50
TomasVotruba
authored
879ea50
View commit details
Copy full SHA for 879ea50
View code at this point
Browse repository at this point
Commits on Jun 29, 2026
[CodeQuality] Add AddStubIntersectionVarToStubPropertyRector (#700)
Show description for 3f62270
TomasVotruba
authored
3f62270
View commit details
Copy full SHA for 3f62270
View code at this point
Browse repository at this point
[PHPUnit120] Add BareVarToStubIntersectionRector (#690)
Show description for 7d86878
TomasVotruba
authored
7d86878
View commit details
Copy full SHA for 7d86878
View code at this point
Browse repository at this point
[PHPUnit120] Add MockObjectVarToStubRector (#689)
Show description for a1dc81d
TomasVotruba
authored
a1dc81d
View commit details
Copy full SHA for a1dc81d
View code at this point
Browse repository at this point
Commits on Apr 2, 2026
[PHPunit 9] Move AssertRegExpRector to phpunit 90 set with refactor to use assertMatchesRegularExpression/assertDoesNotMatchRegularExpression (#667)
Show description for 389eeab
samsonasik
authored
389eeab
View commit details
Copy full SHA for 389eeab
View code at this point
Browse repository at this point
Commits on Feb 9, 2026
[code-quality] Add AddKeysExistsAssertForKeyUseRector (#657)
TomasVotruba
authored
18d0105
View commit details
Copy full SHA for 18d0105
View code at this point
Browse repository at this point
Commits on Feb 5, 2026
[phpunit 12] Add CreateStubInCoalesceArgRector (#650)
TomasVotruba
authored
7fefc96
View commit details
Copy full SHA for 7fefc96
View code at this point
Browse repository at this point
Commits on Feb 4, 2026
enable rule
TomasVotruba
committed
a791fc9
View commit details
Copy full SHA for a791fc9
View code at this point
Browse repository at this point
[code-quality] Add RemoveStandaloneCreateMockRector (#648)
Show description for 5617724
TomasVotruba
authored
5617724
View commit details
Copy full SHA for 5617724
View code at this point
Browse repository at this point
[code-quality] Add RemoveNeverUsedMockPropertyRector (#644)
TomasVotruba
authored
2f2e3df
View commit details
Copy full SHA for 2f2e3df
View code at this point
Browse repository at this point
Commits on Feb 3, 2026
[code-quality] Add InlineStubPropertyToCreateStubMethodCallRector (#636)
TomasVotruba
authored
3ff0139
View commit details
Copy full SHA for 3ff0139
View code at this point
Browse repository at this point
[phpunit 12] Add PropertyCreateMockToCreateStubRector (#634)
TomasVotruba
authored
ba38a2c
View commit details
Copy full SHA for ba38a2c
View code at this point
Browse repository at this point
add variable support to CreateStubOverCreateMockArgRector (#633)
TomasVotruba
authored
9f5f19d
View commit details
Copy full SHA for 9f5f19d
View code at this point
Browse repository at this point
Commits on Feb 2, 2026
[code-quality] Add ConfiguredMockEntityToSetterObjectRector (#629)
TomasVotruba
authored
edebbb1
View commit details
Copy full SHA for edebbb1
View code at this point
Browse repository at this point
Commits on Jan 26, 2026
[code-quality] Add NoSetupWithParentCallOverrideRector (#617)
TomasVotruba
authored
9a2221b
View commit details
Copy full SHA for 9a2221b
View code at this point
Browse repository at this point
[code-quality] Add BareCreateMockAssignToDirectUseRector (#611)
TomasVotruba
authored
7a318b2
View commit details
Copy full SHA for 7a318b2
View code at this point
Browse repository at this point
[code-quality] Add DirectInstanceOverMockArgRector (#609)
Show description for 6bc82f2
TomasVotruba
authored
6bc82f2
View commit details
Copy full SHA for 6bc82f2
View code at this point
Browse repository at this point
Commits on Dec 9, 2025
[code-quality] Add AddInstanceofAssertForNullableArgumentRector (#601)
Show description for fe23a4d
TomasVotruba
and
actions-user
authored
fe23a4d
View commit details
Copy full SHA for fe23a4d
View code at this point
Browse repository at this point
Commits on Nov 15, 2025
[depre] Deprecate AssertPropertyExistsRector as method was removed in PHPUnit 10 (#585)
TomasVotruba
authored
ba04936
View commit details
Copy full SHA for ba04936
View code at this point
Browse repository at this point
Commits on Nov 14, 2025
[depre] Deprecate RemoveDataProviderParamKeysRector as the keys can be useful to improve test readability (#584)
Show description for 1320fc5
MacDada
authored
1320fc5
View commit details
Copy full SHA for 1320fc5
View code at this point
Browse repository at this point
Commits on Nov 1, 2025
[code-quality] Add SimplerWithIsInstanceOfRector (#577)
Show description for ce0d4e5
TomasVotruba
and
actions-user
authored
ce0d4e5
View commit details
Copy full SHA for ce0d4e5
View code at this point
Browse repository at this point
Commits on Oct 31, 2025
[code-quality] Add MergeWithCallableAndWillReturnRector (#573)
TomasVotruba
authored
8488dcc
View commit details
Copy full SHA for 8488dcc
View code at this point
Browse repository at this point
Commits on Oct 30, 2025
[code-quality] Add WithCallbackIdenticalToStandaloneAssertsRector (#568)
TomasVotruba
authored
7770d83
View commit details
Copy full SHA for 7770d83
View code at this point
Browse repository at this point
Commits on Oct 28, 2025
[depre] Deprecate SetUpBeforeClassToSetUpRector as can break code easily (#567)
TomasVotruba
authored
6960a96
View commit details
Copy full SHA for 6960a96
View code at this point
Browse repository at this point
Commits on Oct 26, 2025
[code-quality] Add DeclareStrictTypesTestsRector to code-quality test (#566)
Show description for 9a50a43
TomasVotruba
authored
9a50a43
View commit details
Copy full SHA for 9a50a43
View code at this point
Browse repository at this point
Commits on Oct 24, 2025
add SetUpBeforeClassToSetUpRector to code-quality set
TomasVotruba
committed
214103e
View commit details
Copy full SHA for 214103e
View code at this point
Browse repository at this point
Commits on Oct 23, 2025
register ReplaceAtMethodWithDesiredMatcherRector to code-quality (#563)
Show description for 3b54ca1
TomasVotruba
authored
3b54ca1
View commit details
Copy full SHA for 3b54ca1
View code at this point
Browse repository at this point
register EntityDocumentCreateMockToDirectNewRector to code-quality set
TomasVotruba
committed
aa18e4c
View commit details
Copy full SHA for aa18e4c
View code at this point
Browse repository at this point
Commits on Oct 22, 2025
register AssertFuncCallToPHPUnitAssertRector in code-quality set
TomasVotruba
committed
761945f
View commit details
Copy full SHA for 761945f
View code at this point
Browse repository at this point
[code-quality] Add AssertArrayCastedObjectToAssertSameRector (#559)
Show description for a98977a
TomasVotruba
authored
a98977a
View commit details
Copy full SHA for a98977a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.