diff --git a/.github/workflows/e2e_process_dependant_files.yaml b/.github/workflows/e2e_process_dependent_files.yaml similarity index 94% rename from .github/workflows/e2e_process_dependant_files.yaml rename to .github/workflows/e2e_process_dependent_files.yaml index ad9b53d746b..896a30c2a82 100644 --- a/.github/workflows/e2e_process_dependant_files.yaml +++ b/.github/workflows/e2e_process_dependent_files.yaml @@ -72,7 +72,7 @@ jobs: working-directory: ${{ matrix.directory }} # we recover the dependent file - - run: patch -u src/DependencyTestClass.php -i patches/DependencyTestClass.php.patch + - run: mv src/DependentTestClass.php.bak src/DependentTestClass.php working-directory: ${{ matrix.directory }} # if we run rector again, it should continue finding the issue in the dependent file @@ -80,7 +80,7 @@ jobs: working-directory: ${{ matrix.directory }} # we undo the changes in the dependency - - run: patch -u src/DependencyTestClass.php -i patches/DependencyTestClass.php.patch + - run: patch -R -u src/DependencyTestClass.php -i patches/DependencyTestClass.php.patch working-directory: ${{ matrix.directory }} # it should now find the issue in the dependency again and not show the issue in the dependent file diff --git a/e2e/process-dependent-files/src/DependencyTestClass.php.orig b/e2e/process-dependent-files/src/DependencyTestClass.php.orig deleted file mode 100644 index 065f1120323..00000000000 --- a/e2e/process-dependent-files/src/DependencyTestClass.php.orig +++ /dev/null @@ -1,10 +0,0 @@ -