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
Allow PHP 8.2 for Phar usage in composer.json #8747
Comments
Hey @Andi2405, can you reproduce the issue on https://psalm.dev ? |
Sorry @psalm-github-bot , this is not helpful in this case. Refering to phar usage only |
Note 1: This applies to master branch (so Psalm 5 release) Let's see if we can do that before releasing |
I made #8752 to test the CI on 8.2 We currently depends on prophecy who does not allow 8.2 yet so dependencies can't be resolved as of now. We'll have to wait until it does (or make changes to stop depending on it). I suggest using 8.1 for the foreseeable future |
It's done; we're now using Mockery instead. |
Great news, thank you very much! I guess I can expect a new release (candidate) in the next few days to weeks, right? |
I don't have 8.2 locally. Would you mind checking whether https://output.circle-artifacts.com/output/job/425711a7-0268-4aec-93ff-da3a7a865eef/artifacts/0/build/psalm.phar works for you? |
It totally works for me! |
I am using psalm as a phar via phive. Executing it results in the following error message.
I am not sure but I assume that the require php value in composer.json should be updated to allow PHP 8.2 and thereby allow the execution in PHP 8.2. The composer.json contains exactly the same statement as shown in the last line of the error message:
The text was updated successfully, but these errors were encountered: