PHPCS not catching multiple spaces after final keyword

Created on 15 August 2024, 6 months ago
Updated 2 September 2024, 5 months ago

Problem/Motivation

Found a formatting issue not being caught with PHPCS by adding multiple spaces between final and public.

Steps to reproduce

Add final to a public function with multiple spaces. Example:

  final      public static function create(ContainerInterface $container) {

Proposed resolution

Update appropriate standards.

πŸ› Bug report
Status

Active

Version

3.8

Component

Coder Sniffer

Created by

πŸ‡ΊπŸ‡ΈUnited States michalsen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024