Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
TestingParsingPlaceholderFactory | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
make | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | declare( strict_types = 1 ); |
3 | |
4 | namespace MediaWiki\Extension\Translate\PageTranslation; |
5 | |
6 | use MediaWiki\Extension\Translate\Utilities\ParsingPlaceholderFactory; |
7 | |
8 | /** |
9 | * @author Niklas Laxström |
10 | * @license GPL-2.0-or-later |
11 | * @since 2020.08 |
12 | */ |
13 | class TestingParsingPlaceholderFactory extends ParsingPlaceholderFactory { |
14 | /** @var int */ |
15 | private $i = 0; |
16 | |
17 | public function make(): string { |
18 | return '<' . $this->i++ . '>'; |
19 | } |
20 | } |