Changeset 61424 for trunk/tests/phpunit/includes/mock-fs.php
- Timestamp:
- 01/03/2026 06:15:57 AM (4 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/mock-fs.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/mock-fs.php
r56548 r61424 47 47 ); 48 48 $this->cache = array(); // Used by find_folder() and friends. 49 $this->cwd = isset( $this->fs_map[ $home_dir ] ) ? $this->fs_map[ $home_dir ] :'/';49 $this->cwd = $this->fs_map[ $home_dir ] ?? '/'; 50 50 $this->setfs( $paths ); 51 51 } … … 80 80 */ 81 81 private function locate_node( $path ) { 82 return isset( $this->fs_map[ $path ] ) ? $this->fs_map[ $path ] :false;82 return $this->fs_map[ $path ] ?? false; 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.