Skip to content

Commit

Permalink
Add php 8.3 matrix (#460)
Browse files Browse the repository at this point in the history
* Add php 8.3 matrix

* fix: Invalid test code.

* Revert "fix: Invalid test code."

This reverts commit f1a45e2.

* fix: Invalid test code.

* fix: Invalid test code.

---------

Co-authored-by: byzz <[email protected]>
  • Loading branch information
eyedroot and byzz authored Dec 9, 2023
1 parent 8b8f525 commit d130a23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.2, 8.1, 8.0]
php: [8.3, 8.2, 8.1, 8.0]
laravel: [10.*, 9.*, 8.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
Expand Down
3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<env name="APP_DEBUG" value="true"/>
</php>
</phpunit>
2 changes: 1 addition & 1 deletion tests/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@

$this->assertFalse($firstResponse->headers->has('X-Cached-At'));
assertTrue($secondResponse->headers->has('X-Cached-At'));
$this->assertInstanceOf(DateTime::class, $secondResponse->headers->getDate('X-Cached-At'));
$this->assertInstanceOf(DateTimeInterface::class, $secondResponse->headers->getDate('X-Cached-At'));

assertSameResponse($firstResponse, $secondResponse);
});
Expand Down

0 comments on commit d130a23

Please sign in to comment.