string' is a reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)

Created on 17 August 2022, about 2 years ago
Updated 10 July 2023, about 1 year ago

string' is a reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)

modules\field\tests\src\Kernel\String\RawStringFormatterTest.php
modules\field\tests\src\Functional\String\StringFieldTest.php
modules\field\tests\src\Kernel\String\StringFormatterTest.php
modules\field\tests\src\Kernel\String\UuidFormatterTest.php
root\core\modules\field\tests\src\Kernel\String\UuidItemTest.php

Steps to reproduce

PHP Compatability Report:

vendor\bin\phpcs -p . --standard=PHPCompatibility --runtime-set testVersion 8.1 --extensions=php,module,install,inc --report-full==drupal9-php8-compatibility.txt

Technology Details:

PHP 8.1 , Drupal 9.4.1

🐛 Bug report
Status

Fixed

Version

10.1

Component
Field 

Last updated 1 day ago

Created by

🇮🇳India gawalin

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

    The issue particularly affects sites running on PHP version 8.1.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.

Production build 0.71.5 2024