File tree Expand file tree Collapse file tree 7 files changed +11
-13
lines changed Expand file tree Collapse file tree 7 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
normalize :
10
10
timeout-minutes : 15
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-20.04
12
12
steps :
13
13
- name : Git checkout
14
14
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 7
7
fix-style :
8
8
name : Fix Code Style
9
9
timeout-minutes : 15
10
- runs-on : ubuntu-latest
10
+ runs-on : ubuntu-20.04
11
11
env :
12
12
COMPOSER_NO_INTERACTION : 1
13
13
20
20
with :
21
21
php-version : 7.4
22
22
coverage : none
23
- tools : composer:v2
24
23
25
24
- name : Install dependencies
26
25
run : composer update --prefer-dist --no-progress
Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
php-lumen-integration-tests :
15
- runs-on : ubuntu-latest
15
+ runs-on : ubuntu-20.04
16
16
timeout-minutes : 15
17
17
env :
18
18
COMPOSER_NO_INTERACTION : 1
@@ -35,13 +35,12 @@ jobs:
35
35
with :
36
36
php-version : ${{ matrix.php }}
37
37
coverage : none
38
- tools : composer:v2
39
38
40
39
- name : Install dependencies
41
40
run : |
42
41
composer create-project --prefer-dist laravel/lumen:${{ matrix.lumen }} --no-progress sample
43
42
cd sample
44
- composer require "league/flysystem" --no-update --no-progress
43
+ composer require "league/flysystem:^1 " --no-update --no-progress
45
44
composer update --prefer-stable --prefer-dist --no-progress
46
45
47
46
- name : Add package from source
73
72
if [ `ls -1q "sample/storage/logs/" | wc -l` -gt 0 ];then exit 1;fi
74
73
75
74
php-laravel-integration-tests :
76
- runs-on : ubuntu-latest
75
+ runs-on : ubuntu-20.04
77
76
timeout-minutes : 15
78
77
env :
79
78
COMPOSER_NO_INTERACTION : 1
96
95
with :
97
96
php-version : ${{ matrix.php }}
98
97
coverage : none
99
- tools : composer:v2
100
98
101
99
- name : Install dependencies
102
100
run : |
Original file line number Diff line number Diff line change 9
9
jobs :
10
10
build :
11
11
timeout-minutes : 15
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-20.04
13
13
14
14
steps :
15
15
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
php-tests :
15
- runs-on : ubuntu-latest
15
+ runs-on : ubuntu-20.04
16
16
timeout-minutes : 15
17
17
env :
18
18
COMPOSER_NO_INTERACTION : 1
37
37
with :
38
38
php-version : ${{ matrix.php }}
39
39
coverage : none
40
- tools : composer:v2
40
+ extensions : pdo_sqlite
41
41
42
42
- name : Install dependencies
43
43
run : |
Original file line number Diff line number Diff line change 31
31
"phpdocumentor/type-resolver" : " ^1.1.0"
32
32
},
33
33
"require-dev" : {
34
+ "ext-pdo_sqlite" : " *" ,
34
35
"friendsofphp/php-cs-fixer" : " ^2" ,
35
36
"illuminate/config" : " ^6 || ^7 || ^8" ,
36
37
"illuminate/view" : " ^6 || ^7 || ^8" ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefau
35
35
//Method inherited from <?= $ method ->getDeclaringClass () ?>
36
36
<?php endif ; ?>
37
37
38
- <?php if ($ method ->isInstanceCall ()) :?>
38
+ <?php if ($ method ->isInstanceCall ()) : ?>
39
39
/** @var <?= $ method ->getRoot ()?> $instance */
40
40
<?php endif ?>
41
41
<?= $ method ->shouldReturn () ? 'return ' : '' ?> <?= $ method ->getRootMethodCall () ?> ;
@@ -58,7 +58,7 @@ public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefau
58
58
//Method inherited from <?= $ method ->getDeclaringClass () ?>
59
59
<?php endif ; ?>
60
60
61
- <?php if ($ method ->isInstanceCall ()) :?>
61
+ <?php if ($ method ->isInstanceCall ()) : ?>
62
62
/** @var <?= $ method ->getRoot ()?> $instance */
63
63
<?php endif ?>
64
64
<?= $ method ->shouldReturn () ? 'return ' : '' ?> <?= $ method ->getRootMethodCall () ?> ;
You can’t perform that action at this time.
0 commit comments