| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 50 | private function addFileMutation(FileMutation $fileMutation): void  | 
            ||
| 51 |     { | 
            ||
| 52 |         if ($fileMutation->isDeletedFile()) { | 
            ||
| 53 | return;  | 
            ||
| 54 | }  | 
            ||
| 55 | $newFileNameAsString = $fileMutation->getNewFileName()->getFileName();  | 
            ||
| 56 | $alreadyExists = array_key_exists($newFileNameAsString, $this->fileMutations);  | 
            ||
| 57 | Assert::false($alreadyExists, "Multiple new files with name [$newFileNameAsString]");  | 
            ||
| 58 | |||
| 59 | $this->fileMutations[$newFileNameAsString] = $fileMutation;  | 
            ||
| 60 | }  | 
            ||
| 70 |