diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index 473a1215bac..0cc9153467d 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -199,7 +199,7 @@ public function __invoke(RectorConfig $rectorConfig): void { // not to miss it by accident if ($this->isWithPhpSetsUsed === true) { - $this->sets[] = SetList::PHP_POLYFILLS; + $this->sets[] = __DIR__ . '/../../config/set/php-polyfills.php'; } if ($this->isPhpSetsVersionPicked && $this->pickedPhpSetsVersion !== null) { diff --git a/src/Set/ValueObject/SetList.php b/src/Set/ValueObject/SetList.php index 03a20d9e7ad..fb84378a815 100644 --- a/src/Set/ValueObject/SetList.php +++ b/src/Set/ValueObject/SetList.php @@ -6,11 +6,6 @@ final class SetList { - /** - * @internal - */ - public const string PHP_POLYFILLS = __DIR__ . '/../../../config/set/php-polyfills.php'; - public const string CODE_QUALITY = __DIR__ . '/../../../config/set/code-quality.php'; public const string CODING_STYLE = __DIR__ . '/../../../config/set/coding-style.php';