protected function pretendToRun($name, $instance, $method)
    {
        $this->note(Decorate::info($name) . ': ');

        $queries = Db::pretend(function () use ($instance, $method) {
            $this->runMigration($instance, $method);
        });

        $sql = Highlighter::factory(SQL::class, Shell::class);

        foreach ($queries as $query) {
            $this->note($sql->highlight($query));
        }

        $this->note('');
    }
protected function pretendToRun($name, $instance, $method)
    {
        $this->note(Decorate::info($name) . ': ');

        $queries = Db::pretend(function () use ($instance, $method) {
            $this->runMigration($instance, $method);
        });

        $sql = Highlighter::factory(SQL::class, Shell::class);

        foreach ($queries as $query) {
            $this->note($sql->highlight($query));
        }

        $this->note('');
    }
protected function pretendToRun ( $ name , $ instance , $ method ) { $ this -> note ( Decorate :: info ( $ name ) . ': ' ) ; $ queries = Db :: pretend ( function ( ) use ( $ instance , $ method ) { $ this -> runMigration ( $ instance , $ method ) ; } ) ; $ sql = Highlighter :: factory ( SQL :: class , Shell :: class ) ; foreach ( $ queries as $ query ) { $ this -> note ( $ sql -> highlight ( $ query ) ) ; } $ this -> note ( '' ) ; }
Pretend to run the migrations.

@param $name
@param $instance
@param $method
Pretend to run the migrations .