Skip to content

Use attributes instead of annotations#48

Closed
mpdude wants to merge 1 commit into
FriendsOfBehat:masterfrom
mpdude:attributes-no-annotations
Closed

Use attributes instead of annotations#48
mpdude wants to merge 1 commit into
FriendsOfBehat:masterfrom
mpdude:attributes-no-annotations

Conversation

@mpdude

@mpdude mpdude commented Dec 19, 2025

Copy link
Copy Markdown

This switches to using attributes in MinkContext as suggested in #46.

This change makes sense only after bumping PHP version requirements as suggested in #47.

@aik099 aik099 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good. Also doesn't look like a BC break, because Behat 3.10 should work on PHP 7.2+.

But I'm not sure how PHP attributes would work on PHP 7.x.

@mpdude

mpdude commented Dec 21, 2025

Copy link
Copy Markdown
Author

Not at all. IMHO this should go in a PHP 8.1+ release

@acoulton

Copy link
Copy Markdown

Looks like this was resolved (replaced) in #50?

@stof stof closed this Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants