Skip to content
This repository was archived by the owner on Dec 10, 2018. It is now read-only.

Commit f1eff44

Browse files
authored
Merge pull request #23 from spatie/analysis-Xa0dgW
Apply fixes from StyleCI
2 parents 5fdadc1 + 3f5fdff commit f1eff44

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

tests/Benchmark/Benchmark.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Spatie\BinaryUuid\Test\Benchmark;
44

5-
use Doctrine\DBAL\Exception\SyntaxErrorException;
65
use Faker\Factory;
76
use Doctrine\DBAL\Driver\Connection;
87
use Doctrine\DBAL\Logging\DebugStack;

tests/Benchmark/BinaryUuid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'
1818
DROP TABLE IF EXISTS `binary_uuid`;
1919
2020
CREATE TABLE `binary_uuid` (

tests/Benchmark/NormalId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'
1717
DROP TABLE IF EXISTS `normal_id`;
1818
1919
CREATE TABLE `normal_id` (

tests/Benchmark/OptimisedUuid.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Ramsey\Uuid\Uuid;
66
use Ramsey\Uuid\UuidInterface;
77
use Spatie\BinaryUuid\Test\Benchmark\Result\InlineResult;
8-
use Spatie\BinaryUuid\Test\TestModel;
98

109
class 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'
2019
DROP TABLE IF EXISTS `optimised_uuid`;
2120
2221
CREATE TABLE `optimised_uuid` (

tests/Benchmark/TextualUuid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'
1818
DROP TABLE IF EXISTS `textual_uuid`;
1919
2020
CREATE TABLE `textual_uuid` (

0 commit comments

Comments
 (0)