src/Database/Migrator.php
Showing 4 of 4 total issues
Function migratePhp
has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring. Open
Open
protected function migratePhp($filepath, $action = 'up') { $migration = require $filepath; $callable = null; $schema = $this->newBlueprint();
- Read upRead up
Method migrate
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function migrate($action = 'up') { $migrated = 0; try {
Method migratePhp
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function migratePhp($filepath, $action = 'up') { $migration = require $filepath; $callable = null; $schema = $this->newBlueprint();
Function migrate
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
Open
public function migrate($action = 'up') { $migrated = 0; try {
- Read upRead up