mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-20 06:30:52 +08:00
Add placeholders for missing directory methods
This commit is contained in:
parent
a071836e33
commit
5c5a572574
1 changed files with 20 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue