1 | <?php |
||
8 | class AssertReadme |
||
9 | { |
||
10 | /** |
||
11 | * @var \PHPUnit_Framework_TestCase |
||
12 | */ |
||
13 | private $testCase; |
||
14 | |||
15 | /** |
||
16 | * @var ReadmeTester |
||
17 | */ |
||
18 | private $tester; |
||
19 | |||
20 | /** |
||
21 | * @var FormatFactory |
||
22 | */ |
||
23 | private $formatFactory; |
||
24 | |||
25 | public function __construct( |
||
34 | |||
35 | /** |
||
36 | * Validate code examples in $file |
||
37 | * |
||
38 | * @param \SplFileObject $file |
||
39 | * @param string $formatIdentifier |
||
40 | * @return void |
||
41 | */ |
||
42 | public function assertFile(\SplFileObject $file, $formatIdentifier = '') |
||
58 | |||
59 | public function assertReadme($filename, $formatIdentifier = '') |
||
63 | } |
||
64 |