Skip to content

Commit

Permalink
Fix more PHP 8.1 compat features
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Aug 2, 2021
1 parent f7f4dcd commit 0d8a11b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function __construct($out = STDOUT)
}

$this->out = $out;
$this->depth = 0;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/test/php/org/bovigo/vfs/vfsStreamUmaskTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function createDirectoryUsingStreamWithExplicit0()
{
$root = vfsStream::setup();
vfsStream::umask(0022);
mkdir(vfsStream::url('root/newdir'), null);
mkdir(vfsStream::url('root/newdir'), 0000);
$this->assertEquals(0000, $root->getChild('newdir')->getPermissions());
}

Expand Down

0 comments on commit 0d8a11b

Please sign in to comment.