Skip to content

Commit 4cae18a

Browse files
committed
Add support for PHP v8
1 parent 947a8c8 commit 4cae18a

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/code-checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
matrix:
1414
php:
1515
- '7.4'
16+
- '8.0'
17+
- '8.1'
1618

1719
name: PHP ${{ matrix.php }} tests
1820

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
88
### Added
9+
- Add support for PHP v8
910
- Type declarations have been added to all parameters and return types.
1011
- Throw exception if required source schema is not set.
1112
### Changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"require": {
22-
"php": "^7.4",
22+
"php": "^7.4 || ^8.0",
2323
"ext-pdo": "*",
2424
"ext-pdo_mysql": "*",
2525
"symfony/console": "^3.2|^4|^5"

tests/SchemaInfoFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,11 @@ public function testFromPdoTableFilter(): void
276276
],
277277
[
278278
'with' => [$this->columnsSql],
279-
'return' => null,
279+
'return' => false,
280280
],
281281
[
282282
'with' => [$this->indexSql],
283-
'return' => null,
283+
'return' => false,
284284
],
285285
];
286286

0 commit comments

Comments
 (0)