File tree Expand file tree Collapse file tree 5 files changed +10
-19
lines changed Expand file tree Collapse file tree 5 files changed +10
-19
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.4 '
16
+ - php-version : ' 8.1 '
17
17
composer-flags : ' --prefer-stable --prefer-lowest'
18
18
description : ' with lowest'
19
- - php-version : ' 8.0'
20
19
- php-version : ' 8.1'
21
20
- php-version : ' 8.2'
22
21
26
25
coding-standards : true
27
26
28
27
# Static Analysis (min PHP version)
29
- - php-version : ' 7.4 '
28
+ - php-version : ' 8.1 '
30
29
description : ' with Static Analysis'
31
30
static-analysis : true
32
31
Original file line number Diff line number Diff line change 19
19
'@Symfony ' => true ,
20
20
'@Symfony:risky ' => true ,
21
21
'@DoctrineAnnotation ' => true ,
22
- '@PHP74Migration ' => true ,
23
- '@PHP74Migration :risky ' => true ,
22
+ '@PHP81Migration ' => true ,
23
+ '@PHP80Migration :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 18
18
},
19
19
"extra" : {
20
20
"branch-alias" : {
21
- "dev-master" : " 1.1 .x-dev"
21
+ "dev-master" : " 1.2 .x-dev"
22
22
}
23
23
},
24
24
"require" : {
25
- "php" : " ^7.4|^8.0 "
25
+ "php" : " ^8.1 "
26
26
},
27
27
"require-dev" : {
28
28
"friendsofphp/php-cs-fixer" : " ^3.0" ,
Original file line number Diff line number Diff line change @@ -3,11 +3,3 @@ parameters:
3
3
-
4
4
message : ' #no value type specified in iterable type array#'
5
5
path : tests/
6
- - # PHP 8 is required
7
- message : ' #testContainsOnlyScalarValuesInputError\(\) has parameter \$input with no type specified#'
8
- paths :
9
- - tests/ScalarValuesTest.php
10
- - # PHP 8 is required
11
- message : ' #testFilterScalarValuesInputError\(\) has parameter \$input with no type specified#'
12
- paths :
13
- - tests/ScalarValuesTest.php
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ public function getTestContainsOnlyScalarValuesProdiver(): array
51
51
/**
52
52
* @dataProvider getNotArrayInputProdiver
53
53
*/
54
- public function testContainsOnlyScalarValuesInputError ($ input ): void
54
+ public function testContainsOnlyScalarValuesInputError (mixed $ input ): void
55
55
{
56
56
$ this ->expectException (\TypeError::class);
57
- ScalarValues::containsOnlyScalarValues ($ input );
57
+ ScalarValues::containsOnlyScalarValues ($ input ); // @phpstan-ignore-line
58
58
}
59
59
60
60
public function getNotArrayInputProdiver (): array
@@ -101,9 +101,9 @@ public function getTestFilterScalarValuesProdiver(): array
101
101
/**
102
102
* @dataProvider getNotArrayInputProdiver
103
103
*/
104
- public function testFilterScalarValuesInputError ($ input ): void
104
+ public function testFilterScalarValuesInputError (mixed $ input ): void
105
105
{
106
106
$ this ->expectException (\TypeError::class);
107
- ScalarValues::filterScalarValues ($ input );
107
+ ScalarValues::filterScalarValues ($ input ); // @phpstan-ignore-line
108
108
}
109
109
}
You can’t perform that action at this time.
0 commit comments