-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Class 'Symfony\Component\Yaml\Dumper' not found in /usr/share/php/PHPUnit/Util/Log/TAP.php on line 131 #1319
Comments
How did you install PHPUnit? Looks like an issue with files from an older version being included. |
I upgraded my php version from 5.3 to 5.5 maybe it is source of problem |
This shouldn't be a problem as PHPUnit is tested against 5.5. How did you install PHPUnit? |
I installed phpunit with apt-get install phpunit command |
This problem occured when I work in vagrant |
Which version of linux are you running? |
My linux version is 12.04 |
We cannot offer support for distribution-packaged versions of PHPUnit. |
Seems like an outdated version of PHPUnit. Does this solve your problem http://zechim.com/blog/2012/05/16/install-phpunit-on-ubuntu/? |
Alright, going to close this since @sebastianbergmann says we cannot support distribution-packed versions of PHPUnit. Unfortunately, many of these packages are either broken or very dated. If the link I sent you doesn't work, I'd recommend downloading the phar or using composer to install PHPUnit. |
I am having this same issue currently on Ubuntu 13.04 with PHP 5.4.9 running in Vagrant using packages from apt-get |
Follow the instructions on http://phpunit.de/getting-started.html |
Thanks Sebastian, I have followed those instructions for the phar and I still remain with this error below: $ phpunit |
I assume that |
How can I ensure that it invokes the other one, where is that getting installed and how can I remove the default system package.. |
It was a issue with a existing framework causing this, everything fixed. thanks very much for your help sebastian :) |
Error occurs when I run my tests with following command
PHP Fatal error: Class 'Symfony\Component\Yaml\Dumper' not found in /usr/share/php/PHPUnit/Util/Log/TAP.php on line 131
https://github.com/sebastianbergmann/phpunit/blob/master/src/Util/Log/TAP.php#L131
Php version: PHP 5.5.14-2
Phpunit Version: 3.7.28
The text was updated successfully, but these errors were encountered: