- Issue created by @flocondetoile
- Status changed to Closed: won't fix
over 1 year ago 10:04am 22 September 2023 - 🇬🇧United Kingdom joachim
PHP 7.4 has reached end of life. You can run D9 on PHP 8.
Updated Field Tools on HEAD and I've got this error.
ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in Composer\Autoload\includeFile() (line 89 of /var/www/project/web/modules/contrib/field_tools/src/Form/ConfigMultipleImportForm.php) #0 phar:///usr/local/bin/drush/.box/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
running Drupal Core 9.5.11 on (yet) PHP 7.4.x
Looks like the match expression is only available since PHP 8.
So 2 options : Drop D9 support (and PHP 7.4) or drop the match expression to keep D9 support :-)
Choose the option and implement it.
Closed: won't fix
1.0
Code
PHP 7.4 has reached end of life. You can run D9 on PHP 8.