Skip to content

Commit 6c68bcc

Browse files
committed
Replace usage of an incompatible function with PHP7.4 with the compatible one
1 parent 681c927 commit 6c68bcc

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 str_contains($file->getPath(), 'src/Entity');
72+
return strpos($file->getFilename(), 'src/Entity') !== false;
7373
}
7474
}

0 commit comments

Comments
 (0)