| 1 | <?php  | 
            ||
| 12 | class EventExtractor { | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @param SubjectCollection $pages  | 
            ||
| 16 | * @return Event[]  | 
            ||
| 17 | */  | 
            ||
| 18 | 7 | 	public function extractEvents( SubjectCollection $pages ): array { | 
            |
| 31 | |||
| 32 | 5 | 	private function getDates( Subject $subject ): array { | 
            |
| 52 | |||
| 53 | /**  | 
            ||
| 54 | * @return PropertyValueCollection[]  | 
            ||
| 55 | */  | 
            ||
| 56 | 5 | 	private function getPropertyValueCollectionsWithDates( Subject $subject ) { | 
            |
| 65 | |||
| 66 | }  | 
            ||
| 67 | 
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.