Skip to content

Commit f9890f1

Browse files
authored
Merge pull request #11 from protonemedia/php-83
Support for PHP 8.3. Dropped support for Laravel 9
2 parents b1c8dd9 + c2668cb commit f9890f1

File tree

5 files changed

+14
-34
lines changed

5 files changed

+14
-34
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.1, 8.2]
17-
laravel: [9.*, 10.*]
16+
php: [8.1, 8.2, 8.3]
17+
laravel: [10.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: 10.*
2121
testbench: 8.*
22-
- laravel: 9.*
23-
testbench: 7.*
2422

2523
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2624

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ It's the *magic* of Inertia.js with the *simplicity* of Blade. [Splade](https://
2626
* Updates and restores the `.env` file.
2727
* Works with [Laravel Dusk](https://laravel.com/docs/9.x/dusk).
2828
* Works on [GitHub Actions](#github-actions)
29-
* Compatible with Laravel 9.0.
30-
* PHP 8.0 or higher is required.
29+
* Compatible with Laravel 10.
30+
* PHP 8.1 or higher is required.
3131

3232
## Installation
3333

composer.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,18 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1|^8.2",
19+
"php": "^8.1|^8.2|^8.3",
2020
"guzzlehttp/guzzle": "^7.4",
21-
"illuminate/contracts": "^9.0|^10.0",
21+
"illuminate/contracts": "^10.0",
2222
"spatie/laravel-package-tools": "^1.9.2",
2323
"spatie/temporary-directory": "^2.1"
2424
},
2525
"require-dev": {
26-
"nesbot/carbon": "^2.66",
27-
"nunomaduro/collision": "^6.0",
28-
"orchestra/testbench": "^7.0|^8.0",
29-
"pestphp/pest": "^1.21",
30-
"pestphp/pest-plugin-laravel": "^1.1",
31-
"phpunit/phpunit": "^9.5"
26+
"nunomaduro/collision": "^7.0",
27+
"orchestra/testbench": "^8.0",
28+
"pestphp/pest": "^2.0",
29+
"pestphp/pest-plugin-laravel": "^2.0",
30+
"phpunit/phpunit": "^10.4"
3231
},
3332
"autoload": {
3433
"psr-4": {

phpunit.xml.dist

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,19 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
55
backupGlobals="false"
6-
backupStaticAttributes="false"
76
bootstrap="vendor/autoload.php"
87
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
128
processIsolation="false"
139
stopOnFailure="false"
1410
executionOrder="random"
1511
failOnWarning="true"
1612
failOnRisky="true"
1713
failOnEmptyTestSuite="true"
1814
beStrictAboutOutputDuringTests="true"
19-
verbose="true"
2015
>
2116
<testsuites>
2217
<testsuite name="ProtoneMedia Test Suite">
2318
<directory>tests</directory>
2419
</testsuite>
2520
</testsuites>
26-
<coverage>
27-
<include>
28-
<directory suffix=".php">./src</directory>
29-
</include>
30-
<report>
31-
<html outputDirectory="build/coverage"/>
32-
<text outputFile="build/coverage.txt"/>
33-
<clover outputFile="build/logs/clover.xml"/>
34-
</report>
35-
</coverage>
36-
<logging>
37-
<junit outputFile="build/report.junit.xml"/>
38-
</logging>
39-
</phpunit>
21+
</phpunit>

tests/UsesMinIOServerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
use Illuminate\Foundation\Testing\TestCase;
44
use Illuminate\Support\Facades\Artisan;
55
use Illuminate\Support\Facades\Http;
6+
use Illuminate\Support\Str;
67
use Orchestra\Testbench\Concerns\CreatesApplication;
78
use ProtoneMedia\LaravelMinioTestingTools\UsesMinIOServer;
89

@@ -19,7 +20,7 @@ class DummyTestCase extends TestCase
1920

2021
Artisan::call('config:clear');
2122

22-
$this->testCase = new DummyTestCase;
23+
$this->testCase = new DummyTestCase(Str::random());
2324
});
2425

2526
it('returns the configured port', function () {

0 commit comments

Comments
 (0)