Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geoPHP/tests/postgis.php use PHP short tag #195

Open
obriat opened this issue Jan 26, 2023 · 0 comments
Open

geoPHP/tests/postgis.php use PHP short tag #195

obriat opened this issue Jan 26, 2023 · 0 comments

Comments

@obriat
Copy link

obriat commented Jan 26, 2023

phpcs -p --standard=PHPCompatibility --runtime-set testVersion 8.1- return the following error:

FILE: geoPHP/tests/postgis.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
`phpcs -p  --standard=PHPCompatibility --runtime-set testVersion 8.1- ` return the following error:

Just replace <? with <?php on the first line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant