Skip to content

Commit 0e269a0

Browse files
authored
[Config] Add phpunitNarrowAsserts and phpunitMockToStub to withPreparedSets() (#8178)
* [Console] Support "-v" as alias for "--version" * [Config] Add phpunitNarrowAsserts and phpunitMockToStub to withPreparedSets()
1 parent cc1a748 commit 0e269a0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/Configuration/RectorConfigBuilder.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,8 @@ public function withPreparedSets(
797797
bool $carbon = false,
798798
bool $rectorPreset = false,
799799
bool $phpunitCodeQuality = false,
800+
bool $phpunitNarrowAsserts = false,
801+
bool $phpunitMockToStub = false,
800802
bool $doctrineCodeQuality = false,
801803
bool $symfonyCodeQuality = false,
802804
bool $symfonyConfigs = false,
@@ -824,6 +826,8 @@ public function withPreparedSets(
824826
SetList::CARBON => $carbon,
825827
SetList::RECTOR_PRESET => $rectorPreset,
826828
PHPUnitSetList::PHPUNIT_CODE_QUALITY => $phpunitCodeQuality,
829+
PHPUnitSetList::PHPUNIT_NARROW_ASSERTS => $phpunitNarrowAsserts,
830+
PHPUnitSetList::PHPUNIT_MOCK_TO_STUB => $phpunitMockToStub,
827831
DoctrineSetList::DOCTRINE_CODE_QUALITY => $doctrineCodeQuality,
828832
SymfonySetList::SYMFONY_CODE_QUALITY => $symfonyCodeQuality,
829833
SymfonySetList::CONFIGS => $symfonyConfigs,

0 commit comments

Comments
 (0)