hiqdev /
hidev-readme
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * README plugin for HiDev |
||
| 4 | * |
||
| 5 | * @link https://github.com/hiqdev/hidev-readme |
||
| 6 | * @package hidev-readme |
||
| 7 | * @license BSD-3-Clause |
||
| 8 | * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/) |
||
| 9 | */ |
||
| 10 | |||
| 11 | namespace hidev\readme\tests\unit\components; |
||
| 12 | |||
| 13 | use hidev\readme\components\Readme; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Readme component test class. |
||
| 17 | */ |
||
| 18 | class ReadmeTest extends \PHPUnit\Framework\TestCase |
||
|
0 ignored issues
–
show
|
|||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var Readme |
||
| 22 | */ |
||
| 23 | protected $object; |
||
| 24 | |||
| 25 | protected function setUp() |
||
| 26 | { |
||
| 27 | $this->object = new Readme(); |
||
| 28 | } |
||
| 29 | |||
| 30 | protected function tearDown() |
||
| 31 | { |
||
| 32 | } |
||
| 33 | |||
| 34 | public function testRenderH1() |
||
| 35 | { |
||
| 36 | $this->assertSame("# Test\n", $this->object->renderH1('Test')); |
||
| 37 | } |
||
| 38 | |||
| 39 | public function testRenderH2() |
||
| 40 | { |
||
| 41 | $this->assertSame("## Test\n", $this->object->renderH2('Test')); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |
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