src/Fixer/StringNotation/HeredocToNowdocFixer.php
private function convertToNowdoc(Token $token)
    {
        return new Token([
            $token->getId(),
            Preg::replace('/^([Bb]?<<<)([ \t]*)"?([^\s"]+)"?/', '$1$2\'$3\'', $token->getContent()),
        ]);
    }
private function convertToNowdoc(Token $token)
    {
        return new Token([
            $token->getId(),
            Preg::replace('/^([Bb]?<<<)([ \t]*)"?([^\s"]+)"?/', '$1$2\'$3\'', $token->getContent()),
        ]);
    }
Transforms the heredoc start token to nowdoc notation.

@param Token $token

@return Token