Skip to content
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

Support first-class callables in #[DataProvider] attribute #6136

Open
sebastianbergmann opened this issue Feb 21, 2025 · 0 comments
Open

Support first-class callables in #[DataProvider] attribute #6136

sebastianbergmann opened this issue Feb 21, 2025 · 0 comments
Labels
feature/data-provider Data Providers type/enhancement A new idea that should be implemented version/11 Something affects PHPUnit 11 version/12 Something affects PHPUnit 12

Comments

@sebastianbergmann
Copy link
Owner

PHP 8.5 supports first-class callables in constant expressions. We should support that.

@sebastianbergmann sebastianbergmann added feature/data-provider Data Providers type/enhancement A new idea that should be implemented version/11 Something affects PHPUnit 11 version/12 Something affects PHPUnit 12 labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/data-provider Data Providers type/enhancement A new idea that should be implemented version/11 Something affects PHPUnit 11 version/12 Something affects PHPUnit 12
Projects
None yet
Development

No branches or pull requests

1 participant