doyolabs /
code-coverage-bridge
| 1 | <?php |
||
| 2 | |||
| 3 | /* |
||
| 4 | * This file is part of the doyo/code-coverage project. |
||
| 5 | * |
||
| 6 | * (c) Anthonius Munthi <[email protected]> |
||
| 7 | * |
||
| 8 | * For the full copyright and license information, please view the LICENSE |
||
| 9 | * file that was distributed with this source code. |
||
| 10 | */ |
||
| 11 | |||
| 12 | declare(strict_types=1); |
||
| 13 | |||
| 14 | namespace Spec\Doyo\Bridge\CodeCoverage; |
||
| 15 | |||
| 16 | use Doyo\Bridge\CodeCoverage\TestCase; |
||
| 17 | use PhpSpec\ObjectBehavior; |
||
|
0 ignored issues
–
show
|
|||
| 18 | |||
| 19 | class TestCaseSpec extends ObjectBehavior |
||
| 20 | { |
||
| 21 | public function let() |
||
| 22 | { |
||
| 23 | $this->beConstructedWith('some-id'); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function it_is_initializable() |
||
| 27 | { |
||
| 28 | $this->shouldHaveType(TestCase::class); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function its_name_should_be_mutable() |
||
| 32 | { |
||
| 33 | $this->getName()->shouldReturn('some-id'); |
||
| 34 | } |
||
| 35 | |||
| 36 | public function its_result_should_be_mutable() |
||
| 37 | { |
||
| 38 | $this->setResult(TestCase::RESULT_PASSED); |
||
| 39 | $this->getResult()->shouldReturn(TestCase::RESULT_PASSED); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
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