This repository was archived by the owner on Mar 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +66
-25
lines changed Expand file tree Collapse file tree 8 files changed +66
-25
lines changed Original file line number Diff line number Diff line change
1
+ name : normalize composer.json
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' composer.json'
7
+
8
+ jobs :
9
+ normalize :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Git checkout
13
+ uses : actions/checkout@v2
14
+
15
+ - name : normalize composer.json
16
+ run : |
17
+ composer global require ergebnis/composer-normalize
18
+ composer normalize
19
+
20
+ - uses : stefanzweifel/git-auto-commit-action@v4.0.0
21
+ with :
22
+ commit_message : normalize composer.json
Original file line number Diff line number Diff line change 10
10
matrix :
11
11
os : [ubuntu-latest]
12
12
php : [7.4]
13
- laravel : [6.*]
13
+ laravel : [7.*, 6.*]
14
14
dependency-version : [prefer-lowest, prefer-stable]
15
+ include :
16
+ - laravel : 7.*
17
+ testbench : 5.*
18
+ - laravel : 6.*
19
+ testbench : 4.*
15
20
16
21
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
17
22
34
39
35
40
- name : Install dependencies
36
41
run : |
37
- composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
42
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
38
43
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
39
44
40
45
- name : phpunit
Original file line number Diff line number Diff line change 1
1
/vendor /
2
+ /vendor-bin /** /vendor
2
3
/composer.lock
3
4
/phpunit.xml
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this package will be documented in this file.
4
4
5
+ ## v0.6.0
6
+
7
+ * add Laravel 7 support
8
+
5
9
## v0.5.0
6
10
7
11
* upgrade ` astrotomic/laravel-guzzle ` to v2.0.0
Original file line number Diff line number Diff line change 19
19
],
20
20
"require" : {
21
21
"php" : " ^7.4" ,
22
- "astrotomic/laravel-guzzle" : " ^2.0 " ,
23
- "illuminate/cache" : " ^6.0" ,
24
- "illuminate/support" : " ^6.0"
22
+ "astrotomic/laravel-guzzle" : " ^2.1 " ,
23
+ "illuminate/cache" : " ^6.0 || ^7.0 " ,
24
+ "illuminate/support" : " ^6.0 || ^7.0 "
25
25
},
26
26
"require-dev" : {
27
- "codedungeon/phpunit-result-printer" : " ^0.26.2" ,
28
- "elbgoods/ci-test-tools" : " ^1.5.1" ,
29
- "nunomaduro/collision" : " ^3.0" ,
30
- "orchestra/testbench" : " ^4.0" ,
31
- "phpunit/phpunit" : " ^8.0"
27
+ "bamarni/composer-bin-plugin" : " ^1.3" ,
28
+ "orchestra/testbench" : " ^4.0 || ^5.0" ,
29
+ "phpunit/phpunit" : " ^8.0 || ^9.0"
30
+ },
31
+ "config" : {
32
+ "sort-packages" : true
33
+ },
34
+ "extra" : {
35
+ "laravel" : {
36
+ "providers" : [
37
+ " Elbgoods\\ TrashmailRule\\ TrashmailRuleServiceProvider"
38
+ ]
39
+ }
32
40
},
33
41
"autoload" : {
34
42
"psr-4" : {
40
48
"Elbgoods\\ TrashmailRule\\ Tests\\ " : " tests"
41
49
}
42
50
},
43
- "config " : {
44
- "sort-packages " : true
45
- },
46
- "extra " : {
47
- "laravel" : {
48
- "providers" : [
49
- " Elbgoods \\ TrashmailRule \\ TrashmailRuleServiceProvider "
50
- ]
51
- }
51
+ "minimum-stability " : " dev " ,
52
+ "prefer-stable " : true ,
53
+ "scripts" : {
54
+ "post-install-cmd " : [
55
+ " @composer bin all install --ansi "
56
+ ],
57
+ "post-update-cmd" : [
58
+ " @composer bin all update --ansi "
59
+ ]
52
60
}
53
61
}
Original file line number Diff line number Diff line change 1
1
includes:
2
- - ./vendor/nunomaduro/larastan/extension.neon
3
- - ./vendor/elbgoods/ci-test-tools/configs/phpstan.neon.dist
2
+ - ./vendor-bin/elbgoods/vendor /nunomaduro/larastan/extension.neon
3
+ - ./vendor-bin/elbgoods/vendor /elbgoods/ci-test-tools/configs/phpstan.neon.dist
4
4
5
5
parameters:
6
6
paths:
Original file line number Diff line number Diff line change 10
10
convertWarningsToExceptions =" true"
11
11
processIsolation =" false"
12
12
stopOnFailure =" false"
13
- printerClass =" Codedungeon\PHPUnitPrettyResultPrinter\Printer"
14
13
>
15
14
<testsuites >
16
15
<testsuite name =" TestSuite" >
22
21
<directory suffix =" .php" >./src</directory >
23
22
</whitelist >
24
23
</filter >
25
- <listeners >
26
- <listener class =" NunoMaduro\Collision\Adapters\Phpunit\Listener" />
27
- </listeners >
28
24
<php >
29
25
<env name =" CACHE_DRIVER" value =" file" />
30
26
</php >
Original file line number Diff line number Diff line change
1
+ {
2
+ "require-dev" : {
3
+ "elbgoods/ci-test-tools" : " ^1.7"
4
+ }
5
+ }
You can’t perform that action at this time.
0 commit comments