Skip to content

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

@obriat

Description

@obriat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions