Prevent @file annotations from creeping back into the codebase

Created on 10 November 2023, 10 months ago
Updated 31 May 2024, 3 months ago

Problem/Motivation

πŸ“Œ Remove @file annotation from test classes Needs review removed @file annotations that are no longer required by our coding standards and get in the way of applying rector rules.

We can prevent these from coming back accidentally via PHPCS.

Steps to reproduce

Proposed resolution

Use SlevomatCodingStandard.Commenting.ForbiddenAnnotations to prevent @file annotations similar to how we prevent @inheritdoc without curly braces.

Remaining tasks

Postponed on #2735143: @file doc blocks for test classes with an additional class in the file β†’

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Postponed

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 27 minutes ago

Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024