Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
matrix:
dependencies: ["lowest", "highest"]
php-version:
- "8.2"
- "8.3"

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@master
with:
php-version: 8.2
php-version: 8.3
coverage: xdebug
- name: Load dependencies from cache
id: composer-cache
Expand All @@ -23,9 +23,9 @@ jobs:
- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php8.2-composer-${{ hashFiles('**/composer.json') }}
key: ${{ runner.os }}-php8.3-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-php8.2-composer-
${{ runner.os }}-php8.3-composer-

- run: composer install --prefer-dist --no-progress --no-suggest
- run: php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
}
},
"require": {
"php": "^8.2",
"symfony/console": "^6.0|^7.0",
"php": "^8.3",
"symfony/console": "^7.4|^8.0",
"doctrine/dbal": "^3.1|^4.0"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions tests/Command/WaitForDatabaseCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function testDatabaseAvailableAfterRetry(): void
$this->assertSame(0, $result);

preg_match_all('/Connection failed/', $tester->getDisplay(), $match);
$this->assertCount(1, $match[0] ?? []);
$this->assertCount(1, $match[0]);
}

public function testDatabaseFailAfterRetry(): void
Expand Down Expand Up @@ -97,6 +97,6 @@ public function testDatabaseFailAfterRetry(): void
$this->assertSame(200, $result);

preg_match_all('/Connection failed/', $tester->getDisplay(), $match);
$this->assertCount(4, $match[0] ?? []);
$this->assertCount(4, $match[0]);
}
}
Loading