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

Replace PHPDoc dataProvider with attribute syntax#21612

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

Open
ttk wants to merge3 commits intosymfony:8.0
base:8.0
Choose a base branch
Loading
fromttk:patch-1

Conversation

@ttk
Copy link

@ttkttk commentedNov 29, 2025

The attribute syntax is supported in PHPUnit v10, v11, and v12. It should be encouraged in Symfony 8.x, and maybe backport to Symfony 7.x?

The attribute syntax is supported in PHPUnit v10, v11, and v12.  It should be encouraged in Symfony 8.x.
@carsonbotcarsonbot changed the titleReplace PHPDoc dataProvider with attribute syntax Replace PHPDoc dataProvider with attribute syntaxNov 29, 2025
/**
* @dataProvider urlProvider
*/
#[DataProvider('urlProvider')]
Copy link
Contributor

Choose a reason for hiding this comment

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

please make the data provider itself static, thanks

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ttk@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp