Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DependencyInjection] Fix linting factories implemented via __callStatic#58618

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@KevinVanSonsbeek
Copy link
Contributor

@KevinVanSonsbeekKevinVanSonsbeek commentedOct 21, 2024
edited
Loading

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix#58614
LicenseMIT

This PR is an extension of an old fix made back in#44710.
Factory calls to static methods handled by the__callStatic method currently throw the "Invalid service DYZ: method Class::method() does not exist".

@carsonbot

This comment was marked as resolved.

@KevinVanSonsbeekKevinVanSonsbeek changed the titleBugfix/#58614 method does not exist for call static factory[DependencyInjection] Bugfix/#58614 method does not exist for call static factoryOct 21, 2024
Copy link
Member

@chalasrchalasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The patch looks sensible although defining enums as services sounds like a bad idea.

KevinVanSonsbeek reacted with thumbs up emoji
@carsonbotcarsonbot changed the title[DependencyInjection] Bugfix/#58614 method does not exist for call static factoryBugfix/#58614 method does not exist for call static factoryOct 22, 2024
@carsonbotcarsonbot changed the titleBugfix/#58614 method does not exist for call static factory[DependencyInjection] Bugfix/#58614 method does not exist for call static factoryOct 22, 2024
@nicolas-grekasnicolas-grekas changed the title[DependencyInjection] Bugfix/#58614 method does not exist for call static factory[DependencyInjection] Fix linting factories implemented via __callStaticOct 22, 2024
@nicolas-grekasnicolas-grekasforce-pushed thebugfix/#58614-method-does-not-exist-for-callStatic-factory branch fromce67b78 toe2f69afCompareOctober 22, 2024 18:49
@nicolas-grekasnicolas-grekas merged commit7f548a3 intosymfony:5.4Oct 22, 2024
11 of 12 checks passed
This was referencedOct 27, 2024
@KevinVanSonsbeekKevinVanSonsbeek deleted the bugfix/#58614-method-does-not-exist-for-callStatic-factory branchJuly 16, 2025 19:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@KevinVanSonsbeek@carsonbot@chalasr@nicolas-grekas

[8]ページ先頭

©2009-2025 Movatter.jp