New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workbench doesn't respect excluded_paths from .shiftrc #29
Comments
@mortenscheel, does the path you are specifying contain the |
No, the By the way I finally figured out why PHPStan went into infinite recursion when trying to analyse those classes: phpstan/phpstan#5390 |
@mortenscheel, I assume you specify the path to the project root in the Workbench? |
Yes. I select the project folder using the Browse button, and it looks correct in the editor: path: /home/morten/Code/lv-tmp
tasks:
- name: 'switch to match'
uses: php/switch-to-match Besides, it does manage to modify some of the files, until it reaches the folder that causes infinite recursion (which should have been excluded). I've tried the same recipe in Linux, Windows and online, and all of them fail. Presumably because they run out of memory trying to analyse the problematic folder. |
Sounds good. We'll get this patched up in the next few days. |
This should be patched in the latest release (0.4.7). Let us know if you have any issues. |
Desktop:
Describe the bug
Apparently Workbench doesn't read
excluded_paths
from.shiftrc
when running tasks.I've added
excluded_paths = "app/Subfolder"
to.shiftrc
because the folder contains some problematic classes that trigger an infinite loop/recursion when PhpStan tries to analyze them. I can process the project with Rector, as long as this folder is ignored.Is there some other way to get Workbench to ignore certain files or folders?
To Reproduce
Steps to reproduce the behavior:
excluded_paths
in.shiftrc
The text was updated successfully, but these errors were encountered: