Skip to content

Replace get_class() calls by ::class #60581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2025

Conversation

alamirault
Copy link
Contributor

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? no
Issues Fix #...
License MIT

Replace get_class() by ::class
It was already done in past in #47401

@alamirault alamirault requested a review from chalasr as a code owner May 29, 2025 12:03
@carsonbot carsonbot added this to the 7.4 milestone May 29, 2025
@OskarStark
Copy link
Contributor

Can we create a doctor rule?

@fabpot
Copy link
Member

fabpot commented May 30, 2025

Can we create a doctor rule?

There is probably a PHP CS Fixer rule that we can enable.

@OskarStark
Copy link
Contributor

Sorry I mixed up the PRs, we have the same for the documentation repo

@nicolas-grekas
Copy link
Member

Thank you @alamirault.

@nicolas-grekas nicolas-grekas merged commit d92477a into symfony:7.4 May 30, 2025
11 checks passed
@alamirault alamirault deleted the feature/47401-follow branch May 30, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants