public static createEnabled ( float $minimum = 99 ) : |
||
$minimum | float | |
Résultat |
/** * @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'))); }
/** * @return Execute */ public static function createEnabled() { return self::create(PhpUnitStub::createEnabled(), PhpUnitStrictCoverageStub::createEnabled(), PhpUnitGuardCoverageStub::createEnabled('fix')); }