Add placeholders for missing directory methods

This commit is contained in:
Alain Schlesser 2022-01-06 19:18:17 -06:00
parent a071836e33
commit 5c5a572574
No known key found for this signature in database
GPG key ID: 832A67716C7B07AD

View file

@ -144,4 +144,24 @@ class FileStreamWrapper {
public function cleanup() {
@unlink( $this->file ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
}
public function dir_opendir( $path, $options ) {
// TODO: Implement opendir method.
return true;
}
public function dir_closedir() {
// TODO: Implement closedir method.
return true;
}
public function dir_readdir() {
// TODO: Implement readdir method.
return false;
}
public function dir_rewinddir() {
// TODO: Implement rewinddir method.
return true;
}
}