Skip to content

Commit 49c52ae

Browse files
authored
Update composer.json (#297)
* Update composer.json * up * up warnings * up * up * up * up * test coverage
1 parent e77c7ad commit 49c52ae

File tree

3 files changed

+17
-24
lines changed

3 files changed

+17
-24
lines changed

.github/workflows/run-tests.yml

+13-8
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,17 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
13-
laravel: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0"]
12+
php: ["7.2", "7.4", "8.0", "8.1", "8.2", "8.3"]
13+
laravel: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0", "^11.0"]
1414
exclude:
1515
- php: "8.0"
1616
laravel: "^10.0"
1717
- php: "7.4"
1818
laravel: "^10.0"
19-
- php: "7.3"
20-
laravel: "^10.0"
2119
- php: "7.2"
2220
laravel: "^10.0"
2321
- php: "7.4"
2422
laravel: "^9.0"
25-
- php: "7.3"
26-
laravel: "^9.0"
2723
- php: "7.2"
2824
laravel: "^9.0"
2925
- php: "8.3"
@@ -44,7 +40,16 @@ jobs:
4440
laravel: "^6.0"
4541
- php: "8.1"
4642
laravel: "^6.0"
47-
43+
- php: "7.2"
44+
laravel: "^11.0"
45+
- php: "7.4"
46+
laravel: "^11.0"
47+
- php: "8.0"
48+
laravel: "^11.0"
49+
- php: "8.1"
50+
laravel: "^11.0"
51+
- php: "8.2"
52+
laravel: "^11.0"
4853
name: "PHP${{ matrix.php }} - Laravel${{ matrix.laravel }}"
4954

5055
runs-on: "ubuntu-latest"
@@ -71,4 +76,4 @@ jobs:
7176
run: "composer dump-autoload --optimize --strict-psr"
7277

7378
- name: "Execute unit tests"
74-
run: "vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit=test-report.xml --testdox"
79+
run: "vendor/bin/phpunit"

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
],
2020
"require": {
2121
"php": "^7.2|^8.0",
22-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0"
22+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^7||^8.4|^9.3.3",
26-
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0"
25+
"phpunit/phpunit": "^7||^8.4|^9.3.3|^10.1",
26+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0"
2727
},
2828
"autoload": {
2929
"classmap": [

phpunit.xml

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit colors="true" bootstrap="./vendor/autoload.php" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false">
2+
<phpunit colors="true" bootstrap="./vendor/autoload.php">
33
<testsuites>
44
<testsuite name="all">
55
<directory suffix="Test.php">tests/</directory>
66
</testsuite>
77
</testsuites>
8-
<filter>
9-
<whitelist>
10-
<directory suffix=".php">src/</directory>
11-
</whitelist>
12-
</filter>
13-
<logging>
14-
<log type="tap" target="build/report.tap"/>
15-
<log type="junit" target="build/report.junit.xml"/>
16-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
17-
<log type="coverage-text" target="build/coverage.txt"/>
18-
<log type="coverage-clover" target="build/logs/clover.xml"/>
19-
</logging>
208
</phpunit>

0 commit comments

Comments
 (0)