Skip to content

Commit

Permalink
Merge pull request #3702 from morozov/sqlsrv-5.7.0preview
Browse files Browse the repository at this point in the history
Updated SQL Server extensions to fix build failures on PHP 7.4
  • Loading branch information
morozov authored Oct 17, 2019
2 parents 8012286 + 0dab22f commit cc405b8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ after_script:
fi
jobs:
allow_failures:
- php: 7.4snapshot

include:

- stage: Smoke Testing
Expand Down
4 changes: 3 additions & 1 deletion lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,9 @@ public function listTableDetails($tableName) : Table

$tableOptions = $this->_conn->fetchAssoc($sql);

$table->addOption('comment', $tableOptions['table_comment']);
if ($tableOptions !== false) {
$table->addOption('comment', $tableOptions['table_comment']);
}

return $table;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/travis/install-mssql-pdo_sqlsrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -ex

echo "Installing extension"

pecl install pdo_sqlsrv
pecl install pdo_sqlsrv-5.7.0preview
2 changes: 1 addition & 1 deletion tests/travis/install-mssql-sqlsrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -ex

echo "Installing extension"

pecl install sqlsrv
pecl install sqlsrv-5.7.0preview

0 comments on commit cc405b8

Please sign in to comment.