diff --git a/.travis.yml b/.travis.yml index c8e95c01d4..b7e17d3694 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,14 +15,15 @@ addons: apt: packages: - libxml2-utils + env: global: - - CORE_BRANCH=master + - CORE_BRANCH=stable13 - APP_NAME=polls matrix: - DB=mysql - - DB=sqlite - DB=pgsql + - DB=sqlite cache: directories: diff --git a/lib/Migration/Version009000Date20171202105141.php b/lib/Migration/Version009000Date20171202105141.php index 97aeb503eb..ecfb6ec8af 100644 --- a/lib/Migration/Version009000Date20171202105141.php +++ b/lib/Migration/Version009000Date20171202105141.php @@ -24,7 +24,7 @@ namespace OCA\Polls\Migration; use Doctrine\DBAL\Types\Type; -use OC\DB\SchemaWrapper; +use OCP\DB\ISchemaWrapper; use OCP\Migration\SimpleMigrationStep; use OCP\Migration\IOutput; @@ -35,13 +35,13 @@ class Version009000Date20171202105141 extends SimpleMigrationStep { /** * @param IOutput $output - * @param \Closure $schemaClosure The `\Closure` returns a `SchemaWrapper` + * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` * @param array $options - * @return null|SchemaWrapper + * @return null|ISchemaWrapper * @since 13.0.0 */ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) { - /** @var SchemaWrapper $schema */ + /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); if (!$schema->hasTable('polls_events')) {