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

PHP Fatal error: Uncaught Error: Undefined class constant 'SUCCESS' in /app/vendor/marcocesarato/php-conventional-changelog/src/Changelog.php:413 #10

Closed
aliveghost04 opened this issue Apr 13, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@aliveghost04
Copy link

The issue is the package requires symfony/console: ^4 || ^5 but the constants Command::FAILURE and Command::SUCCESS are only available in version 5 and above, so the package should not require or be compatible with version 4.

@marcocesarato marcocesarato added the bug Something isn't working label Apr 13, 2021
@marcocesarato
Copy link
Owner

Hi, I replaced the constants SUCCESS and FAILED with 0 and 1 (so in theory compatible with symfony 4 and with php 7.1).
Let me know if it works with version 1.9.10 or not and if it need others adjustments.

@aliveghost04
Copy link
Author

Hi, I replaced the constants SUCCESS and FAILED with 0 and 1 (so in theory compatible with symfony 4 and with php 7.1).
Let me know if it works with version 1.9.10 or not and if it need others adjustments.

It works like a charm. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants