From b02e483802f5c391819bc815acc0507863062dab Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Thu, 25 Apr 2019 13:34:39 +0200 Subject: [PATCH] :bug: Same fix --- SymfonyCustom/Sniffs/Formatting/BlankLineBeforeReturnSniff.php | 1 + 1 file changed, 1 insertion(+) diff --git a/SymfonyCustom/Sniffs/Formatting/BlankLineBeforeReturnSniff.php b/SymfonyCustom/Sniffs/Formatting/BlankLineBeforeReturnSniff.php index 54b9181..d797f58 100644 --- a/SymfonyCustom/Sniffs/Formatting/BlankLineBeforeReturnSniff.php +++ b/SymfonyCustom/Sniffs/Formatting/BlankLineBeforeReturnSniff.php @@ -45,6 +45,7 @@ public function process(File $phpcsFile, $stackPtr) && 'T_COMMENT' !== $tokens[$current]['type'] && 'T_DOC_COMMENT_STRING' !== $tokens[$current]['type'] && 'T_DOC_COMMENT_OPEN_TAG' !== $tokens[$current]['type'] + && 'T_DOC_COMMENT_TAG' !== $tokens[$current]['type'] && 'T_DOC_COMMENT_CLOSE_TAG' !== $tokens[$current]['type'] && 'T_DOC_COMMENT_WHITESPACE' !== $tokens[$current]['type'] ) {