Closed (fixed)
Project:
Coder
Version:
8.3.x-dev
Component:
Coder Sniffer
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2024 at 19:13 UTC
Updated:
6 Apr 2025 at 12:34 UTC
Jump to comment: Most recent
Found a formatting issue not being caught with PHPCS by adding multiple spaces between final and public.
Add final to a public function with multiple spaces. Example:
final public static function create(ContainerInterface $container) {
Update appropriate standards.
Comments
Comment #2
klausiThanks for reporting! Created upstream fix: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/604
Not sure if we should fork this into Coder in the meantime.
Comment #3
fredden commented> Not sure if we should fork this into Coder in the meantime.
This shouldn't be necessary since PHP_CodeSniffer is being actively maintained again now. I don't see any reason this fix couldn't make it into the next minor / feature release.
Comment #5
klausiPHPCS 3.12 was released that contains my fix, I bumped the version in Coder's composer file.