hiqdev /
chkipper
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Changelog keeper |
||
| 4 | * |
||
| 5 | * @link https://github.com/hiqdev/chkipper |
||
| 6 | * @package chkipper |
||
| 7 | * @license BSD-3-Clause |
||
| 8 | * @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/) |
||
| 9 | */ |
||
| 10 | |||
| 11 | namespace hiqdev\chkipper\tests\unit\lib; |
||
| 12 | |||
| 13 | use hiqdev\chkipper\lib\parsers\MarkdownParser; |
||
| 14 | use hiqdev\chkipper\lib\renderers\MarkdownRenderer; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Markdown history renderer test case. |
||
| 18 | * |
||
| 19 | * @author Andrii Vasyliev <[email protected]> |
||
| 20 | */ |
||
| 21 | class MarkdownRendererTest extends \PHPUnit\Framework\TestCase |
||
|
0 ignored issues
–
show
|
|||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var MarkdownRenderer |
||
| 25 | */ |
||
| 26 | protected $object; |
||
| 27 | |||
| 28 | protected function setUp() |
||
| 29 | { |
||
| 30 | $config = new Config(); |
||
| 31 | $this->object = new MarkdownRenderer($config); |
||
| 32 | } |
||
| 33 | |||
| 34 | protected function tearDown() |
||
| 35 | { |
||
| 36 | } |
||
| 37 | |||
| 38 | public function testRender() |
||
| 39 | { |
||
| 40 | $path = __DIR__ . '/minimal.md'; |
||
| 41 | $parser = new MarkdownParser($this->object->getConfig()); |
||
| 42 | $history = $parser->parsePath($path); |
||
| 43 | $text = $this->object->render($history); |
||
| 44 | $this->assertEquals(file_get_contents($path), $text); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths