Skip to content

Commit 0e3f65e

Browse files
committed
Laravel 10 support
1 parent 71e2992 commit 0e3f65e

File tree

5 files changed

+20
-22
lines changed

5 files changed

+20
-22
lines changed

Diff for: .github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php: [8.0, 8.1]
11+
php: [8.1, 8.2]
1212
stability: [prefer-lowest, prefer-stable]
1313

1414
name: PHP ${{ matrix.php }} / ${{ matrix.stability }}
@@ -38,7 +38,7 @@ jobs:
3838
command: composer update --prefer-dist --${{ matrix.stability }} --no-interaction --no-progress --ansi
3939

4040
- name: Run tests
41-
run: vendor/bin/phpunit --verbose --colors=always --coverage-clover ./build/logs/clover.xml
41+
run: vendor/bin/phpunit --colors=always --coverage-clover ./build/logs/clover.xml
4242

4343
- name: Code coverage
4444
uses: codecov/codecov-action@v1

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.idea
2+
/.phpunit.cache
23
/.vscode
34
/vendor
45
.DS_Store

Diff for: README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[<img src="https://user-images.githubusercontent.com/1286821/181085373-12eee197-187a-4438-90fe-571ac6d68900.png" alt="Buy me a coffee" width="200" />](https://buymeacoffee.com/dmitry.ivanov)
66

77
[![StyleCI](https://github.styleci.io/repos/59570052/shield?branch=master&style=flat)](https://github.styleci.io/repos/59570052?branch=master)
8-
[![Build Status](https://img.shields.io/github/workflow/status/dmitry-ivanov/laravel-console-mutex/tests/master)](https://github.com/dmitry-ivanov/laravel-console-mutex/actions?query=workflow%3Atests+branch%3Amaster)
9-
[![Coverage Status](https://img.shields.io/codecov/c/github/dmitry-ivanov/laravel-console-mutex/master)](https://app.codecov.io/gh/dmitry-ivanov/laravel-console-mutex/branch/master)
8+
[![Build Status](https://img.shields.io/github/actions/workflow/status/dmitry-ivanov/laravel-console-mutex/tests.yml?branch=master)](https://github.com/dmitry-ivanov/laravel-console-mutex/actions?query=workflow%3Atests+branch%3Amaster)
9+
[![Coverage Status](https://img.shields.io/codecov/c/github/dmitry-ivanov/laravel-console-mutex/master)](https://app.codecov.io/gh/dmitry-ivanov/laravel-console-mutex/tree/master)
1010

1111
![Packagist Version](https://img.shields.io/packagist/v/illuminated/console-mutex)
1212
![Packagist Stars](https://img.shields.io/packagist/stars/illuminated/console-mutex)
@@ -17,6 +17,8 @@ Mutex for Laravel Console Commands.
1717

1818
| Laravel | Console Mutex |
1919
|---------|--------------------------------------------------------------------------|
20+
| 11.x | _[Support](https://buymeacoffee.com/dmitry.ivanov)_|
21+
| 10.x | [10.x](https://github.com/dmitry-ivanov/laravel-console-mutex/tree/10.x) |
2022
| 9.x | [9.x](https://github.com/dmitry-ivanov/laravel-console-mutex/tree/9.x) |
2123
| 8.x | [8.x](https://github.com/dmitry-ivanov/laravel-console-mutex/tree/8.x) |
2224
| 7.x | [7.x](https://github.com/dmitry-ivanov/laravel-console-mutex/tree/7.x) |
@@ -286,5 +288,4 @@ class ExampleCommand extends Command
286288

287289
Laravel Console Mutex is open-sourced software licensed under the [MIT license](LICENSE.md).
288290

289-
[<img src="https://user-images.githubusercontent.com/1286821/43086829-ff7c006e-8ea6-11e8-8b03-ecf97ca95b2e.png" alt="Support on Patreon" width="125" />](https://patreon.com/dmitryivanov)&nbsp;
290291
[<img src="https://user-images.githubusercontent.com/1286821/181085373-12eee197-187a-4438-90fe-571ac6d68900.png" alt="Buy me a coffee" width="200" />](https://buymeacoffee.com/dmitry.ivanov)&nbsp;

Diff for: composer.json

+8-9
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,19 @@
1212
"email": "[email protected]"
1313
}],
1414
"require": {
15-
"php": "^8.0.2",
15+
"php": "^8.1",
1616
"arvenil/ninja-mutex": "dev-master#82cbb2c",
17-
"illuminate/console": "^9.0",
18-
"illuminate/support": "^9.0",
19-
"ramsey/collection": "^1.2"
17+
"illuminate/console": "^10.0",
18+
"illuminate/support": "^10.0"
2019
},
2120
"require-dev": {
2221
"ext-redis": "*",
2322
"ext-pdo_mysql": "*",
24-
"phpunit/phpunit": "^9.5.10",
25-
"mockery/mockery": "^1.4.4",
26-
"orchestra/testbench": "^7.0",
27-
"illuminated/testing-tools": "^9.0",
28-
"predis/predis": "^1.1.9"
23+
"phpunit/phpunit": "^10.5",
24+
"mockery/mockery": "^1.5.1",
25+
"orchestra/testbench": "^8.0",
26+
"illuminated/testing-tools": "^10.0",
27+
"predis/predis": "^2.0.2"
2928
},
3029
"autoload": {
3130
"psr-4": {

Diff for: phpunit.xml.dist

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
33
backupGlobals="false"
4-
backupStaticAttributes="false"
4+
backupStaticProperties="false"
55
beStrictAboutTestsThatDoNotTestAnything="false"
66
beStrictAboutOutputDuringTests="true"
77
bootstrap="vendor/autoload.php"
8+
cacheDirectory=".phpunit.cache"
89
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
1210
processIsolation="false"
1311
stopOnError="false"
1412
stopOnFailure="false"
15-
verbose="true"
1613
>
1714
<testsuites>
1815
<testsuite name="Laravel Console Mutex Test Suite">
1916
<directory suffix="Test.php">./tests</directory>
2017
</testsuite>
2118
</testsuites>
2219

23-
<coverage processUncoveredFiles="true">
20+
<source>
2421
<include>
2522
<directory suffix=".php">./src</directory>
2623
</include>
27-
</coverage>
24+
</source>
2825
</phpunit>

0 commit comments

Comments
 (0)