diff options
Diffstat (limited to '261.patch')
-rw-r--r-- | 261.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/261.patch b/261.patch deleted file mode 100644 index a85df82..0000000 --- a/261.patch +++ /dev/null @@ -1,22 +0,0 @@ -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] !== "'" - ); - } - |