Skip to content

Commit 182d35b

Browse files
committed
fix
1 parent 3a11863 commit 182d35b

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ jobs:
324324
../../bin/phpstan
325325
- script: |
326326
cd e2e/bug-12629
327-
../../bin/phpstan
327+
../../bin/phpstan --generate-baseline # should generate without crash
328+
../../bin/phpstan # should re-analyze without new errors
328329
329330
steps:
330331
- name: "Checkout"

e2e/bug-12629/phpstan-baseline.neon

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,3 @@ parameters:
1717
identifier: method.unused
1818
count: 1
1919
path: src/bug-12629.php
20-
21-
-
22-
message: '#^Regex pattern is invalid\: Compilation failed\: UTF\-8 error\: byte 2 top bits not 0x80 at offset 0 in pattern$#'
23-
identifier: regexp.pattern
24-
count: 1
25-
path: src/bug-12629.php
26-
27-
-
28-
message: '#^Regex pattern is invalid\: Compilation failed\: UTF\-8 error\: isolated byte with 0x80 bit set at offset 1 in pattern$#'
29-
identifier: regexp.pattern
30-
count: 1
31-
path: src/bug-12629.php

0 commit comments

Comments
 (0)