You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public dir_closedir(): bool
public dir_opendir(string $path, int $options): bool
public dir_readdir(): string
public dir_rewinddir(): bool
public mkdir(string $path, int $mode, int $options): bool
public renam(string $path_from, string $path_to): bool
public rmdir(string $path, int $options): bool
are these methods missing?
Expected output
no error
The text was updated successfully, but these errors were encountered:
just remembered I had reported this very same issue a few months ago: #4294
not sure why we see it now again though
I have the feeling that the current FileReadTrapStreamWrapper contains only logic to handle file reads from e.g. include or require. but in case you do directory related operations like RecursiveDirectoryIterator it is not prepared for that situation.
Bug report
In https://github.com/redaxo/redaxo/actions/runs/3800786744/jobs/6464589280 / redaxo/redaxo#5459 we ran into
but the error itself is not reproducible for me locally. it happens in github actions and seems to be reproducible.
Code snippet that reproduces the problem
I wonder whether FileReadTrapStreamWrapper is missing to implement some methods.
the "prototype" class in the php.net manual contains a few more methods then the stream-wrapper of phpstan implements...?
e.g.
are these methods missing?
Expected output
no error
The text was updated successfully, but these errors were encountered: