Skip to content

Commit 64d4a3b

Browse files
committed
Fix build
1 parent 44b8b73 commit 64d4a3b

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

tests/PHPStan/Command/ErrorFormatter/data/unixBaseline.neon

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ parameters:
1111
path: WindowsNewlines.php
1212

1313
-
14-
message: "#^PHPDoc tag @param has invalid value \\(\\)\\: Unexpected token \"\\\\n\\\\t \\* \", expected type at offset 113$#"
14+
message: """
15+
#^PHPDoc tag @param has invalid value \\(\r
16+
\\$object\\)\\: Unexpected token "\\\\r\\\\n\\\\t \\* ", expected type at offset 113 on line 4$#
17+
"""
1518
count: 1
1619
path: WindowsNewlines.php
1720

tests/PHPStan/Command/ErrorFormatter/data/windowsBaseline.neon

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ parameters:
1111
path: UnixNewlines.php
1212

1313
-
14-
message: "#^PHPDoc tag @param has invalid value \\(\\)\\: Unexpected token \"\\\\r\\\\n\\\\t \\* \", expected type at offset 110$#"
14+
message: """
15+
#^PHPDoc tag @param has invalid value \\(
16+
\\$object\\)\\: Unexpected token "\\\\n\\\\t \\* ", expected type at offset 110 on line 4$#
17+
"""
1518
count: 1
1619
path: UnixNewlines.php
1720

tests/PHPStan/Rules/PhpDoc/data/bug-6692.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php // lint >= 8.0
22

33
namespace Bug6692;
44

0 commit comments

Comments
 (0)