Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 0 additions & 9 deletions config/set/naming.php

This file was deleted.

6 changes: 0 additions & 6 deletions phpstan-deprecated.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ parameters:
-
message: '#deprecated (class|interface) Rector\\(Set|Bridge)\\#'
path: src/Configuration/RectorConfigBuilder.php

# EARLY_RETURN set is deprecated (empty, merged into code-quality), still mapped internally until removed
-
identifier: classConstant.deprecated
paths:
- src/Configuration/RectorConfigBuilder.php
3 changes: 1 addition & 2 deletions src/Configuration/RectorConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ public function withPhpSets(
// as we already use PHP 8.0 and should go with withPhpSets() instead

/**
* @param bool $naming @deprecated The naming set often causes conflicting variable and param names; use a coding standard tool instead
* @param bool $naming @deprecated No longer applied. The naming set often causes conflicting variable and param names; use a coding standard tool instead
* @param bool $instanceOf @deprecated No longer applied, use $codeQuality instead, as most instanceof rules were moved there
* @param bool $if @deprecated No longer applied, use $codeQuality and $codingStyle instead, as the if rules were moved there or deprecated
* @param bool $earlyReturn @deprecated No longer applied, use $codeQuality instead, as all early return rules were moved there
Expand Down Expand Up @@ -653,7 +653,6 @@ public function withPreparedSets(
SetList::TYPE_DECLARATION => $typeDeclarations,
SetList::TYPE_DECLARATION_DOCBLOCKS => $typeDeclarationDocblocks,
SetList::PRIVATIZATION => $privatization,
SetList::NAMING => $naming,
SetList::NAMED_ARGS => $namedArgs,
SetList::CARBON => $carbon,
SetList::RECTOR_PRESET => $rectorPreset,
Expand Down
5 changes: 0 additions & 5 deletions src/Set/ValueObject/SetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ final class SetList

public const string DEAD_CODE = __DIR__ . '/../../../config/set/dead-code.php';

/**
* @deprecated Niche set for a rarely used extension, it is empty now and will be removed.
*/
public const string NAMING = __DIR__ . '/../../../config/set/naming.php';

public const string NAMED_ARGS = __DIR__ . '/../../../config/set/named-args.php';

/**
Expand Down
Loading