Skip to content

Commit

Permalink
Ensure compatibility with PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lcobucci committed Oct 31, 2021
1 parent 047d954 commit 9217762
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- "development"
php-version:
- "8.0"
- "8.1"
operating-system:
- "ubuntu-latest"

Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
run: "make phpunit"

phpunit-rc:
name: "PHPUnit tests on PHP 8"
name: "PHPUnit tests on nightly"

runs-on: ${{ matrix.operating-system }}

Expand All @@ -73,7 +74,6 @@ jobs:
dependencies:
- "locked"
php-version:
- "8.1"
- "8.2"
operating-system:
- "ubuntu-latest"
Expand Down
2 changes: 1 addition & 1 deletion tests/Formatter/JsonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function formatShouldConvertAnyExceptionDuringJsonSerialization(): void
$this->formatContent(
new class implements JsonSerializable
{
public function jsonSerialize(): void
public function jsonSerialize(): mixed
{
throw new RuntimeException('This should be converted');
}
Expand Down

0 comments on commit 9217762

Please sign in to comment.