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

Load stubs by directory #5326

Open
Jean85 opened this issue Mar 5, 2021 · 3 comments
Open

Load stubs by directory #5326

Jean85 opened this issue Mar 5, 2021 · 3 comments

Comments

@Jean85
Copy link
Contributor

Jean85 commented Mar 5, 2021

I personally have a directory dedicated to stubs in my project.

It would be nice to load them by path or by allowing a glob pattern, so I wouldn't have to specify them one by one.

@psalm-github-bot
Copy link

Hey @Jean85, can you reproduce the issue on https://psalm.dev ?

@weirdan
Copy link
Collaborator

weirdan commented Mar 5, 2021

As a workaround, you could implement a plugin that would load those stubs.

@kkmuffme
Copy link
Contributor

kkmuffme commented Jan 2, 2022

Same for me.
Especially since https://psalm.dev/docs/running_psalm/configuration/#stubs links to https://github.com/JetBrains/phpstorm-stubs, which in phpstorm can be loaded all at once, but for psalm I have to specify each and every one separately.

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

No branches or pull requests

3 participants