@@ -25,7 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | public function setUp() |
| 27 | 27 | { |
| 28 | - $this->bindTraitClass = new class (BindTraitTest::BIND_DEFAULT) { |
|
| 28 | + $this->bindTraitClass = new class (BindTraitTest::BIND_DEFAULT) |
|
| 29 | + { |
|
| 29 | 30 | use BindTrait; |
| 30 | 31 | |
| 31 | 32 | /** |
@@ -27,7 +27,8 @@ |
||
| 27 | 27 | |
| 28 | 28 | public function setUp() |
| 29 | 29 | { |
| 30 | - $this->valueTraitClass = new class (ValueTraitTest::VALUE_DEFAULT, ValueTraitTest::VALUE_BIND_DEFAULT) { |
|
| 30 | + $this->valueTraitClass = new class (ValueTraitTest::VALUE_DEFAULT, ValueTraitTest::VALUE_BIND_DEFAULT) |
|
| 31 | + { |
|
| 31 | 32 | use ValueTrait; |
| 32 | 33 | |
| 33 | 34 | /** |
@@ -25,7 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | public function setUp() |
| 27 | 27 | { |
| 28 | - $this->columnTraitClass = new class (ColumnTraitTest::COLUMN_DEFAULT) { |
|
| 28 | + $this->columnTraitClass = new class (ColumnTraitTest::COLUMN_DEFAULT) |
|
| 29 | + { |
|
| 29 | 30 | use ColumnTrait; |
| 30 | 31 | |
| 31 | 32 | /** |
@@ -26,7 +26,8 @@ |
||
| 26 | 26 | |
| 27 | 27 | public function setUp() |
| 28 | 28 | { |
| 29 | - $this->groupByTraitClass = new class (GroupByTraitTest::GROUP_BY_DEFAULT) { |
|
| 29 | + $this->groupByTraitClass = new class (GroupByTraitTest::GROUP_BY_DEFAULT) |
|
| 30 | + { |
|
| 30 | 31 | use GroupByTrait; |
| 31 | 32 | |
| 32 | 33 | /** |
@@ -14,7 +14,8 @@ |
||
| 14 | 14 | |
| 15 | 15 | public function setUp() |
| 16 | 16 | { |
| 17 | - $this->commandTraitClass = new class () { |
|
| 17 | + $this->commandTraitClass = new class () |
|
| 18 | + { |
|
| 18 | 19 | use CommandTrait; |
| 19 | 20 | |
| 20 | 21 | /** |
@@ -22,7 +22,8 @@ |
||
| 22 | 22 | |
| 23 | 23 | public function setUp() |
| 24 | 24 | { |
| 25 | - $this->setTraitClass = new class (SetTraitTest::SET_BIND_DEFAULT, SetTraitTest::SET_DEFAULT) { |
|
| 25 | + $this->setTraitClass = new class (SetTraitTest::SET_BIND_DEFAULT, SetTraitTest::SET_DEFAULT) |
|
| 26 | + { |
|
| 26 | 27 | use BindTrait; |
| 27 | 28 | use SetTrait; |
| 28 | 29 | |
@@ -36,7 +36,8 @@ |
||
| 36 | 36 | $this->queryBuilder->method('bindData')->willReturn(static::QUERY_BUILDER_BIND_DATA); |
| 37 | 37 | $this->queryBuilder->method('buildQuery')->willReturn(static::QUERY_BUILDER_QUERY); |
| 38 | 38 | |
| 39 | - $this->unionTraitClass = new class () { |
|
| 39 | + $this->unionTraitClass = new class () |
|
| 40 | + { |
|
| 40 | 41 | use BindTrait; |
| 41 | 42 | use UnionTrait; |
| 42 | 43 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | const QUERY_BUILDER_COMMAND = CommandEnum::SELECT; |
| 16 | 16 | const QUERY_BUILDER_QUERY = <<<MySQL |
| 17 | 17 | SELECT col1, col2, col3 FROM table1 WHERE table1.col1 = :col1 AND table1.col2 IS NOT NULL |
| 18 | -MySQL; |
|
| 18 | +mysql; |
|
| 19 | 19 | const QUERY_BUILDER_BIND_DATA = [ |
| 20 | 20 | 'col1' => 'val1', |
| 21 | 21 | ]; |
@@ -26,7 +26,8 @@ |
||
| 26 | 26 | |
| 27 | 27 | public function setUp() |
| 28 | 28 | { |
| 29 | - $this->tableTraitClass = new class (TableTraitTest::TABLE_DEFAULT) { |
|
| 29 | + $this->tableTraitClass = new class (TableTraitTest::TABLE_DEFAULT) |
|
| 30 | + { |
|
| 30 | 31 | use TableTrait; |
| 31 | 32 | |
| 32 | 33 | /** |
@@ -21,7 +21,8 @@ |
||
| 21 | 21 | |
| 22 | 22 | public function setUp() |
| 23 | 23 | { |
| 24 | - $this->limitOffsetTraitClass = new class () { |
|
| 24 | + $this->limitOffsetTraitClass = new class () |
|
| 25 | + { |
|
| 25 | 26 | use LimitOffsetTrait; |
| 26 | 27 | |
| 27 | 28 | /** |