| @@ 35-47 (lines=13) @@ | ||
| 32 | /** |
|
| 33 | * @return PrePush |
|
| 34 | */ |
|
| 35 | public static function random() |
|
| 36 | { |
|
| 37 | return self::create( |
|
| 38 | new Undefined(false), |
|
| 39 | EnabledStub::random(), |
|
| 40 | PrePushExecuteStub::create( |
|
| 41 | PhpUnitStub::random(), |
|
| 42 | PhpUnitStrictCoverageStub::random(), |
|
| 43 | PhpUnitGuardCoverageStub::random() |
|
| 44 | ), |
|
| 45 | MessagesStub::random() |
|
| 46 | ); |
|
| 47 | } |
|
| 48 | ||
| 49 | /** |
|
| 50 | * @return PrePush |
|
| @@ 65-77 (lines=13) @@ | ||
| 62 | /** |
|
| 63 | * @return PrePush |
|
| 64 | */ |
|
| 65 | public static function setUndefined() |
|
| 66 | { |
|
| 67 | return self::create( |
|
| 68 | new Undefined(true), |
|
| 69 | EnabledStub::create(false), |
|
| 70 | PrePushExecuteStub::create( |
|
| 71 | PhpUnitStub::setUndefined(), |
|
| 72 | PhpUnitStrictCoverageStub::setUndefined(), |
|
| 73 | PhpUnitGuardCoverageStub::setUndefined() |
|
| 74 | ), |
|
| 75 | MessagesStub::random() |
|
| 76 | ); |
|
| 77 | } |
|
| 78 | } |
|
| 79 | ||