JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrgetServerVersion(); if (preg_match('/^(?P\d+)(?:\.(?P\d+)(?:\.(?P\d+))?)?/', $version, $versionParts) !== 1) { throw InvalidPlatformVersion::new( $version, '..', ); } $majorVersion = $versionParts['major']; $minorVersion = $versionParts['minor'] ?? 0; $patchVersion = $versionParts['patch'] ?? 0; $version = $majorVersion . '.' . $minorVersion . '.' . $patchVersion; if (version_compare($version, '12.0', '>=')) { return new PostgreSQL120Platform(); } Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/6495', 'Support for Postgres < 12 is deprecated and will be removed in DBAL 5', ); return new PostgreSQLPlatform(); } public function getExceptionConverter(): ExceptionConverterInterface { return new ExceptionConverter(); } }