src/Hodor/Database/Phpmig/PgsqlPhpmigAdapter.php
Showing 2 of 2 total issues
Method down
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function down(Migration $migration) { $version = $migration->getVersion(); $sql = <<<SQLSELECT *
- Create a ticketCreate a ticket
Avoid using short method names like PgsqlPhpmigAdapter::up(). The configured minimum method name length is 3. Open
Open
public function up(Migration $migration) { $migration_reflection = new ReflectionClass(get_class($migration)); $this->yo_pdo->insert('migrations.migrations', [
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks