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

New build of last .phar #2379

Closed
metfan opened this issue Dec 1, 2016 · 1 comment
Closed

New build of last .phar #2379

metfan opened this issue Dec 1, 2016 · 1 comment

Comments

@metfan
Copy link

metfan commented Dec 1, 2016

Hello,

is it possible to have new build of last phar archive?

After upgrading to symfony 3.2.0 I got this error with a test:
PHP Fatal error: Undefined class constant 'PARSE_CONSTANT' in /home/ulrich/project /vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php on line 396

The constant PARSE_CONSTANT comes with symfony/yaml 3.2 but the actual phpunit phar seems to be build with an older version.

Thanks to autoload I ended with this error because the Yaml class is already loaded by Phpunit.

I fix it on building myself phpunit.phar using clue/phar-composer with command
php -d phar.readonly=off ./phar-composer.phar build https://github.com/sebastianbergmann/phpunit.git:dev-5.6.7

Thank you

@sebastianbergmann
Copy link
Owner

Duplicate of #2377.

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

No branches or pull requests

2 participants