diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index a760a4c..461df62 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 62993b7..c3f66b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.0] - 2024-08-02 + +### Added + +- Support for PHPUnit 10. + +### Removed + +- Support for PHP 7.2 and PHPUnit 9. + ## [1.3.0] - 2023-04-28 ### Added diff --git a/src/StreamIntegrationTest.php b/src/StreamIntegrationTest.php index a218541..a677142 100644 --- a/src/StreamIntegrationTest.php +++ b/src/StreamIntegrationTest.php @@ -315,7 +315,7 @@ public function testGetContentsError() fclose($resource); - $this->expectException(class_exists(\Throwable::class) ? \Throwable::class : \RuntimeException::class); + $this->expectException(interface_exists(\Throwable::class) ? \Throwable::class : \RuntimeException::class); $stream->getContents(); } }