Fatal error running codesniffer (offset syntax with curly braces no longer supported)

Created on 1 June 2022, about 2 years ago
Updated 5 May 2024, about 2 months ago

Problem/Motivation

PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in ~/.config/composer/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php

According to codesniffer, this is using old versions: https://github.com/squizlabs/PHP_CodeSniffer/issues/3590

Steps to reproduce

Very possibly my main question is why when i run "composer global require drupal/coder" i end up with version 8.x-2.0 and possibly consequently some obsolete dependencies?

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Fixed

Version

3.0

Component

Coder Sniffer

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
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.69.0 2024