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

Exclude non-code directories from Composer class maps #2798

Closed
1 of 2 tasks
wizardist opened this issue Oct 18, 2023 · 1 comment
Closed
1 of 2 tasks

Exclude non-code directories from Composer class maps #2798

wizardist opened this issue Oct 18, 2023 · 1 comment
Assignees
Labels
feature-request A feature should be added or improved. needs-review p3 This is a minor priority issue

Comments

@wizardist
Copy link
Contributor

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

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

master

Environment details (Version of PHP (php -v)? OS name and version, etc.)

All environments

@wizardist wizardist added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Oct 18, 2023
@yenfryherrerafeliz yenfryherrerafeliz self-assigned this Oct 18, 2023
@yenfryherrerafeliz yenfryherrerafeliz added needs-review p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Feb 16, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-review p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants