Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added the isWritable function
  • Loading branch information
cedx authored and sebastianbergmann committed May 28, 2017
1 parent 5ae333e commit b4fa699
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Framework/Assert/Functions.php
Expand Up @@ -32,6 +32,7 @@
use PHPUnit\Framework\Constraint\IsReadable;
use PHPUnit\Framework\Constraint\IsTrue;
use PHPUnit\Framework\Constraint\IsType;
use PHPUnit\Framework\Constraint\IsWritable;
use PHPUnit\Framework\Constraint\LessThan;
use PHPUnit\Framework\Constraint\LogicalNot;
use PHPUnit\Framework\Constraint\ObjectHasAttribute;
Expand Down Expand Up @@ -1598,6 +1599,16 @@ function isType($type)
return Assert::isType(...\func_get_args());
}

/**
* Returns a PHPUnit_Framework_Constraint_IsWritable matcher object.
*
* @return IsWritable
*/
function isWritable()
{
return Assert::isWritable();
}

/**
* Returns a PHPUnit_Framework_Constraint_LessThan matcher object.
*
Expand Down

0 comments on commit b4fa699

Please sign in to comment.