| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 33 | 
| Code Lines | 18 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 21 | public function testItSerializesDataSuccessfully()  | 
            ||
| 22 |     { | 
            ||
| 23 |         $this->eventEntity1->method('toArray')->willReturn( | 
            ||
| 24 | [  | 
            ||
| 25 | 'title' => 'Event 1',  | 
            ||
| 26 | 'start' => '2015-01-20T11:50:00Z',  | 
            ||
| 27 | 'allDay' => false,  | 
            ||
| 28 | 'end' => '2015-01-21T11:50:00Z',  | 
            ||
| 29 | ]  | 
            ||
| 30 | );  | 
            ||
| 31 |         $this->eventEntity2->method('toArray')->willReturn( | 
            ||
| 32 | [  | 
            ||
| 33 | 'title' => 'Event 2',  | 
            ||
| 34 | 'start' => '2015-01-22T11:50:00Z',  | 
            ||
| 35 | 'allDay' => true,  | 
            ||
| 36 | ]  | 
            ||
| 37 | );  | 
            ||
| 38 | |||
| 39 | $data = json_encode([  | 
            ||
| 40 | [  | 
            ||
| 41 | 'title' => 'Event 1',  | 
            ||
| 42 | 'start' => '2015-01-20T11:50:00Z',  | 
            ||
| 43 | 'allDay' => false,  | 
            ||
| 44 | 'end' => '2015-01-21T11:50:00Z',  | 
            ||
| 45 | ],  | 
            ||
| 46 | [  | 
            ||
| 47 | 'title' => 'Event 2',  | 
            ||
| 48 | 'start' => '2015-01-22T11:50:00Z',  | 
            ||
| 49 | 'allDay' => true,  | 
            ||
| 50 | ]  | 
            ||
| 51 | ]);  | 
            ||
| 52 | |||
| 53 | $this->assertEquals($data, $this->serializer->serialize([$this->eventEntity1, $this->eventEntity2]));  | 
            ||
| 54 | }  | 
            ||
| 61 | 
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