Skip to content

Commit 922f707

Browse files
committed
Avoid Composer-Require-Checker tripping over the ::class reference
1 parent 9a64246 commit 922f707

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Webfactory/Slimdump/SlimdumpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
7474
// In DBAL 3, the SchemaManager parses DC2Type column comments and throws when encountering
7575
// unknown types. We register a DummyType for any unknown type to work around this.
7676
// In DBAL 4, the DC2Type comment mechanism was removed entirely, so this is no longer needed.
77-
if (class_exists(\Doctrine\DBAL\Events::class)) {
77+
if (class_exists('\Doctrine\DBAL\Events')) {
7878
$connection->getEventManager()->addEventSubscriber(new DummyTypeRegistrationEventSubscriber($connection->createSchemaManager()));
7979
}
8080

0 commit comments

Comments
 (0)