Los Vitaly created NETBEANS-1563:
------------------------------------

             Summary: Error while parsing HEREDOC
                 Key: NETBEANS-1563
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1563
             Project: NetBeans
          Issue Type: Bug
          Components: php - Code Analysis
    Affects Versions: 10.0
            Reporter: Los Vitaly
         Attachments: heredoc.png, heredoc1.png

Error in Laravel project in vendor directory. Full path
/var/www/html/laravel/vendor/symfony/routing/Matcher/Dumper/PhpMatcherDumper.php

{code:java}
$code .= <<<EOF
        default:
            \$routes = array(
{$this->indent($default, 4)}            );

if (!isset(\$routes[\$pathinfo])) {   // Syntax error unexpected: String  
after: ]
        break;
 }
list(\$ret, \$requiredHost, \$requiredMethods, \$requiredSchemes) = 
\$routes[\$pathinfo];
{$this->compileSwitchDefault(false, $matchHost)
        }
EOF;
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to