Skip to content
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

[Rector-Prefixed] Symlink #3268

Closed
decad7never opened this issue Apr 27, 2020 · 3 comments · Fixed by #3269
Closed

[Rector-Prefixed] Symlink #3268

decad7never opened this issue Apr 27, 2020 · 3 comments · Fixed by #3269

Comments

@decad7never
Copy link

When a launch the scan with this command.

vendor/bin/rector process inscription --config rector_inscription.yaml --dry-run --debug

I can look that rector doesn't scan recursively all directorys inside the directory inscription if symlinks are used for that. Exemple

inscription / document_root / (symlink -> bo) => ../.../bo

All files inside the folder linked with the symlink BO are not scanned by rector. How i can do that please ?

Thansk

Regards

Decad7

@TomasVotruba
Copy link
Member

Hi, I'd look at this section:

$finder = Finder::create()

Might be tuned to return symlinked files too.

@decad7never
Copy link
Author

Ok but today we have no configuration way to return symlinked files ?

@TomasVotruba
Copy link
Member

Not really.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants