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
Constants defined twice in 3.x versions #105
Comments
Just so you know, only Halite 4.0 and newer are supported as of today: https://github.com/paragonie/halite#installing-halite |
So there is no supported version for PHP 7.1? I think this would be quite easy to fix and it would restore compatibility for PHP 7.1... |
Not officially. I'll still fix it, but supporting versions of PHP that don't have native libsodium support are massively unrewarding and so we decided to cut it off at 7.2. I strongly urge everyone to upgrade to Halite v4. |
https://github.com/paragonie/halite/releases/tag/v3.4.0 said that 3.4.0 was the final v3 release. I'm releasing v3.4.1 which is the final, final v3 release to fix this issue. Please make plans to upgrade to Halite 4.x and PHP 7.2 as soon as possible. |
In the 3.x versions, the
Sodium.stub.php
is added as an autoload file in composer.json and thesodium_compat
packages is required as well:https://github.com/paragonie/halite/blob/v3.x/composer.json
This leads to a lot of errors of constants which are defined twice:
I think this part your be removed from composer.json for the 3.x version of halite:
The text was updated successfully, but these errors were encountered: