-
-
Notifications
You must be signed in to change notification settings - Fork 604
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
Fatal error: Class 'Symfony\Component\VarDumper\Cloner\VarCloner' not found #406
Comments
Doesn't look like a bug. It's in the suggests list: https://github.com/filp/whoops/blob/master/composer.json#L23. |
That means if you want to use that feature, you need to add that dependency yourself. That's why composer dumps out a list of suggested packages when you run install. |
So |
It is documented? |
This does, indeed, look like a bug. Anyone up to fix it? @jonasdt? |
How is this a bug? We clearly have included this in the suggested dependencies, and we should not be forcing people to install this. Composer will clearly print to the screen that it's suggested, and it'll even tell you why too. |
|
I'd say that much is a bug then. ;) |
|
Any reason why this isn't a dependency? |
We don’t want the users to require the var-dumper, it’s supposed to be optional. @jonasdt, can you adjust your code to be conditional on the VarDumper existing? |
Well it was originally added as a suggested package, with usage of it wrapped in Since then it has been added to require-dev, and that particular Edit: I was reading the diff wrong, the |
I'll push a fix today |
Appears to have been caused by #404, as 2.1.0 works fine.
symfony/var-dumper
is only inrequire-dev
- so it isn’t installed for packages that requirefilp/whoops
.The text was updated successfully, but these errors were encountered: