Skip to content

Commit

Permalink
Missing global namespace declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed May 18, 2016
1 parent 1e61e19 commit c8e6bf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mysql/MysqlDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function connect()
if ($this->utf8mb4)
{
// At this point we know the client supports utf8mb4. Now we must check if the server supports utf8mb4 as well.
$serverVersion = $this->connection->getAttribute(PDO::ATTR_SERVER_VERSION);
$serverVersion = $this->connection->getAttribute(\PDO::ATTR_SERVER_VERSION);
$this->utf8mb4 = version_compare($serverVersion, '5.5.3', '>=');

if (!$this->utf8mb4)
Expand All @@ -142,8 +142,8 @@ public function connect()
}
}

$this->connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$this->connection->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
$this->connection->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
$this->connection->setAttribute(\PDO::ATTR_EMULATE_PREPARES, true);
}

/**
Expand Down

0 comments on commit c8e6bf9

Please sign in to comment.