Skip to content

Commit e6ca2e5

Browse files
committed
Fixed Travis CI + nextcloud/server#7909
1 parent 950fc5e commit e6ca2e5

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ addons:
1515
apt:
1616
packages:
1717
- libxml2-utils
18+
1819
env:
1920
global:
20-
- CORE_BRANCH=master
21+
- CORE_BRANCH=stable13
2122
- APP_NAME=polls
2223
matrix:
2324
- DB=mysql
24-
- DB=sqlite
2525
- DB=pgsql
26+
- DB=sqlite
2627

2728
cache:
2829
directories:

lib/Migration/Version009000Date20171202105141.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace OCA\Polls\Migration;
2525

2626
use Doctrine\DBAL\Types\Type;
27-
use OC\DB\SchemaWrapper;
27+
use OCP\DB\ISchemaWrapper;
2828
use OCP\Migration\SimpleMigrationStep;
2929
use OCP\Migration\IOutput;
3030

@@ -35,13 +35,13 @@ class Version009000Date20171202105141 extends SimpleMigrationStep {
3535

3636
/**
3737
* @param IOutput $output
38-
* @param \Closure $schemaClosure The `\Closure` returns a `SchemaWrapper`
38+
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
3939
* @param array $options
40-
* @return null|SchemaWrapper
40+
* @return null|ISchemaWrapper
4141
* @since 13.0.0
4242
*/
4343
public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
44-
/** @var SchemaWrapper $schema */
44+
/** @var ISchemaWrapper $schema */
4545
$schema = $schemaClosure();
4646

4747
if (!$schema->hasTable('polls_events')) {

0 commit comments

Comments
 (0)