From e6ca2e51993c46676e3919845ef0414e5aa92004 Mon Sep 17 00:00:00 2001 From: splitt3r Date: Wed, 17 Jan 2018 22:48:28 +0100 Subject: [PATCH] Fixed Travis CI + https://github.com/nextcloud/server/pull/7909 --- .travis.yml | 5 +++-- lib/Migration/Version009000Date20171202105141.php | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) 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')) {