diff --git a/build/.gitignore b/build/.gitignore index bb1b2aa..aba1f96 100644 --- a/build/.gitignore +++ b/build/.gitignore @@ -17,3 +17,7 @@ logs/* coverage/* !coverage !coverage/.gitkeep + +coverage/* +!coverage +!coverage/.gitkeep diff --git a/composer.json b/composer.json index 74844ad..ca12c90 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ ], "require": { "php": "^8.1", - "rector/rector": "^1.0 || ^2.1" + "rector/rector": "dev-main#3c07e2ab69c55752e5f143ea99119b475e14ac19" }, "require-dev": { "ramsey/devtools": "^2.0" @@ -29,7 +29,10 @@ "autoload-dev": { "psr-4": { "Ostrolucky\\Test\\RectorRules\\": "tests/" - } + }, + "files": [ + "vendor/rector/rector/preload.php" + ] }, "config": { "allow-plugins": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9751545..d7d2757 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,7 +1,7 @@ diff --git a/tests/bootstrap.php b/tests/bootstrap.php deleted file mode 100644 index 01531ec..0000000 --- a/tests/bootstrap.php +++ /dev/null @@ -1,7 +0,0 @@ -