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

Add option to install require-dev dependencies when analyzing a codebase #203

Closed
Nyholm opened this issue Feb 28, 2020 · 4 comments
Closed
Milestone

Comments

@Nyholm
Copy link
Contributor

Nyholm commented Feb 28, 2020

I currently have a problem with some libraries using test files in their source. That will give me plenty of

[BC] SKIPPED: Roave\BetterReflection\Reflection\ReflectionClass "PHPUnit\Framework\TestCase" could not be found in the located source

For this specific case it is the psr/log package. (my package)

I have been hacking the output before. See how I did in Guzzle. I dont feel this is the way I should go about it though...

I would like to add these suppress messages in a config file some how.

@Ocramius
Copy link
Member

Potentially duplicate of #77

@asgrim
Copy link
Member

asgrim commented Oct 7, 2021

@Nyholm would #319 help this issue perhaps?

@Nyholm
Copy link
Contributor Author

Nyholm commented Oct 7, 2021

Yeah. I think that would work.

I solved it with https://github.com/Nyholm/roave-bc-check-docker#config

@asgrim
Copy link
Member

asgrim commented Oct 8, 2021

OK; so not quite the best solution :) I'm ok to leave this issue open as a possible improvement.

@Ocramius Ocramius added this to the 6.0.0 milestone Nov 5, 2021
@Ocramius Ocramius changed the title [Feature request] Add a config file to suppress some errors Add option to install require-dev dependencies when analyzing a codebase Nov 5, 2021
@Ocramius Ocramius closed this as completed Nov 5, 2021
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