-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[PropertyInfo] Error with phpdocumentor/reflection in test mode #23576
Comments
@aumel Could you please do the following, so we could get a reproducer ?
|
@Simperfit I forked the Symfony Standard Edition and I made modification to reproduce the bug on branch Link of the forked repo: https://github.com/aumel/symfony-standard To reproduce bug, you must execute the test You will get this error:
For info, I tested with PHP 5.6.x and phpunit 5.7.21. |
@aumel thanks for taking time to reproduce this issue. Seems that the original problem is replaced by a new one. This is what I'm getting now (on PHP 7.1.10 with PHPUnit 5.7.23):
The problem is caused by PHPUnit coming with Symfony 2.8 branch relies on You either have to use the legacy phpunit version, or upgrade Symfony I'm afraid. |
@jakzal Thanks! I didn't notice the difference between PHPUnit and Symfony 2.8 for |
I am not sure if the problem is related directly to Symfony.
I encounter an error with PropertyInfo component on a new install of symfony 2.8.25 and phpunit tests. The problem does not seem to appear in production mode.
This is a simple test to reproduce:
When I execute the test with phpunit, I get this error:
Is there a problem with autoload PSR-4 ?
The text was updated successfully, but these errors were encountered: