Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Configuration/RectorConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,11 @@ public function withPhp74Sets(): self
// there is no withPhp80Sets() and above,
// as we already use PHP 8.0 and should go with withPhpSets() instead

/**
* @param bool $instanceOf @deprecated Use $codeQuality instead, as most instanceof rules were moved there
* @param bool $if @deprecated Use $codeQuality and $codingStyle instead, as the if rules were moved there or deprecated
* @param bool $earlyReturn @deprecated Use $codeQuality instead, as all early return rules were moved there
*/
public function withPreparedSets(
bool $deadCode = false,
bool $codeQuality = false,
Expand Down Expand Up @@ -788,6 +793,7 @@ public function withCache(

/**
* @param class-string $cacheMetaExtensionClass
* @deprecated Niche mechanism, no longer applied. Let Rector handle cache on its own.
*/
#[Deprecated(message: <<<'TXT'
Niche mechanism, no longer applied. Let Rector handle cache on its own. If custom
Expand Down
Loading