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
To help us better understand your issue, please answer the following.
Expected behaviour
There is no option to pass -s to php-parallel-lint, so even if the server supports php shorttags, the linter will fail if you use shorttags.
Actual behaviour
php-parallel-lint will fail with various php parse errors like unexpected end of file if you open an if statement in a <?php section (typically the opening line of the file?) and close it in a <? section.
I think that this isn't a real issue - related to the php documentation these are removed in php-7.0.0http://php.net/manual/en/language.basic-syntax.phptags.php
Cause of the fact that 5.6 and 7.0 are just in security phase and end of the year they are out of date it is bad practice to use short-tags any more.
Before submitting your issue, please make sure that you've checked all of the checkboxes below.
php -v
composer install --no-dev -o
from the root of your installation.To help us better understand your issue, please answer the following.
Expected behaviour
There is no option to pass -s to php-parallel-lint, so even if the server supports php shorttags, the linter will fail if you use shorttags.
Actual behaviour
php-parallel-lint will fail with various php parse errors like unexpected end of file if you open an if statement in a <?php section (typically the opening line of the file?) and close it in a <? section.
Steps to reproduce
Environment info
Operating System: Debian GNU/Linux 7.11 (wheezy)
PHP Version: 5.6.31
MySQL Version: n/a
PR
#1338
The text was updated successfully, but these errors were encountered: