Exclude non-code directories from Composer class maps #2798
Labels
feature-request
A feature should be added or improved.
needs-review
p3
This is a minor priority issue
Describe the feature
Some static analysis tools scan dependencies of projects. That usually includes walking through each autoloaded file of each package.
PHP files in
src/data
don't declare any usable symbols, so skipping those improves build times.Tools like ComposerRequireChecker rely on
exclude-from-classmap
to improve the search time.Use Case
It improves build times in automated pipelines.
Proposed Solution
See #2733.
Other Information
No response
Acknowledgements
SDK version used
master
Environment details (Version of PHP (
php -v
)? OS name and version, etc.)All environments
The text was updated successfully, but these errors were encountered: