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\GitLogParser; |
||
14 | use hiqdev\chkipper\lib\renderers\MarkdownRenderer; |
||
15 | |||
16 | /** |
||
17 | * Git log history parser test case. |
||
18 | * |
||
19 | * @author Andrii Vasyliev <[email protected]> |
||
20 | */ |
||
21 | class GitLogParserTest extends \PHPUnit\Framework\TestCase |
||
0 ignored issues
–
show
|
|||
22 | { |
||
23 | /** |
||
24 | * @var GitLogParser |
||
25 | */ |
||
26 | protected $object; |
||
27 | |||
28 | protected function setUp() |
||
29 | { |
||
30 | $config = new Config(); |
||
31 | $this->object = new GitLogParser($config); |
||
32 | } |
||
33 | |||
34 | protected function tearDown() |
||
35 | { |
||
36 | } |
||
37 | |||
38 | public function testParsePath() |
||
39 | { |
||
40 | $this->object->parsePath(__DIR__ . '/big-git-log.txt'); |
||
41 | $this->object->getHistory()->setProject('hiqdev/chkipper'); |
||
42 | $renderer = new MarkdownRenderer($this->object->getConfig()); |
||
43 | $text = $renderer->render($this->object->getHistory()); |
||
44 | $this->assertEquals(file_get_contents(__DIR__ . '/big-git-log.md'), $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