diff --git a/ConnectionFactory.php b/ConnectionFactory.php index 76cdb03e2..2bebbcde4 100644 --- a/ConnectionFactory.php +++ b/ConnectionFactory.php @@ -104,7 +104,7 @@ private function getDatabasePlatform(Connection $connection) : AbstractPlatform return $connection->getDatabasePlatform(); } catch (DriverException $driverException) { throw new DBALException( - 'An exception occured while establishing a connection to figure out your platform version.' . PHP_EOL . + 'An exception occurred while establishing a connection to figure out your platform version.' . PHP_EOL . "You can circumvent this by setting a 'server_version' configuration value" . PHP_EOL . PHP_EOL . 'For further information have a look at:' . PHP_EOL . 'https://github.com/doctrine/DoctrineBundle/issues/673', diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 1ec8b68e3..482fa32fb 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -204,7 +204,7 @@ private function configureDbalDriverNode(ArrayNodeDefinition $node) : void ->booleanNode('memory')->end() ->scalarNode('unix_socket')->info('The unix socket to use for MySQL')->end() ->booleanNode('persistent')->info('True to use as persistent connection for the ibm_db2 driver')->end() - ->scalarNode('protocol')->info('The protocol to use for the ibm_db2 driver (default to TCPIP if ommited)')->end() + ->scalarNode('protocol')->info('The protocol to use for the ibm_db2 driver (default to TCPIP if omitted)')->end() ->booleanNode('service') ->info('True to use SERVICE_NAME as connection parameter instead of SID for Oracle') ->end()