Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
- windows-2022
php:
- 8.4
- 8.3
- 8.2
- 8.1
- 8.0
Expand All @@ -36,8 +38,8 @@ jobs:
extensions: sqlite3
coverage: xdebug
ini-file: development
# disable JIT on PHP 8.2 with Xdebug: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled.
ini-values: ${{ matrix.php == 8.2 && 'opcache.jit_buffer_size=0' || '' }}
# disable JIT on PHP 8.2+ with Xdebug: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled.
ini-values: ${{ matrix.php >= 8.2 && 'opcache.jit_buffer_size=0' || '' }}
- run: composer install
- run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml
if: ${{ matrix.php >= 7.3 }}
Expand Down
2 changes: 1 addition & 1 deletion tests/FunctionalFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function testOpenReturnsPromiseWhichFulfillsWithConnectionForMemoryPathAn
public function testOpenReturnsPromiseWhichRejectsWithExceptionWhenPathIsInvalid()
{
$factory = new Factory();
$promise = $factory->open('/dev/foobar');
$promise = $factory->open('/dev/foo/bar');

$promise->then(function (DatabaseInterface $db) {
echo 'open.';
Expand Down
2 changes: 1 addition & 1 deletion tests/Io/BlockingDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function testCtorThrowsForInvalidPath()
// legacy PHPUnit
$this->setExpectedException('Exception');
}
new BlockingDatabase('/dev/foobar');
new BlockingDatabase('/dev/foo/bar');
}

public function testExecReturnsRejectedPromiseForInvalidQuery()
Expand Down