No PHP code was found in this file and short open tags are not allowed by this install of PHP

Created on 6 June 2019, over 5 years ago
Updated 13 May 2023, over 1 year ago

phpcs --standard=PHPCompatibility --extensions=php,module,inc,install,test,profile,theme,css --runtime-set testVersion 7.2 .

FILE: \source\deploy\modules\contrib\geophp\geofield\tests\geofield_openlayers_test.module
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India devdesagar

Live updates comments and jobs are added and updated live.
  • PHP 7.3

    The issue particularly affects sites running on PHP version 7.3.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

    • poker10 committed 4d49c549 on 7.x-2.x
      Issue #3059816 by devdesagar, ruyakhokhar:  No PHP code was found in...
  • Status changed to Fixed over 1 year ago
  • 🇸🇰Slovakia poker10

    Patch #4 looks like a good approach (similar approach is used also in D7 core, see: system_null_version_test.module).

    I was going to suggest that we remove both files geofield_openlayers_test.info and geofield_openlayers_test.module, as these are not used currenty, but let's keep them in case there will be tests added in the future.

    Thanks all, committed!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024