PhpGitHooks\Module\Configuration\Tests\Stub\PhpMdStub::createEnabled PHP Method

createEnabled() public static method

public static createEnabled ( ) : PhpMd
return PhpGitHooks\Module\Configuration\Domain\PhpMd
    public static function createEnabled()
    {
        return self::create(new Undefined(false), EnabledStub::create(true), PhpMdOptionsStub::create(null));
    }

Usage Example

コード例 #1
0
ファイル: PreCommitStub.php プロジェクト: bruli/php-git-hooks
 /**
  * @return PreCommit
  */
 public static function createAllEnabled()
 {
     return self::create(new Undefined(false), EnabledStub::create(true), PreCommitExecuteStub::create(ComposerStub::createEnabled(), JsonLintStub::createEnabled(), PhpLintStub::createEnabled(), PhpMdStub::createEnabled(), PhpCsStub::createEnabled(), PhpCsFixerStub::createEnabled(), PhpUnitStub::createEnabled(), PhpUnitStrictCoverageStub::createEnabled(), PhpUnitGuardCoverageStub::createEnabled('fix')), MessagesStub::create(MessageStub::create('ok'), MessageStub::create('fix')));
 }