PhpGitHooks\Module\Configuration\Tests\Stub\PrePushStub::setUndefined PHP Method

setUndefined() public static method

public static setUndefined ( ) : PrePush
return PhpGitHooks\Module\Configuration\Domain\PrePush
    public static function setUndefined()
    {
        return self::create(new Undefined(true), EnabledStub::create(false), PrePushExecuteStub::create(PhpUnitStub::setUndefined(), PhpUnitStrictCoverageStub::setUndefined(), PhpUnitGuardCoverageStub::setUndefined()), MessagesStub::random());
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @return Config
  */
 public static function createUndefined()
 {
     return self::create(PreCommitStub::createUndefined(), CommitMsgStub::setUndefined(), PrePushStub::setUndefined());
 }