WordPress / WordPress/phpdoc-parser
allow WP_Parser\get_wp_files() to follow symlinks
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 239
- Forks
- 81
- Avg merge
- 16h 29m
- Merged PRs (30d)
- 8
Description
For those of us using this plugin outside of the .org Code Reference, it would be really helpful if WP_Parser\get_wp_files() could follow symlinks it encounters while recursing the directory structure.
All that would be necessary to enable this would be to instantiate the RecursiveDirectoryIterator with:
new \RecursiveDirectoryIterator( $directory, \FilesystemIterator::FOLLOW_SYMLINKS )
instead of the current:
new \RecursiveDirectoryIterator( $directory )
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate WP_Parser\get_wp_files() and inspect where its RecursiveDirectoryIterator is instantiated. Update the iterator options so recursive traversal follows symlinks, then verify that the function includes files reached through symlinked directories without breaking normal traversal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100