summaryrefslogtreecommitdiffstats
path: root/4406.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-08-29 13:13:22 +0200
committerRemi Collet <remi@remirepo.net>2019-08-29 13:13:22 +0200
commit03cce0ab0af654dcd10b1f06cd371ac829850ca0 (patch)
tree0721a43ac80298ccc89cac0bc18eb8a74b205c4f /4406.patch
parent9dc752bc60f1d007b59ed0a2fa6328dcdb3e5513 (diff)
v2.15.2
Diffstat (limited to '4406.patch')
-rw-r--r--4406.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/4406.patch b/4406.patch
deleted file mode 100644
index e1c643f..0000000
--- a/4406.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From e5a5149bdb4b11e3b32130a4c0be62b6a7a3306b Mon Sep 17 00:00:00 2001
-From: Remi Collet <fedora@famillecollet.com>
-Date: Mon, 6 May 2019 11:38:26 +0200
-Subject: [PATCH] Fix escape sequence is invalid in character clas
-
----
- src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php b/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php
-index 1db72935b0..a3a24a8cb7 100644
---- a/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php
-+++ b/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php
-@@ -84,7 +84,7 @@ private function convertElseifToIf(Tokens $tokens, $index)
- $whitespace = '';
- for ($previous = $index - 1; $previous > 0; --$previous) {
- $token = $tokens[$previous];
-- if ($token->isWhitespace() && Preg::match('/(\R[^\R]*)$/', $token->getContent(), $matches)) {
-+ if ($token->isWhitespace() && Preg::match('/(\R\N*)$/', $token->getContent(), $matches)) {
- $whitespace = $matches[1];
-
- break;