summaryrefslogtreecommitdiffstats
path: root/261.patch
diff options
context:
space:
mode:
Diffstat (limited to '261.patch')
-rw-r--r--261.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/261.patch b/261.patch
new file mode 100644
index 0000000..a85df82
--- /dev/null
+++ b/261.patch
@@ -0,0 +1,22 @@
+From 19098e5772eb4ad87cdc2ebcb94b3fdca39c0887 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 29 Apr 2020 10:25:46 +0200
+Subject: [PATCH] fix curly braces is deprecated
+
+---
+ src/Bartlett/CompatInfo/Sniffs/PHP/DocStringSyntaxSniff.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Bartlett/CompatInfo/Sniffs/PHP/DocStringSyntaxSniff.php b/src/Bartlett/CompatInfo/Sniffs/PHP/DocStringSyntaxSniff.php
+index ec0e33a6..dc1e31ad 100644
+--- a/src/Bartlett/CompatInfo/Sniffs/PHP/DocStringSyntaxSniff.php
++++ b/src/Bartlett/CompatInfo/Sniffs/PHP/DocStringSyntaxSniff.php
+@@ -100,7 +100,7 @@ protected function isHeredocSyntax($node)
+ {
+ $i = $node->getAttribute('startTokenPos');
+ return (strpos($this->tokens[$i][1], "<<<") === 0
+- && $this->tokens[$i][1]{3} !== "'"
++ && $this->tokens[$i][1][3] !== "'"
+ );
+ }
+