-
Notifications
You must be signed in to change notification settings - Fork 19
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
Calls to uri_stat()
triggers a notice
#12
Comments
This happens because |
After doing some research, the error originates in het |
replace
|
A recent change in league/flysystem (1.0.55) is causing more problems with this: |
the this should fix it for the moment: but it looks it will be changed again: |
tested and works 👍 |
This is affecting usage on PHP 7.4. This repo hasn't been updated in quite a while, is it no longer being maintained? |
ok so here it is, tagged to v1.0.10: overriding packagist repo source in composer:
|
Hi @kor3k I just stumbled upon your fork and really like that you made sure to have a version of this with the available bug fixes merged. I want to refer to your version in my composer requirements. As only root composer files can override repositories I basically can't reference it. Would you mind submitting your version to packagist with your prefix so one can easily pull in your version as dependency? I am a bit sad that @twistor neglects this. Solutions are available and there seems to be activity by @twistor on GitHub. If this is not updated anymore please mark it as archived so we can be sure that someone else needs to step in. |
@JoshuaBehrens hello and thank you. yes i'll take a look on adding it to packagist. but, this is for flysystem v1, which is obsolete now. (imho that's why twistor is neglecting it).
|
you're welcome @kor3k and thank you very much I know I use the other wrapper already. In our library we use stream wrappers as abstraction layer. But at one point the library is used within shopware 6 and up to this point they depend on v1: https://github.com/shopware/platform/blob/6.4.16.0/composer.json#L83-L85
|
it is here: https://packagist.org/packages/kor3k/flysystem-stream-wrapper |
@kor3k thank you very much :) |
When checking for directories with
is_dir()
and the directory exists, the following notice is thrown:PHP Notice: Undefined offset: 0 in <SOME_PATH>/vendor/twistor/flysystem-stream-wrapper/src/Flysystem/Plugin/Stat.php on line 157
The following code should trigger the error:
The text was updated successfully, but these errors were encountered: