PhpGitHooks\Module\Configuration\Tests\Stub\PhpUnitStub::createEnabled PHP Метод

createEnabled() публичный статический Метод

public static createEnabled ( string $options = '--testsuite default' ) : PhpUnit
$options string
Результат PhpGitHooks\Module\Configuration\Domain\PhpUnit
    public static function createEnabled($options = '--testsuite default')
    {
        return self::create(new Undefined(false), EnabledStub::create(true), PhpUnitRandomModeStub::create(true), PhpUnitOptionsStub::create($options));
    }

Usage Example

Пример #1
0
 /**
  * @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')));
 }
All Usage Examples Of PhpGitHooks\Module\Configuration\Tests\Stub\PhpUnitStub::createEnabled