Skip to content

Commit d13bad5

Browse files
committed
cleanup stubs
1 parent d19b460 commit d13bad5

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

build/rector-downgrade-php.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33
declare(strict_types=1);
44

55
use Rector\Config\RectorConfig;
6-
use Rector\Removing\Rector\Class_\RemoveInterfacesRector;
7-
use Symplify\RuleDocGenerator\Contract\ConfigurableRuleInterface;
86

97
return RectorConfig::configure()
108
->withDowngradeSets(php74: true)
11-
->withConfiguredRule(RemoveInterfacesRector::class, [
12-
ConfigurableRuleInterface::class,
13-
])
14-
->withSkip(['*/Tests/*', '*/tests/*', __DIR__ . '/../../tests']);
9+
->withSkip(['*/Tests/*', '*/tests/*', __DIR__ . '/../tests']);

full-tool-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ composer install --ansi
77
composer update --no-dev --ansi
88

99
# remove tests and useless files, to make downgraded, scoped and deployed codebase as small as possible
10-
rm -rf tests
10+
rm -rf tests stubs
1111

1212
# downgrade with rector
1313
mkdir rector-local

0 commit comments

Comments
 (0)