Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c8f6335

Browse files
staabmondrejmirtes
authored andcommitted
Fix test expectations
1 parent 1211bee commit c8f6335

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.4 || ^8.0",
10-
"phpstan/phpstan": "^2.1.11"
10+
"phpstan/phpstan": "^2.1.12"
1111
},
1212
"conflict": {
1313
"nette/application": "<2.3.0",

‎tests/Type/Nette/data/strings-match-74.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function (string $s): void {
2424
$s,
2525
'/(foo)?(bar)?(baz)?/',
2626
function ($matches) {
27-
assertType('array{0: array{string, int<-1, max>}, 1?: array{\'\'|\'foo\', int<-1, max>}, 2?: array{\'\'|\'bar\', int<-1, max>}, 3?: array{\'baz\', int<-1, max>}}', $matches);
27+
assertType('list{0: array{string, int<-1, max>}, 1?: array{\'\'|\'foo\', int<-1, max>}, 2?: array{\'\'|\'bar\', int<-1, max>}, 3?: array{\'baz\', int<-1, max>}}', $matches);
2828
return '';
2929
},
3030
-1,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /