-
Notifications
You must be signed in to change notification settings - Fork 6
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
~~is_dir()
not implemented~~ in "0.4.0"
#15
Comments
is_dir()
not implementedis_dir()
not implemented~~ in "0.4.0"
I'm digging to get this working with PHP 7.4. It's not an issue for modern developers. |
@BrianHenryIE Thank you for filing this issue and for using this project! Official support for PHP 7.4 ended over two years ago; I'd highly recommend upgrading as soon as it's feasible for you to do so. That said, if you're willing to go to the trouble of getting this project working for that version, I'm guessing you have circumstances restricting you to 7.4 for the time being. Unfortunately, this project has very much been both a labor of love and a learning experience for me, so earlier versions had a fair amount of bugs and missing behavior. 😅 I'd imagine this block is probably the one you would need to look at backporting. If you'd like to submit a PR with your fix branched from the 0.4.0 tag, I'd be fine with cutting a 0.5.0 release for others who might be in your situation. |
As they say, it's nice to be important but it's more important to be https://xkcd.com/2347/ |
Great project, thank you.
False alarm: I have 0.4.0 installed.
I'm working on a WordPress related project so still working with PHP 7.4.
https://www.php.net/manual/en/function.stream-wrapper-register.php#51855
I guess that's not implemented.Seems
is_dir()
goes toStreamWrapper::url_stat()
which callsFilesystemReader::fileExists()
which is not correct for directories.I'll keep reading and make a PR if I don't get distracted.
The text was updated successfully, but these errors were encountered: