File tree 5 files changed +15
-9
lines changed
5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 74
74
needs : [ test, upload-coverage ]
75
75
steps :
76
76
- uses : actions/checkout@v2
77
- - uses : actions/setup-node@v1
77
+ - uses : actions/setup-node@v2
78
78
with :
79
- node-version : ' 14.17 '
79
+ node-version : ' lts/* '
80
80
81
81
- name : Run semantic-release
82
82
env :
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ composer.lock
6
6
* .iml
7
7
8
8
# coverage report
9
- /build
9
+ /build
10
+ .phpunit *
Original file line number Diff line number Diff line change 1
1
# Yii-Permission
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /php-casbin/yii-permission. svg?branch=master )] ( https://travis-ci.org /php-casbin/yii-permission )
3
+ [ ![ Build Status] ( https://github.com /php-casbin/yii-permission/actions/workflows/build.yml/badge. svg?branch=master )] ( https://github.com /php-casbin/yii-permission/actions/workflows/build.yml )
4
4
[ ![ Coverage Status] ( https://coveralls.io/repos/github/php-casbin/yii-permission/badge.svg )] ( https://coveralls.io/github/php-casbin/yii-permission )
5
5
[ ![ Latest Stable Version] ( https://poser.pugx.org/casbin/yii-permission/v/stable )] ( https://packagist.org/packages/casbin/yii-permission )
6
6
[ ![ Total Downloads] ( https://poser.pugx.org/casbin/yii-permission/downloads )] ( https://packagist.org/packages/casbin/yii-permission )
Original file line number Diff line number Diff line change 23
23
"casbin/casbin" : " ~3.1"
24
24
},
25
25
"require-dev" : {
26
- "phpunit/phpunit" : " ~7.0" ,
26
+ "phpunit/phpunit" : " ~7.0|~8.0|~9.0|~10.5 " ,
27
27
"php-coveralls/php-coveralls" : " ^2.1" ,
28
28
"yiisoft/yii2-app-basic" : " ~2.0.14"
29
29
},
42
42
"type" : " composer" ,
43
43
"url" : " https://asset-packagist.org"
44
44
}
45
- ]
46
- }
45
+ ],
46
+ "config" : {
47
+ "allow-plugins" : {
48
+ "yiisoft/yii2-composer" : true
49
+ }
50
+ }
51
+ }
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ protected function refreshApplication()
382
382
/**
383
383
* This method is called before each test.
384
384
*/
385
- protected function setUp ()/* The :void return type declaration that should be here would cause a BC issue */
385
+ protected function setUp (): void /* The :void return type declaration that should be here would cause a BC issue */
386
386
{
387
387
if (!$ this ->app ) {
388
388
$ this ->refreshApplication ();
@@ -394,7 +394,7 @@ protected function setUp()/* The :void return type declaration that should be he
394
394
/**
395
395
* This method is called after each test.
396
396
*/
397
- protected function tearDown ()/* The :void return type declaration that should be here would cause a BC issue */
397
+ protected function tearDown (): void /* The :void return type declaration that should be here would cause a BC issue */
398
398
{
399
399
}
400
400
You can’t perform that action at this time.
0 commit comments