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 1313 fail-fast : false
1414 matrix :
1515 include :
16- - php-version : ' 7.4 '
16+ - php-version : ' 8.1 '
1717 composer-flags : ' --prefer-stable --prefer-lowest'
1818 description : ' with lowest'
19- - php-version : ' 8.0'
2019 - php-version : ' 8.1'
2120 - php-version : ' 8.2'
2221
2625 coding-standards : true
2726
2827 # Static Analysis (min PHP version)
29- - php-version : ' 7.4 '
28+ - php-version : ' 8.1 '
3029 description : ' with Static Analysis'
3130 static-analysis : true
3231
Original file line number Diff line number Diff line change 1919 '@Symfony ' => true ,
2020 '@Symfony:risky ' => true ,
2121 '@DoctrineAnnotation ' => true ,
22- '@PHP74Migration ' => true ,
23- '@PHP74Migration :risky ' => true ,
22+ '@PHP81Migration ' => true ,
23+ '@PHP80Migration :risky ' => true ,
2424 '@PHPUnit84Migration:risky ' => true ,
2525 'array_syntax ' => ['syntax ' => 'short ' ],
2626 'fopen_flags ' => true ,
Original file line number Diff line number Diff line change 1818 },
1919 "extra" : {
2020 "branch-alias" : {
21- "dev-master" : " 1.1 .x-dev"
21+ "dev-master" : " 1.2 .x-dev"
2222 }
2323 },
2424 "require" : {
25- "php" : " ^7.4|^8.0 "
25+ "php" : " ^8.1 "
2626 },
2727 "require-dev" : {
2828 "friendsofphp/php-cs-fixer" : " ^3.0" ,
Original file line number Diff line number Diff line change @@ -3,11 +3,3 @@ parameters:
33 -
44 message : ' #no value type specified in iterable type array#'
55 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
5151 /**
5252 * @dataProvider getNotArrayInputProdiver
5353 */
54- public function testContainsOnlyScalarValuesInputError ($ input ): void
54+ public function testContainsOnlyScalarValuesInputError (mixed $ input ): void
5555 {
5656 $ this ->expectException (\TypeError::class);
57- ScalarValues::containsOnlyScalarValues ($ input );
57+ ScalarValues::containsOnlyScalarValues ($ input ); // @phpstan-ignore-line
5858 }
5959
6060 public function getNotArrayInputProdiver (): array
@@ -101,9 +101,9 @@ public function getTestFilterScalarValuesProdiver(): array
101101 /**
102102 * @dataProvider getNotArrayInputProdiver
103103 */
104- public function testFilterScalarValuesInputError ($ input ): void
104+ public function testFilterScalarValuesInputError (mixed $ input ): void
105105 {
106106 $ this ->expectException (\TypeError::class);
107- ScalarValues::filterScalarValues ($ input );
107+ ScalarValues::filterScalarValues ($ input ); // @phpstan-ignore-line
108108 }
109109}
You can’t perform that action at this time.
0 commit comments