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:
phpcs -p --standard=PHPCompatibility --runtime-set testVersion 8.1-
return the following error:Just replace
<?
with<?php
on the first line