Skip to content

Commit 4f2581c

Browse files
committed
Coding style patch (PSR-2)
1 parent 1a7cfa8 commit 4f2581c

File tree

8 files changed

+4
-11
lines changed

8 files changed

+4
-11
lines changed

src/DefaultNamingStrategy.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
namespace TheCodingMachine\FluidSchema;
55

6-
76
use Doctrine\Common\Inflector\Inflector;
87

98
class DefaultNamingStrategy implements NamingStrategyInterface
@@ -49,4 +48,4 @@ private function toSingular($plural): string
4948

5049
return implode('_', $strs);
5150
}
52-
}
51+
}

src/FluidColumn.php

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

44
namespace TheCodingMachine\FluidSchema;
55

6-
76
use Doctrine\DBAL\Schema\Column;
87
use Doctrine\DBAL\Schema\Table;
98
use Doctrine\DBAL\Types\Type;

src/FluidColumnOptions.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
namespace TheCodingMachine\FluidSchema;
55

6-
76
use Doctrine\DBAL\Schema\Column;
87
use Doctrine\DBAL\Types\Type;
98

@@ -105,5 +104,4 @@ public function column($name): FluidColumn
105104
{
106105
return $this->fluidTable->column($name);
107106
}
108-
109107
}

src/FluidSchema.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,4 @@ public function getDbalSchema(): Schema
7777
{
7878
return $this->schema;
7979
}
80-
8180
}

src/FluidSchemaException.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
class FluidSchemaException extends \Exception
55
{
6-
7-
}
6+
}

src/NamingStrategyInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ public function getJointureTableName(string $table1, string $table2): string;
2020
* @return string
2121
*/
2222
public function getForeignKeyColumnName(string $targetTable): string;
23-
}
23+
}

tests/FluidColumnTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ public function testReferenceException()
142142
$this->expectException(FluidSchemaException::class);
143143
$users->column('country_id')->references('countries', 'myfk');
144144
}
145-
}
145+
}

tests/FluidSchemaTest.php

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

33
namespace TheCodingMachine\FluidSchema;
44

5-
65
use Doctrine\DBAL\Schema\Schema;
76
use PHPUnit\Framework\TestCase;
87

0 commit comments

Comments
 (0)