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

3.17 is incompatible with phpcompatinfo 6.0 #105

Closed
remicollet opened this issue Jan 5, 2022 · 5 comments
Closed

3.17 is incompatible with phpcompatinfo 6.0 #105

remicollet opened this issue Jan 5, 2022 · 5 comments
Assignees

Comments

@remicollet
Copy link
Contributor

in bootstrap.php

    use Bartlett\CompatInfoDb\Presentation\Console\ApplicationInterface;  

    putenv('APP_PROXY_DIR=' . ($_SERVER['APP_PROXY_DIR'] ?? $_ENV['APP_PROXY_DIR'] ?? '/tmp/bartlett/php-compatinfo-db/' . ApplicationInterface::VERSION . '/proxies'));

So BC break.
Should obviously be 4.0

@remicollet
Copy link
Contributor Author

$ phpcompatinfo --version
Fatal error: Uncaught Error: Undefined constant Bartlett\CompatInfoDb\Presentation\Console\ApplicationInterface::VERSION in /usr/share/php/Bartlett/CompatInfo/config/bootstrap.php:37

@llaville
Copy link
Owner

llaville commented Jan 5, 2022

I know it, and I'll publish a 6.0.3 that will fix compatinfo-db constraint

@llaville
Copy link
Owner

llaville commented Jan 5, 2022

Branch 6.0 updated with llaville/php-compatinfo@116d3d9

Release 6.0.3 of CompatInfo is on way !

@llaville llaville self-assigned this Jan 5, 2022
@llaville
Copy link
Owner

llaville commented Jan 5, 2022

@llaville llaville closed this as completed Jan 5, 2022
@llaville
Copy link
Owner

llaville commented Jan 6, 2022

@remicollet v5.5.x is also affected, and I've just fixed it too on new release 5.5.6

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