Skip to content

Commit

Permalink
Support for PHP 8.3. Dropped support for Laravel 9 (#11)
Browse files Browse the repository at this point in the history
* Support for PHP 8.3. Dropped support for Laravel 9

* Update phpunit.xml.dist
  • Loading branch information
pascalbaljet committed Jan 2, 2024
1 parent 12cbc55 commit c31d5e7
Show file tree
Hide file tree
Showing 4 changed files with 14 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 @@ -18,8 +18,8 @@ It's the *magic* of Inertia.js with the *simplicity* of Blade. [Splade](https://

## Requirements

* PHP 8.0+
* Laravel 9.0
* PHP 8.1+
* Laravel 10.0

## Installation

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
}
],
"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": {
"html2text/html2text": "^4.3",
"jeremykendall/php-domain-parser": "^6.0",
"laravel/ui": "^3.0|^4.0",
"laravel/ui": "^4.0",
"mockery/mockery": "^1.4.4",
"moneyphp/money": "^3.3",
"nesbot/carbon": "^2.66",
"orchestra/testbench": "^7.0 || ^8.0",
"phpunit/phpunit": "^9.5",
"orchestra/testbench": " ^8.0",
"phpunit/phpunit": "^10.4",
"spatie/laravel-sitemap": "^6.0",
"symfony/process": "^6.0"
},
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 c31d5e7

Please sign in to comment.