[
https://issues.apache.org/jira/browse/NETBEANS-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junichi Yamamoto resolved NETBEANS-1563.
----------------------------------------
Resolution: Fixed
Fix Version/s: 10.0
Fixed.
[~vitalykk1983] Could you please verify it if possible.
It will be available with Jenkins build 889.
https://builds.apache.org/job/incubator-netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/
Thanks.
> Error while parsing HEREDOC
> ---------------------------
>
> Key: NETBEANS-1563
> URL: https://issues.apache.org/jira/browse/NETBEANS-1563
> Project: NetBeans
> Issue Type: Bug
> Components: php - Editor
> Affects Versions: 10.0
> Reporter: Los Vitaly
> Assignee: Junichi Yamamoto
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 10.0
>
> Attachments: heredoc.png, heredoc1.png, mytest.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Reproducible code:
> {code:java}
> <?php
> $code = <<<EOF
> if(!isset(\$routes[\$pathinfo])) { // Syntax error unexpected: String
> after: ]
> break;
> }
> EOF;
> {code}
> Same error in Laravel project in vendor directory. Full path
>
> /var/www/html/laravel/vendor/symfony/routing/Matcher/Dumper/PhpMatcherDumper.php
> And the same errors in Composer library
> {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