You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a small problem where errors don't appear on the right line due to missing empty lines in my files.
E.g.
echo ('test');
appears as
in CodeBrowser, so errors appear on the wrong line.
I found this Issue https://github.com/mayflowergmbh/PHP_CodeBrowser/issues/40 wich seems to be related but is the opposite problem (too many empty lines).
I changed
if ('.php' === $extension {if ('.php' === $extension || '.module' === $extension || '.inc' === $extension) {
on line 335 of ViewReview.php and it fixes the problem.
Would it be a good idea to add a parameter allowing us to tell phpcb with extension to parse as a PHP file ?
The text was updated successfully, but these errors were encountered:
=========================== royjs wrote====================================
Hi,
I have a small problem where errors don't appear on the right line due to missing empty lines in my files.
E.g.
echo ('test');
appears as
in CodeBrowser, so errors appear on the wrong line. I found this Issue https://github.com/mayflowergmbh/PHP_CodeBrowser/issues/40 wich seems to be related but is the opposite problem (too many empty lines). I changed
on line 335 of ViewReview.php and it fixes the problem. Would it be a good idea to add a parameter allowing us to tell phpcb with extension to parse as a PHP file ?if ('.php' === $extension {
if ('.php' === $extension || '.module' === $extension || '.inc' === $extension) {The text was updated successfully, but these errors were encountered: