GitHub / rectorphp/rector-phpunit issues and pull requests
#504 - Update to use ArrayItem under Node
Pull Request -
State: closed - Opened by samsonasik 19 days ago
#503 - Rector is adding `CoversMethod` attributes, even on PHPUnit 10.x
Issue -
State: closed - Opened by staabm 20 days ago
- 3 comments
#502 - feat: make AddCoversClassAttributeRector configurable
Pull Request -
State: closed - Opened by canvural 24 days ago
- 1 comment
#501 - Support PHPUnit 12 in composer based set
Pull Request -
State: closed - Opened by alleknalle 27 days ago
- 1 comment
#500 - [Attribute] Handle comment below @dataProvider doc on DataProviderAnnotationToAttributeRector
Pull Request -
State: closed - Opened by samsonasik 28 days ago
- 2 comments
#499 - `DataProviderAnnotationToAttributeRector` breaks PHPDoc
Issue -
State: closed - Opened by cs278 28 days ago
- 8 comments
#498 - [code-quality] Add StringCastAssertStringContainsStringRector
Pull Request -
State: closed - Opened by TomasVotruba about 1 month ago
#497 - [code-quality] Add additional non-static methods to NonAssertNonStaticMethods
Pull Request -
State: closed - Opened by philiprabbett 2 months ago
- 1 comment
#496 - [CodeQuality] Skip in static arrow function on PreferPHPUnitThisCallRector
Pull Request -
State: closed - Opened by samsonasik 2 months ago
- 2 comments
#495 - Update to use ramsey/composer-install@v2
Pull Request -
State: closed - Opened by samsonasik 2 months ago
#494 - Only remove @covers when target exists
Pull Request -
State: closed - Opened by samsonasik 2 months ago
- 6 comments
#493 - PHPUnit 10/11 Only set attribute when target attribute class exists on CoversAnnotationWithValueToAttributeRector
Pull Request -
State: closed - Opened by samsonasik 2 months ago
- 2 comments
#492 - [AnnotationsToAttributes] Apply to class level on @uses on AnnotationWithValueToAttributeRector
Pull Request -
State: closed - Opened by samsonasik 2 months ago
- 3 comments
#491 - [PHPUnit 12] Add RemoveOverrideFinalConstructTestCaseRector
Pull Request -
State: closed - Opened by samsonasik 2 months ago
- 3 comments
#490 - [PHPUnit 10] Drop ParentTestClassConstructorRector
Pull Request -
State: closed - Opened by samsonasik 2 months ago
- 6 comments
#489 - [CodeQuality] Skip with if else condition result on AddInstanceofAssertForNullableInstanceRector
Pull Request -
State: closed - Opened by samsonasik 2 months ago
- 1 comment
#488 - Directly use isName(s) and getName() on rector rules
Pull Request -
State: closed - Opened by samsonasik 3 months ago
#487 - CoversAnnotationWithValueToAttribute: Full namespaces instead of `use` statements
Issue -
State: closed - Opened by distantnative 3 months ago
- 2 comments
#486 - Detect Test Attribute in TestsNodeAnalyzer::isTestClassMethod
Pull Request -
State: closed - Opened by Levivb 3 months ago
- 10 comments
#485 - [code-quality] Skip ctor to setup in ConstructClassMethodToSetUpTestCaseRector for non-test classes, e.g. helpers
Pull Request -
State: closed - Opened by TomasVotruba 3 months ago
#484 - [phpunit 10] Add ParentTestClassConstructorRector
Pull Request -
State: closed - Opened by TomasVotruba 3 months ago
- 4 comments
#483 - [depre] Remove deprecated AssertCountWithZeroToAssertEmptyRector
Pull Request -
State: closed - Opened by TomasVotruba 3 months ago
#482 - Ensure that rule PreferPHPUnitSelfCall refactor call only for static methods, not any
Pull Request -
State: closed - Opened by andrew-demb 3 months ago
- 2 comments
#481 - [tests] add test fixture for double instanceof check
Pull Request -
State: closed - Opened by TomasVotruba 3 months ago
#480 - [PhpUnit] Skip different object on PreferPHPUnit(This/Self)CallRector
Pull Request -
State: closed - Opened by samsonasik 3 months ago
- 5 comments
#479 - [code-quality] Add TypeWillReturnCallableArrowFunctionRector
Pull Request -
State: closed - Opened by TomasVotruba 3 months ago
#478 - Tidy up
Pull Request -
State: closed - Opened by TomasVotruba 3 months ago
#477 - [code-quality] add exception support to PreferPHPUnitThisCallRector
Pull Request -
State: closed - Opened by TomasVotruba 3 months ago
#476 - Readme improvements
Issue -
State: closed - Opened by williamdes 3 months ago
- 1 comment
#475 - [PHPUnit100] Skip already key = null on RemoveNamedArgsInDataProviderRector
Pull Request -
State: closed - Opened by samsonasik 4 months ago
#473 - add test fixture
Pull Request -
State: closed - Opened by TomasVotruba 4 months ago
- 2 comments
#472 - Fix RemoveNamedArgsInDataProviderRector so that it is not applied if no change is made
Pull Request -
State: closed - Opened by carlos-granados 4 months ago
- 1 comment
#471 - [CodeQuality] fix assertInstanceOf casing
Pull Request -
State: closed - Opened by staabm 4 months ago
- 1 comment
#470 - [CodeQuality] Handle crash on multiple assert cause undefined variable on AddInstanceofAssertForNullableInstanceRector
Pull Request -
State: closed - Opened by samsonasik 4 months ago
- 2 comments
#469 - [code-quality] Add RemoveDataProviderParamKeysRector
Pull Request -
State: closed - Opened by TomasVotruba 4 months ago
- 3 comments
#468 - [deprecated] Remove deprecated AssertCompareToSpecificMethodRector
Pull Request -
State: closed - Opened by TomasVotruba 4 months ago
#467 - [deprecated] Deprecate AssertCountWithZeroToAssertEmptyRector to improve test readability with more explicit methods
Pull Request -
State: closed - Opened by TomasVotruba 4 months ago
#466 - [CodeQuality] Add AddInstanceofAssertForNullableInstanceRector
Pull Request -
State: closed - Opened by TomasVotruba 5 months ago
- 2 comments
#465 - Bump to phpstan ^2.1.8
Pull Request -
State: closed - Opened by samsonasik 5 months ago
#464 - Change deprecated ClassReflection::isSubClassOf() to ClassReflection::is() for PHPStan ^2.1.8
Pull Request -
State: closed - Opened by samsonasik 5 months ago
#463 - [PHPUnit] Handle mix AssertCountWithZeroToAssertEmptyRector + AssertEmptyNullableObjectToAssertInstanceofRector cause invalid assertNotInstanceof()
Pull Request -
State: closed - Opened by samsonasik 5 months ago
- 2 comments
#462 - [Attribute] Fix typo RequiresExtension -> RequiresPhpExtension on RequiresAnnotationWithValueToAttributeRector
Pull Request -
State: closed - Opened by samsonasik 5 months ago
- 2 comments
#461 - add custom message support to AssertEmptyNullableObjectToAssertInstanceofRector
Pull Request -
State: closed - Opened by TomasVotruba 5 months ago
#460 - [Attribute] Add CoversTrait support on CoversAnnotationWithValueToAttributeRector
Pull Request -
State: closed - Opened by samsonasik 5 months ago
- 2 comments
#459 - [CodeQuality] Skip union type on AssertCountWithZeroToAssertEmptyRector
Pull Request -
State: closed - Opened by samsonasik 6 months ago
- 2 comments
#458 - AssertCountWithZeroToAssertEmptyRector rule false positives
Issue -
State: closed - Opened by fbuchlak 6 months ago
#457 - AddCoversClassAttributeRector with Tests & Unit or Functional subnamespaces
Issue -
State: closed - Opened by kochen 6 months ago
- 1 comment
#456 - Adds AssertCountWithZeroToAssertEmptyRector rule
Pull Request -
State: closed - Opened by peterfox 6 months ago
- 6 comments
#455 - [PHPUnit90] Ensure return node on has changed on ReplaceAtMethodWithDesiredMatcherRector
Pull Request -
State: closed - Opened by samsonasik 6 months ago
- 2 comments
#454 - Add the new ReplaceAtMethodWithDesiredMatcherRector rule
Pull Request -
State: closed - Opened by hans-thomas 6 months ago
- 1 comment
#453 - add test case for static assert true str_contains
Pull Request -
State: closed - Opened by TomasVotruba 6 months ago
#452 - [CodeQuality] Cover assertNotNull() in AssertEmptyNullableObjectToAssertInstanceofRector
Pull Request -
State: closed - Opened by TomasVotruba 6 months ago
#451 - [AnnotationsToAttributes] Fix @covers qualified::method conversion
Pull Request -
State: closed - Opened by andrewnicols 6 months ago
- 8 comments
#450 - [CodeQuality] Add AssertFuncCallToPHPUnitAssertRector
Pull Request -
State: closed - Opened by TomasVotruba 6 months ago
#449 - Allow removal of Annotations to be configured
Issue -
State: closed - Opened by andrewnicols 6 months ago
- 2 comments
#448 - Add non-testcase assert call in FlipAssertRector
Pull Request -
State: closed - Opened by TomasVotruba 6 months ago
- 1 comment
#447 - Add str_contains() support to AssertTrueFalseToSpecificMethodRector
Pull Request -
State: closed - Opened by TomasVotruba 6 months ago
#446 - Add non-testcase assert call in FlipAssertRector
Pull Request -
State: closed - Opened by TomasVotruba 6 months ago
#445 - include assert not same not equals
Pull Request -
State: closed - Opened by TomasVotruba 6 months ago
#444 - Add contains string to FlipAssertRector
Pull Request -
State: closed - Opened by TomasVotruba 6 months ago
#443 - [PHPUnit 10] Register PropertyExistsWithoutAssertRector to phpunit100.php
Pull Request -
State: closed - Opened by samsonasik 6 months ago
#442 - [AnnotationsToAttributes] Add @requires translation to attributes (#441)
Pull Request -
State: closed - Opened by andrewnicols 7 months ago
- 7 comments
#441 - AnnotationsToAttributes does not support conversion of `@requires`
Issue -
State: closed - Opened by andrewnicols 7 months ago
#440 - Added testcase to demonstrate rector#8977
Pull Request -
State: closed - Opened by andrewnicols 7 months ago
- 5 comments
#439 - Rector doesn't support PHPUnit 9.3 deprecation at() matcher
Issue -
State: closed - Opened by 66Ton99 7 months ago
- 7 comments
#438 - [PHPUnit10] Replace deleted PHPUnit methods
Pull Request -
State: closed - Opened by 66Ton99 7 months ago
- 4 comments
#437 - Removed named args in data provides
Pull Request -
State: closed - Opened by hans-thomas 7 months ago
- 2 comments
#436 - [CodeQuality] Skip loose comparison on assertNotEquals as well on AssertEqualsToSameRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
#435 - [CodeQuality] Skip loose compare string on AssertEqualsToSameRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
#434 - [CodeQuality] Skip compare NeverType on AssertEqualsToSameRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
#433 - [CodeQuality] Skip compare to mixed on AssertEqualsToSameRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
#432 - [CodeQuality] Skip compare string to Stringable object on AssertEqualsToSameRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
#431 - [CodeQuality] Skip loose compare nullable float/integer on AssertEqualsToSameRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
#430 - [CodeQuality] Skip loose compare float vs integer on AssertEqualsToSameRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
- 2 comments
#429 - [PHPUnit 10] Named data provider args are deprecated
Issue -
State: closed - Opened by TomasVotruba 7 months ago
- 1 comment
#428 - Deprecate AssertCompareToSpecificMethodRector, as handled better by split rules of code quality set
Pull Request -
State: closed - Opened by TomasVotruba 7 months ago
#427 - Remove AssertCompareToSpecificMethodRector from CodeQuality set
Pull Request -
State: closed - Opened by VincentLanglet 7 months ago
- 1 comment
#426 - Improve AssertInstanceOfComparisonRector
Pull Request -
State: closed - Opened by VincentLanglet 7 months ago
- 2 comments
#425 - Introduce AssertClassNameComparisonToInstanceOfRector
Pull Request -
State: closed - Opened by VincentLanglet 7 months ago
- 2 comments
#424 - Improve AssertCompareOnCountableWithMethodToAssertCountRector
Pull Request -
State: closed - Opened by VincentLanglet 7 months ago
- 1 comment
#423 - [AssertCompareToSpecificMethodRector ] Remove inversion of parameters in Assert calls
Pull Request -
State: closed - Opened by VincentLanglet 7 months ago
- 3 comments
#422 - [CodeQuality] Allow dynamic bool on AssertEqualsToSameRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
- 4 comments
#421 - Revert "Add fixture for numeric string to keep as is on TestWithAnnotationToAttributeRector"
Pull Request -
State: closed - Opened by samsonasik 7 months ago
#420 - Add fixture for numeric string to keep as is on TestWithAnnotationToAttributeRector
Pull Request -
State: closed - Opened by samsonasik 7 months ago
#419 - Question: what the reason for existing SingleMockPropertyTypeRector?
Issue -
State: closed - Opened by andrew-demb 8 months ago
- 4 comments
#418 - [PHPUnit] Support list in YieldDataProviderRector
Pull Request -
State: closed - Opened by staabm 8 months ago
- 3 comments
#417 - [Phpunit] Avoid reprint doc for remove/replace when no @return tag on YieldDataProviderRector
Pull Request -
State: closed - Opened by samsonasik 8 months ago
#416 - [PHPUnit] Add missing DocblockUpdater usage on YieldDataProviderRector when removing @return doc
Pull Request -
State: closed - Opened by samsonasik 8 months ago
#415 - [PHPUnit] Change @return array<> to @return Iterator<> on YieldDataProviderRector
Pull Request -
State: closed - Opened by samsonasik 8 months ago
- 2 comments
#414 - YieldDataProviderRector: added failling test
Pull Request -
State: closed - Opened by staabm 8 months ago
- 3 comments
#413 - PreferPHPUnitThisCallRector vs. PHPStan Strict Rules
Issue -
State: closed - Opened by staabm 8 months ago
- 1 comment
#412 - Bump to PHPUnit 11
Pull Request -
State: closed - Opened by samsonasik 8 months ago
#411 - [attributes] Add check that attribute class exists, to avoid upgrading early
Pull Request -
State: closed - Opened by TomasVotruba 8 months ago
#410 - Use rector-src:dev-main
Pull Request -
State: closed - Opened by samsonasik 8 months ago
- 1 comment
#409 - tv data attribute check
Pull Request -
State: closed - Opened by TomasVotruba 8 months ago
- 1 comment
#408 - Use rector-src#dev-upgrade-to-php-parser5-and-phpstan-2
Pull Request -
State: closed - Opened by samsonasik 8 months ago
- 2 comments
#407 - [CodeQuality] Handle createMock as well in PreferPHPUnitThisCallRector
Pull Request -
State: closed - Opened by TomasVotruba 8 months ago
#406 - [fix] Keep original message in AssertEqualsOrAssertSameFloatParameterToSpecificMethodsTypeRector
Pull Request -
State: closed - Opened by TomasVotruba 9 months ago
#405 - [PHPUnit 10] Remove AssertIssetToAssertObjectHasPropertyRector
Pull Request -
State: closed - Opened by samsonasik 9 months ago
- 2 comments
#404 - [CodeQuality] Skip possible data provider method called and used as array on YieldDataProviderRector
Pull Request -
State: closed - Opened by samsonasik 9 months ago
- 2 comments