Skip to content

Commit

Permalink
Support for PHP 8.3. Dropped support for Laravel 9 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet authored Jan 2, 2024
1 parent faa03bb commit 3730a2e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 33 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.2, 8.1]
laravel: [10.*, 9.*]
php: [8.3, 8.2, 8.1]
laravel: [10.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ If you want to know more about the background of this package, please read [the

## Requirements

* PHP 8.0 or higher
* Laravel 9 or higher
* PHP 8.1 or higher
* Laravel 10 or higher

## Installation

Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
}
],
"require": {
"php": "^8.1|^8.2",
"illuminate/support": "^9.0|^10.0"
"php": "^8.1|^8.2|^8.3",
"illuminate/support": "^10.0"
},
"require-dev": {
"nesbot/carbon": "^2.66",
"orchestra/testbench": "^7.0|^8.0",
"phpunit/phpunit": "^9.5.10"
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.4"
},
"autoload": {
"psr-4": {
Expand Down
27 changes: 5 additions & 22 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
</phpunit>

0 comments on commit 3730a2e

Please sign in to comment.