-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Uncaught RuntimeException on Psl\Iter\Iterator::current() #288
Comments
PSL 1.6.0 doesn't support PHP 8.1, i suggest you explicitly require PSL ^1.9.1 |
Hmm, phppro/http-tools requires PHP 7.4, so you can't actually upgrade to PSL 1.9.1 yet, i think we can back port the PHP 8.1 fix to all branch from 1.6 to 1.8, and release a new version for each, this way you can set minimum required PSL version in your project to |
No worries, we are planning to drop 7.4 support since they can still use older versions of the package with 7.4. Thanks! |
not really, 1.6 allows php ^7.4 || ^8.0, meaning PHP 8.1 is fine, and 1.6 being the last version to support 7.4, i think it would be okay to back port PHP 8.1 fixes there ( using the attribute, since we can't use mixed return type there ) |
ref: 9fdb771 |
Sorry, version is 1.9.2, typo. |
no, i changed the version in your issue. You are using --prefer-lowest in GitHub Action, which installs PSL 1.6.0. |
@veewee i'll leave this up to you, as i don't think i will have time to work on it personally in next couple of days ( i believe you have permission necessary to do so and release 1.6.2, 1.7.4, and 1.8.2 ) i personally think it's a good idea to fix compatibility with 8.1 for ^1.6.x since it's the last version with PHP 7.4 support, so people wanting to support PHP 7.4 and upwards can do so. |
Sounds like a solid plan! I am also very limited in time for a while. We'll see who gets to it first. |
fixed :) released: |
Describe the bug
When running tests I get following error:
To Reproduce
GitHub Actions:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: