Skip to content

Commit ea579dc

Browse files
committed
remove misleading comment
1 parent 1a20bb8 commit ea579dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/PHPStan/Analyser/nsrt/bug-11311.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ function bug11331c(string $url):void {
5757
| (?# the alternation making it so that only either should match)
5858
git@([^:]+):/? (?# group 2 here can be null if group 1 matches)
5959
)
60-
(?# removing what follows makes the two first groups nullable, although it then has group 2 unsettable which looks buggy too as PREG_UNMATCHED_AS_NULL is present)
6160
([^/]+)
6261
/
6362
([^/]+?)

0 commit comments

Comments
 (0)