From 50843fac284b7e540281b94eaf9ecbf898525a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 5 Nov 2023 19:51:42 +0100 Subject: [PATCH] build: Remove non-existent ignored files (#900) --- .gitignore | 10 +++------- .php-cs-fixer.dist.php | 3 --- build/.gitignore | 2 ++ build/.gitkeep | 0 fixtures/set028-symfony/expected-output | 1 - fixtures/set030/expected-output | 2 -- rector.php | 3 --- 7 files changed, 5 insertions(+), 16 deletions(-) create mode 100644 build/.gitignore delete mode 100644 build/.gitkeep delete mode 100644 fixtures/set028-symfony/expected-output delete mode 100644 fixtures/set030/expected-output diff --git a/.gitignore b/.gitignore index 8ef49bf69..b8b62a56c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,11 @@ -!/bin/check-composer-root-version.php -!/bin/infection.sh -!/bin/php-scoper -!/bin/root-version.php -!/build/.gitkeep /.box_dump/ /.php-cs-fixer.cache /.phpcs-cache /.phpunit* -/bin/ +/bin/* +!/bin/infection.sh +!/bin/php-scoper /box.json -/build/ /clover.xml /fixtures/*/.box_dump/ /fixtures/*/vendor/ diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 5cfd36699..7aec7522a 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -25,10 +25,7 @@ 'tests', ]) ->append([ - 'bin/check-composer-root-version.php', - 'bin/dump-composer-root-version.php', 'bin/php-scoper', - 'bin/root-version.php', '.php-cs-fixer.dist.php', 'scoper.inc.php', ]); diff --git a/build/.gitignore b/build/.gitignore new file mode 100644 index 000000000..120f485d7 --- /dev/null +++ b/build/.gitignore @@ -0,0 +1,2 @@ +* +!/.gitignore diff --git a/build/.gitkeep b/build/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/fixtures/set028-symfony/expected-output b/fixtures/set028-symfony/expected-output deleted file mode 100644 index ae3b78172..000000000 --- a/fixtures/set028-symfony/expected-output +++ /dev/null @@ -1 +0,0 @@ -Symfony 6.1.7 (env: dev, debug: true) #StandWithUkraine https://sf.to/ukraine diff --git a/fixtures/set030/expected-output b/fixtures/set030/expected-output deleted file mode 100644 index 79ebd0860..000000000 --- a/fixtures/set030/expected-output +++ /dev/null @@ -1,2 +0,0 @@ -ok -ok diff --git a/rector.php b/rector.php index f21f1b53f..b431e10bd 100644 --- a/rector.php +++ b/rector.php @@ -7,10 +7,7 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ - __DIR__ . '/bin/check-composer-root-version.php', - __DIR__ . '/bin/dump-composer-root-version.php', __DIR__ . '/bin/php-scoper', - __DIR__ . '/bin/root-version.php', __DIR__ . '/src', __DIR__ . '/tests', ]);