File tree Expand file tree Collapse file tree 4 files changed +21
-23
lines changed Expand file tree Collapse file tree 4 files changed +21
-23
lines changed Original file line number Diff line number Diff line change 10
10
name : PHPStan
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v2
13
+ uses : actions/checkout@v3
14
14
- name : PHPStan
15
15
uses : docker://oskarstark/phpstan-ga
16
16
env :
@@ -22,30 +22,34 @@ jobs:
22
22
name : PHP-CS-Fixer
23
23
steps :
24
24
- name : Checkout
25
- uses : actions/checkout@v2
25
+ uses : actions/checkout@v3
26
26
- name : Fix CS
27
27
uses : docker://oskarstark/php-cs-fixer-ga
28
28
tests :
29
29
runs-on : ubuntu-20.04
30
30
strategy :
31
31
matrix :
32
32
php :
33
- - ' 7.4'
34
33
- ' 8.0'
34
+ - ' 8.1'
35
+ - ' 8.2'
35
36
include :
36
- - description : ' Symfony 4 .4'
37
- php : ' 7.4 '
37
+ - description : ' Symfony 5 .4'
38
+ php : ' 8.0 '
38
39
composer_option : ' --prefer-lowest'
39
- - description : ' Symfony 5.3'
40
- php : ' 7.4'
41
- symfony : 5.3.*
42
40
- description : ' Symfony 6.0'
43
- php : ' 8.0'
44
- symfony : 6.0.*-dev
41
+ php : ' 8.1'
42
+ symfony : 6.0.*
43
+ - description : ' Symfony 6.1'
44
+ php : ' 8.1'
45
+ symfony : 6.1.*
46
+ - description : ' Symfony 6.2'
47
+ php : ' 8.2'
48
+ symfony : 6.2.*
45
49
name : PHP ${{ matrix.php }} tests (${{ matrix.description }})
46
50
steps :
47
51
- name : Checkout
48
- uses : actions/checkout@v2
52
+ uses : actions/checkout@v3
49
53
- name : Cache
50
54
uses : actions/cache@v2
51
55
with :
Original file line number Diff line number Diff line change 10
10
}
11
11
],
12
12
"require" : {
13
- "php" : " ^7.4 || ^ 8.0" ,
14
- "symfony/form" : " ^4.4 || ^5.0 || ^6.0" ,
15
- "symfony/framework-bundle" : " ^4.4 || ^5.0 || ^6.0"
13
+ "php" : " ^8.0" ,
14
+ "symfony/form" : " ^5.4 || ^6.0" ,
15
+ "symfony/framework-bundle" : " ^5.4 || ^6.0"
16
16
},
17
17
"require-dev" : {
18
18
"phpunit/phpunit" : " ^9.5" ,
19
19
"simple-bus/message-bus" : " ^3.1 || ^6.0" ,
20
- "symfony/messenger" : " ^4.4 || ^5.0 || ^6.0"
20
+ "symfony/messenger" : " ^5.4 || ^6.0"
21
21
},
22
22
"extra" : {
23
23
"branch-alias" : {
Original file line number Diff line number Diff line change 12
12
13
13
abstract class AbstractBusType extends AbstractType
14
14
{
15
- private Bus $ bus ;
16
-
17
- public function __construct (Bus $ bus )
15
+ public function __construct (private Bus $ bus )
18
16
{
19
- $ this ->bus = $ bus ;
20
17
}
21
18
22
19
/**
Original file line number Diff line number Diff line change 11
11
12
12
abstract class AbstractBusType extends AbstractType
13
13
{
14
- private Bus $ bus ;
15
-
16
- public function __construct (Bus $ bus )
14
+ public function __construct (private Bus $ bus )
17
15
{
18
- $ this ->bus = $ bus ;
19
16
}
20
17
21
18
/**
You can’t perform that action at this time.
0 commit comments