This repository was archived by the owner on Dec 10, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +4
-6
lines changed
Expand file tree Collapse file tree 5 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 22
33namespace Spatie \BinaryUuid \Test \Benchmark ;
44
5- use Doctrine \DBAL \Exception \SyntaxErrorException ;
65use Faker \Factory ;
76use Doctrine \DBAL \Driver \Connection ;
87use Doctrine \DBAL \Logging \DebugStack ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public function name(): string
1414
1515 public function createTable ()
1616 {
17- $ this ->connection ->exec (<<<SQL
17+ $ this ->connection ->exec (<<<' SQL'
1818DROP TABLE IF EXISTS `binary_uuid`;
1919
2020CREATE TABLE `binary_uuid` (
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public function name(): string
1313
1414 public function createTable ()
1515 {
16- $ this ->connection ->exec (<<<SQL
16+ $ this ->connection ->exec (<<<' SQL'
1717DROP TABLE IF EXISTS `normal_id`;
1818
1919CREATE TABLE `normal_id` (
Original file line number Diff line number Diff line change 55use Ramsey \Uuid \Uuid ;
66use Ramsey \Uuid \UuidInterface ;
77use Spatie \BinaryUuid \Test \Benchmark \Result \InlineResult ;
8- use Spatie \BinaryUuid \Test \TestModel ;
98
109class OptimisedUuid extends Benchmark
1110{
@@ -16,7 +15,7 @@ public function name(): string
1615
1716 public function createTable ()
1817 {
19- $ this ->connection ->exec (<<<SQL
18+ $ this ->connection ->exec (<<<' SQL'
2019DROP TABLE IF EXISTS `optimised_uuid`;
2120
2221CREATE TABLE `optimised_uuid` (
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public function name(): string
1414
1515 public function createTable ()
1616 {
17- $ this ->connection ->exec (<<<SQL
17+ $ this ->connection ->exec (<<<' SQL'
1818DROP TABLE IF EXISTS `textual_uuid`;
1919
2020CREATE TABLE `textual_uuid` (
You can’t perform that action at this time.
0 commit comments