Skip to content

Commit 270e8ba

Browse files
committed
Laravel 10 support
1 parent 45c1106 commit 270e8ba

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

.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 }}
@@ -37,7 +37,7 @@ jobs:
3737
command: composer update --prefer-dist --${{ matrix.stability }} --no-interaction --no-progress --ansi
3838

3939
- name: Run tests
40-
run: vendor/bin/phpunit --verbose --colors=always --coverage-clover ./build/logs/clover.xml
40+
run: vendor/bin/phpunit --colors=always --coverage-clover ./build/logs/clover.xml
4141

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

.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

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Laravel-specific and pure PHP Helper Functions.
1717

1818
| Laravel | Helper Functions |
1919
|---------|-----------------------------------------------------------------------------|
20+
| 11.x | _[Support](https://buymeacoffee.com/dmitry.ivanov)_|
21+
| 10.x | [10.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/10.x) |
2022
| 9.x | [9.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/9.x) |
2123
| 8.x | [8.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/8.x) |
2224
| 7.x | [7.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/7.x) |

composer.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
"email": "dmitry.g.ivanov@gmail.com"
1313
}],
1414
"require": {
15-
"php": "^8.0.2",
15+
"php": "^8.1",
1616
"ext-dom": "*",
1717
"ext-simplexml": "*",
18-
"illuminate/support": "^9.0",
19-
"nesbot/carbon": "^2.53.1",
20-
"symfony/filesystem": "^6.0",
21-
"symfony/finder": "^6.0",
22-
"symfony/process": "^6.0",
23-
"symfony/var-dumper": "^6.0",
18+
"illuminate/support": "^10.0",
19+
"nesbot/carbon": "^2.67",
20+
"symfony/filesystem": "^6.2",
21+
"symfony/finder": "^6.2",
22+
"symfony/process": "^6.2",
23+
"symfony/var-dumper": "^6.2",
2424
"spatie/array-to-xml": "^3.0"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^9.5.10",
28-
"mockery/mockery": "^1.4.4",
29-
"illuminated/testing-tools": "^9.0"
27+
"phpunit/phpunit": "^10.5",
28+
"mockery/mockery": "^1.5.1",
29+
"illuminated/testing-tools": "^10.0"
3030
},
3131
"autoload": {
3232
"files": [

phpunit.xml.dist

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
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 Helper Functions 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>
2724
<exclude>
2825
<file>./src/autoload.php</file>
2926
</exclude>
30-
</coverage>
27+
</source>
3128
</phpunit>

0 commit comments

Comments
 (0)