File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 13
13
fail-fast : false
14
14
matrix :
15
15
include :
16
- - php-version : ' 7.2 '
16
+ - php-version : ' 7.4 '
17
17
composer-flags : ' --prefer-stable --prefer-lowest'
18
18
description : ' with lowest'
19
- - php-version : ' 7.2'
20
- - php-version : ' 7.4'
21
19
- php-version : ' 8.0'
22
20
- php-version : ' 8.1'
23
21
- php-version : ' 8.2'
28
26
coding-standards : true
29
27
30
28
# Static Analysis (min PHP version)
31
- - php-version : ' 7.2 '
29
+ - php-version : ' 7.4 '
32
30
description : ' with Static Analysis'
33
31
static-analysis : true
34
32
Original file line number Diff line number Diff line change 19
19
'@Symfony ' => true ,
20
20
'@Symfony:risky ' => true ,
21
21
'@DoctrineAnnotation ' => true ,
22
- '@PHP71Migration ' => true ,
23
- '@PHP71Migration :risky ' => true ,
22
+ '@PHP74Migration ' => true ,
23
+ '@PHP74Migration :risky ' => true ,
24
24
'@PHPUnit84Migration:risky ' => true ,
25
25
'array_syntax ' => ['syntax ' => 'short ' ],
26
26
'fopen_flags ' => true ,
Original file line number Diff line number Diff line change 22
22
}
23
23
},
24
24
"require" : {
25
- "php" : " ^7.2 |^8.0"
25
+ "php" : " ^7.4 |^8.0"
26
26
},
27
27
"require-dev" : {
28
28
"friendsofphp/php-cs-fixer" : " ^3.0" ,
Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ public static function containsOnlyScalarValues(array $array): bool
28
28
29
29
public static function filterScalarValues (array $ array ): array
30
30
{
31
- return array_filter ($ array , function ($ child ) {
32
- return \is_scalar ($ child );
33
- });
31
+ return array_filter ($ array , fn ($ child ) => \is_scalar ($ child ));
34
32
}
35
33
}
You can’t perform that action at this time.
0 commit comments