[PR #7056] [CS] Apply Doctrine CS 3.0 #10296

Closed
opened 2026-01-22 16:07:06 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/7056

State: closed
Merged: Yes


Changes from 2.0 -> 3.0:

  • Import all functions and constants in use
  • Remove useless comments
  • Use new with parenthesis
  • Unqualified class references in annotations

Excluded:

  • EarlyExit sniff: To be handled separately as is not just cosmetics.
  • ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName: Excluded for Annotation namespace - annotations do not work with use.

I'll drop WIP label and dev-master dependency once Slevomat CS 4.4.5 with bugfixes is out, but feel free to review already.

**Original Pull Request:** https://github.com/doctrine/orm/pull/7056 **State:** closed **Merged:** Yes --- Changes from 2.0 -> 3.0: * Import all functions and constants in `use` * Remove useless comments * Use new with parenthesis * Unqualified class references in annotations Excluded: * EarlyExit sniff: To be handled separately as is not just cosmetics. * ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName: Excluded for Annotation namespace - annotations do not work with `use`. ~I'll drop WIP label and dev-master dependency once Slevomat CS 4.4.5 with bugfixes is out, but feel free to review already.~
admin added the pull-request label 2026-01-22 16:07:06 +01:00
admin closed this issue 2026-01-22 16:07:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10296