Skip to content

Commit 8947e6c

Browse files
authored
Merge pull request #2 from poldixd/laravel-11-support
- Added Laravel 11 Support - Removed PHP 8.1 Support - Removed Laravel 9 Support
2 parents 391c182 + 71523ac commit 8947e6c

File tree

4 files changed

+30
-24
lines changed

4 files changed

+30
-24
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ jobs:
1010
strategy:
1111
fail-fast: true
1212
matrix:
13-
php: [8.1, 8.2]
14-
laravel: [10.*, 9.*]
13+
php: [8.2, 8.3, 8.4]
14+
laravel: [11.*, 10.*]
1515
dependency-version: [prefer-stable]
1616
include:
17+
- laravel: 11.*
18+
testbench: 9.*
1719
- laravel: 10.*
1820
testbench: 8.*
19-
- laravel: 9.*
20-
testbench: 7.*
2121

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

2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Cache dependencies
29-
uses: actions/cache@v1
29+
uses: actions/cache@v4
3030
with:
3131
path: ~/.composer/cache/files
3232
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to `human-readable-time` will be documented in this file
44

5+
## 1.2.0 - 2022-04-03
6+
7+
- Added Laravel 11 Support
8+
- Removed PHP 8.1 Support
9+
- Removed Laravel 9 Support
10+
511
## 1.1.0 - 2022-04-03
612

713
- Added Laravel 10 Support

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
],
1010
"require": {
1111
"php": "^8.1",
12-
"illuminate/support": "^9.0|^10.0"
12+
"illuminate/support": "^10.0|^11.0"
1313
},
1414
"require-dev": {
15-
"orchestra/testbench": "^7.0|^8.0",
16-
"pestphp/pest": "^1.22",
17-
"pestphp/pest-plugin-laravel": "^1.4",
18-
"spatie/pest-plugin-snapshots": "^1.1",
19-
"spatie/pest-plugin-test-time": "^1.1"
15+
"orchestra/testbench": "^8.0|^9.0",
16+
"pestphp/pest": "^2.0",
17+
"pestphp/pest-plugin-laravel": "^2.0",
18+
"spatie/pest-plugin-snapshots": "^2.0",
19+
"spatie/pest-plugin-test-time": "^2.0"
2020
},
2121
"autoload": {
2222
"psr-4": {

phpunit.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit colors="true" stopOnFailure="false" backupGlobals="false" processIsolation="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true">
3-
<testsuites>
4-
<testsuite name="Unit">
5-
<directory suffix="Test.php">./tests</directory>
6-
</testsuite>
7-
</testsuites>
8-
<filter>
9-
<whitelist processUncoveredFilesFromWhitelist="true">
10-
<directory suffix=".php">./src</directory>
11-
</whitelist>
12-
</filter>
13-
</phpunit>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" stopOnFailure="false" backupGlobals="false" processIsolation="false" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<testsuites>
4+
<testsuite name="Unit">
5+
<directory suffix="Test.php">./tests</directory>
6+
</testsuite>
7+
</testsuites>
8+
<source>
9+
<include>
10+
<directory suffix=".php">./src</directory>
11+
</include>
12+
</source>
13+
</phpunit>

0 commit comments

Comments
 (0)