MinkExtension icon indicating copy to clipboard operation
MinkExtension copied to clipboard

Switch to attributes instead of annotations

Open mpdude opened this issue 2 months ago • 3 comments

Behat supports attributes since version 3.10.

Can we switch to attributes as well in MinkContext and what would that mean for users?

Given that we can raise requirements sufficiently, my guess would be that it is transparent.

mpdude avatar Dec 19 '25 09:12 mpdude

If we bump the min version of Behat, this will indeed be seamless for users.

stof avatar Dec 19 '25 14:12 stof

According to the #48 implementation, MinkExtension would stop working on PHP 7.x. Not so seamless.

aik099 avatar Dec 21 '25 16:12 aik099

We‘d need to bump the min version of Behat, effectively also bumping min PHP Version requirements

mpdude avatar Dec 21 '25 20:12 mpdude