Skip to content

Commit

Permalink
remove defaults() BC method, as already covered in services() (#4802)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 17, 2023
1 parent 58c67ff commit 81caf1e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/Config/RectorConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,6 @@ public function services(): void
);
}

/**
* @api deprecated, just for BC layer warning
*/
public function defaults(): void
{
trigger_error('The defaults() method is deprecated. You can remove it.', E_USER_ERROR);
}

private function isRuleNoLongerExists(mixed $skipRule): bool
{
return // only validate string
Expand Down

0 comments on commit 81caf1e

Please sign in to comment.