| Total Complexity | 2 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class EmailTest extends WP_UnitTestCase |
||
| 14 | { |
||
| 15 | use Setup; |
||
| 16 | |||
| 17 | protected $review; |
||
| 18 | |||
| 19 | public function set_up() |
||
| 20 | { |
||
| 21 | parent::set_up(); |
||
| 22 | $faker = Factory::create(); |
||
| 23 | $this->review = [ |
||
| 24 | 'content' => $faker->text, |
||
| 25 | 'email' => $faker->email, |
||
| 26 | 'name' => $faker->name, |
||
| 27 | 'rating' => '5', |
||
| 28 | 'title' => $faker->sentence, |
||
| 29 | ]; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function test_email() |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
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