From 255161870edc4a8bd94630863256caae38ca3bcd Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 13 Jun 2023 21:16:53 +0200 Subject: [PATCH] misc --- scoper.php | 2 +- utils/Command/OutsideAnySetCommand.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scoper.php b/scoper.php index 9885cff9162..3de80078233 100644 --- a/scoper.php +++ b/scoper.php @@ -82,7 +82,7 @@ static function (string $filePath, string $prefix, string $content): string { return $content; } - $content = str_replace('\'53\'', "'72'", $content); + $content = str_replace("'53'", "'72'", $content); return str_replace(', 44,', ', 63, ', $content); }, diff --git a/utils/Command/OutsideAnySetCommand.php b/utils/Command/OutsideAnySetCommand.php index b393303b34e..d505fd1eb2e 100644 --- a/utils/Command/OutsideAnySetCommand.php +++ b/utils/Command/OutsideAnySetCommand.php @@ -38,6 +38,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int sort($rectorClassesOutsideAnySet); $this->symfonyStyle->listing($rectorClassesOutsideAnySet); + $this->symfonyStyle->warning(sprintf('%d rules is outside any set', count($rectorClassesOutsideAnySet))); return self::SUCCESS; }