| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function test_email() |
||
| 33 | { |
||
| 34 | $email = [ |
||
| 35 | 'to' => '[email protected]', |
||
| 36 | 'subject' => 'Test Email', |
||
| 37 | 'template' => 'default', |
||
| 38 | 'template-tags' => [ |
||
| 39 | 'review_author' => $this->review['name'], |
||
| 40 | 'review_content' => $this->review['content'], |
||
| 41 | 'review_email' => $this->review['email'], |
||
| 42 | 'review_ip' => '127.0.0.1', |
||
| 43 | 'review_link' => 'http://...', |
||
| 44 | 'review_rating' => $this->review['rating'], |
||
| 45 | 'review_title' => $this->review['title'], |
||
| 46 | ], |
||
| 47 | ]; |
||
| 48 | $sent = glsr(Email::class)->compose($email)->send(); |
||
| 49 | $this->assertEquals($sent, 1); |
||
| 50 | } |
||
| 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