Skip to content

Commit d04b69a

Browse files
staabmondrejmirtes
authored andcommitted
Fix build
1 parent e3fb4af commit d04b69a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.2 || ^8.0",
10-
"phpstan/phpstan": "^1.11.11"
10+
"phpstan/phpstan": "^1.12.1"
1111
},
1212
"conflict": {
1313
"nette/application": "<2.3.0",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ function (string $s): void {
4141

4242
function (string $s): void {
4343
$result = Strings::matchAll($s, '~\[gallery ids=(„|")(?<allIds>([0-9]+,? ?)+)(“|")~');
44-
assertType("list<array{0: string, 1: '"'|'', allIds: non-empty-string, 2: non-empty-string, 3: non-empty-string, 4: '"'|''}>", $result);
44+
assertType("list<array{0: string, 1: '\"'|'„', allIds: non-empty-string, 2: non-empty-string, 3: non-empty-string, 4: '\"'|'“'}>", $result);
4545
};

0 commit comments

Comments
 (0)