| @@ 77-85 (lines=9) @@ | ||
| 74 | /** |
|
| 75 | * @return ToolInterface |
|
| 76 | */ |
|
| 77 | public function setEnabled(Enabled $enabled) |
|
| 78 | { |
|
| 79 | return new self( |
|
| 80 | new Undefined(false), |
|
| 81 | $enabled, |
|
| 82 | new PhpCsStandard(null), |
|
| 83 | new Ignore(null) |
|
| 84 | ); |
|
| 85 | } |
|
| 86 | ||
| 87 | /** |
|
| 88 | * @param PhpCsStandard $standard |
|
| @@ 31-39 (lines=9) @@ | ||
| 28 | /** |
|
| 29 | * @return PhpCs |
|
| 30 | */ |
|
| 31 | public static function setUndefined() |
|
| 32 | { |
|
| 33 | return new PhpCs( |
|
| 34 | new Undefined(true), |
|
| 35 | new Enabled(false), |
|
| 36 | new PhpCsStandard(null), |
|
| 37 | new Ignore('') |
|
| 38 | ); |
|
| 39 | } |
|
| 40 | } |
|
| 41 | ||