| Total Complexity | 2 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | final class EmailComposerTest extends TestCase |
||
| 18 | { |
||
| 19 | /** @var Address */ |
||
| 20 | private $sender; |
||
| 21 | |||
| 22 | /** @var Address */ |
||
| 23 | private $to; |
||
| 24 | |||
| 25 | /** @var MessageOptions */ |
||
| 26 | private $messageOptions; |
||
| 27 | |||
| 28 | /** @var EmailComposer */ |
||
| 29 | private $emailComposer; |
||
| 30 | |||
| 31 | protected function setUp(): void |
||
| 32 | { |
||
| 33 | $this->sender = new Address('[email protected]', 'Mr. Test'); |
||
| 34 | $this->to = new Address('[email protected]', 'Ms. Test'); |
||
| 35 | |||
| 36 | $this->messageOptions = new MessageOptions( |
||
| 37 | 'Test email', |
||
| 38 | null, |
||
| 39 | null, |
||
| 40 | new Participants( |
||
| 41 | $this->sender, |
||
| 42 | [$this->sender], |
||
| 43 | [$this->sender], |
||
| 44 | [$this->to], |
||
| 45 | [$this->to], |
||
| 46 | [$this->to] |
||
| 47 | ) |
||
| 48 | ); |
||
| 49 | |||
| 50 | $this->emailComposer = new EmailComposer($this->messageOptions); |
||
| 51 | } |
||
| 52 | |||
| 53 | public function testReturnedMessageType(): void |
||
| 58 | } |
||
| 59 | } |
||
| 60 |
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