Skip to content

Commit 74f6626

Browse files
committed
Replace getFilename method with getPath
1 parent 6c68bcc commit 74f6626

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Fixer/FinalClassInEntitiesFixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ public function getPriority(): int
6969

7070
public function supports(SplFileInfo $file): bool
7171
{
72-
return strpos($file->getFilename(), 'src/Entity') !== false;
72+
return strpos($file->getPath(), 'src/Entity') !== false;
7373
}
7474
}

0 commit comments

Comments
 (0)