Summary
While upgrading oro-platform from 4.2.3 to 4.2.7 we encountered an error during oro:platform:update:
Steps to reproduce
install these packages
"oro/platform": "4.2.7"
"sentry/sentry-symfony": "^4.2.2",
"sentry/sentry": "^3.3",
Actual Result
[Symfony\Component\Debug\Exception\FatalThrowableError]
Oro\Component\DoctrineUtils\DBAL\DbPrivilegesProvider::getMySqlGrantedPrivileges(): Argument #1 ($pdo) must be of type Doctrine\DBAL\Driver\PDO\Connection, Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingServerInfoAwareDriverConnection given, called in /var/ww
w/html/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Provider/MysqlDatabaseRequirementsProvider.php on line 57
Expected Result
No Errors
I suspect the typehint for $pdo here should be changed to Doctrine\DBAL\Driver\Connection
Summary
While upgrading oro-platform from 4.2.3 to 4.2.7 we encountered an error during oro:platform:update:
Steps to reproduce
install these packages "oro/platform": "4.2.7" "sentry/sentry-symfony": "^4.2.2", "sentry/sentry": "^3.3",
Actual Result
Expected Result
No Errors
I suspect the typehint for $pdo here should be changed to
Doctrine\DBAL\Driver\Connection
Details about your environment