From 921927a3035e2e308fa7d3c04c605728ed4e0a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sat, 2 Sep 2023 17:24:06 +0200 Subject: [PATCH] Fix: Run 'make baseline' --- psalm.baseline.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/psalm.baseline.xml b/psalm.baseline.xml index b209427b2c..ee068ecd7d 100644 --- a/psalm.baseline.xml +++ b/psalm.baseline.xml @@ -146,6 +146,7 @@ // remove backslashes (that are not followed by another backslash) because they are escape characters $match = preg_replace('/\\\(?!\\\)/', '', $matches[1]); $randomElement = Base::randomElement(str_split($match)); + //[.] should not be a random character, but a literal . return str_replace('.', '\.', $randomElement); }