Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 12 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
CopyeditTipTree | |
0.00% |
0 / 12 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
getTree | |
0.00% |
0 / 11 |
|
0.00% |
0 / 1 |
2 | |||
getTaskTypeId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace GrowthExperiments\HelpPanel\Tips; |
4 | |
5 | class CopyeditTipTree extends TipTree { |
6 | |
7 | /** @inheritDoc */ |
8 | public function getTree(): array { |
9 | $steps = [ |
10 | 'value' => [ 'main' => [], 'example' => [], ], |
11 | 'calm' => [ 'main' => [], ], |
12 | 'rules1' => [ 'main' => [], 'example' => [], ], |
13 | 'rules2' => [ 'main' => [], 'example' => [], 'text' => [] ], |
14 | 'step1' => [ 'main' => [ $this->getEditMessageTipConfigData() ] ], |
15 | 'publish' => [ |
16 | 'main' => [ $this->getPublishMessageTipConfigData() ] |
17 | ] |
18 | ]; |
19 | return $this->maybeAddLearnMoreLinkTipNode( $steps ); |
20 | } |
21 | |
22 | /** @inheritDoc */ |
23 | protected function getTaskTypeId(): string { |
24 | return 'copyedit'; |
25 | } |
26 | |
27 | } |