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

Undefined method SplFileObject::fread() #256

Closed
taasan opened this issue Aug 2, 2018 · 5 comments
Closed

Undefined method SplFileObject::fread() #256

taasan opened this issue Aug 2, 2018 · 5 comments
Assignees
Labels
Milestone

Comments

@taasan
Copy link

taasan commented Aug 2, 2018

Commit 8e80bec introduced an error on PHP 5.5.9 (which I am stuck at)

PHP Fatal error: Call to undefined method SplFileObject::fread() in /var/www/vendor/lcobucci/jwt/src/Signer/Key.php on line 66

@Ocramius
Copy link
Collaborator

Ocramius commented Aug 2, 2018

I don't think that we should fix bugs for EOL'd PHP versions, so I'm closing as won't fix here, sorry.

@taasan
Copy link
Author

taasan commented Aug 2, 2018

Well, you should at least update composer.json with minimum php version 5.5.11 for this version so you don't lie about which php version is needed.

@Ocramius
Copy link
Collaborator

Ocramius commented Aug 2, 2018 via email

@lcobucci
Copy link
Owner

lcobucci commented Aug 2, 2018

@taasan I'm very sorry for that issue, it's been like ages since I use that version of PHP that I completely forgot about it. Making the change compatible with your PHP version is so simple that I rather modify the library. But please try to upgrade your stack as soon as possible, v3.3 will require PHP 5.6 and v4 PHP 7.2 (possibly 7.3)

@taasan
Copy link
Author

taasan commented Aug 3, 2018

Thanks :-) I am unfortunately stuck with Ubuntu 14.04 for another year

@Ocramius Ocramius removed the Won't Fix label Aug 3, 2018
@Ocramius Ocramius added this to the 3.2.4 milestone Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants