<NME> FailedConnectionEvent.php
<BEF> <?php

namespace Bolt\Events;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Event\ConnectionEventArgs;
use Doctrine\DBAL\DBALException;

/**
 * Event dispatched on Doctrine ConnectionException occurrence.
 *
 * @author Gawain Lynch <gawain.lynch@gmail.com>
 */
class FailedConnectionEvent extends ConnectionEventArgs
{
    /** @var \Doctrine\DBAL\DBALException */
    private $exception;

    /**
     * Constructor.
     *
     * @param \Doctrine\DBAL\Connection    $connection
     * @param \Doctrine\DBAL\DBALException $exception
     */
    public function __construct(Connection $connection, DBALException $exception)
    {
        parent::__construct($connection);
        $this->exception = $exception;
    }

    /**
     * Getter for the exception.
     *
     * @return \Doctrine\DBAL\DBALException
     */
    public function getException()
    {
        return $this->exception;
    }
}

<MSG> Unused use

<DFF> @@ -3,8 +3,8 @@
 namespace Bolt\Events;
 
 use Doctrine\DBAL\Connection;
-use Doctrine\DBAL\Event\ConnectionEventArgs;
 use Doctrine\DBAL\DBALException;
+use Doctrine\DBAL\Event\ConnectionEventArgs;
 
 /**
  * Event dispatched on Doctrine ConnectionException occurrence.

{'commit': 'diff --git a/src/Events/FailedConnectionEvent.php b/src/Events/FailedConnectionEvent.php\nindex 2b4f9400c..d3dcfed5c 100644\n--- a/src/Events/FailedConnectionEvent.php\n+++ b/src/Events/FailedConnectionEvent.php\n@@ -3,8 +3,8 @@\n namespace Bolt\\Events;\n \n use Doctrine\\DBAL\\Connection;\n-use Doctrine\\DBAL\\Event\\ConnectionEventArgs;\n use Doctrine\\DBAL\\DBALException;\n+use Doctrine\\DBAL\\Event\\ConnectionEventArgs;\n \n /**\n  * Event dispatched on Doctrine ConnectionException occurrence.\n', 'commit_subject': 'Unused use', 'repo_name': 'bolt/bolt', 'committer': {'name': 'Gawain Lynch', 'email': 'f745ec5336bcd096400627fc09f6ec7139408726@gmail.com', 'time_sec': '1448070385', 'tz_offset': '660', 'date': {'seconds': '1448070385'}}, 'commit_tree': '82c1fff0d049c2be6b0542150704e86c6a7431e1', 'commit_message': 'Unused use\n', 'language_name': 'JavaScript', 'license': 'mit', 'hunks': '@@ -3,8 +3,8 @@\n namespace Bolt\\Events;\n \n use Doctrine\\DBAL\\Connection;\n-use Doctrine\\DBAL\\Event\\ConnectionEventArgs;\n use Doctrine\\DBAL\\DBALException;\n+use Doctrine\\DBAL\\Event\\ConnectionEventArgs;\n \n /**\n  * Event dispatched on Doctrine ConnectionException occurrence.\n', 'addition_count': 1, 'deletion_count': 1, 'src_file': 'a/src/Events/FailedConnectionEvent.php', 'tgt_file': 'b/src/Events/FailedConnectionEvent.php', 'file_extension': '.php', 'before_file': '<?php\n\nnamespace Bolt\\Events;\n\nuse Doctrine\\DBAL\\Connection;\nuse Doctrine\\DBAL\\Event\\ConnectionEventArgs;\nuse Doctrine\\DBAL\\DBALException;\n\n/**\n * Event dispatched on Doctrine ConnectionException occurrence.\n *\n * @author Gawain Lynch <gawain.lynch@gmail.com>\n */\nclass FailedConnectionEvent extends ConnectionEventArgs\n{\n    /** @var \\Doctrine\\DBAL\\DBALException */\n    private $exception;\n\n    /**\n     * Constructor.\n     *\n     * @param \\Doctrine\\DBAL\\Connection    $connection\n     * @param \\Doctrine\\DBAL\\DBALException $exception\n     */\n    public function __construct(Connection $connection, DBALException $exception)\n    {\n        parent::__construct($connection);\n        $this->exception = $exception;\n    }\n\n    /**\n     * Getter for the exception.\n     *\n     * @return \\Doctrine\\DBAL\\DBALException\n     */\n    public function getException()\n    {\n        return $this->exception;\n    }\n}\n', 'message': 'Unused use\n', 'author_name': 'Gawain Lynch', 'lang': 'php'}