diff options
author | Remi Collet <remi@remirepo.net> | 2020-04-29 11:20:18 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-04-29 11:20:18 +0200 |
commit | 19bc8513f2fa37e4f2b5b546b0f67eeef1314ca1 (patch) | |
tree | 7cc04c498d5f8ff7cf601d3985e5f2545c6014ce | |
parent | 4a7a1204f57f43adc861df964fd09ad1f9c437ec (diff) |
cleanup
-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] !== "'" - ); - } - |