3.6.0
What's new since 3.5.2
Switched to PHP attributes.
Warning
If you extend any of the bundled context classes and override step or hook
methods, you must switch your overrides from docblock annotations (@Given,
@When, @Then, @BeforeScenario, etc.) to PHP 8 attributes (#[Given],
#[When], #[Then], #[BeforeScenario], etc.). Behat resolves both the
parent attribute and the child annotation independently, which causes a
RedundantStepException for step definitions and duplicate execution for
hooks. To safely override a method, either re-declare the step/hook using
only the PHP 8 attribute on the child (and remove it from the parent by not
registering the parent context), or override the method without any
annotation or attribute to inherit the parent's definition.
- Pin dependencies @renovate[bot] (#546)
- Refactored 'FileTrait' to separate file source properties from entity fields. @AlexSkrypnyk (#545)
- Update Vortex Ecosystem badge @AlexSkrypnyk (#538)
- Updated mismatching variables to the tuple counterparts. @AlexSkrypnyk (#544)
- Switched to PHP attributes. @AlexSkrypnyk (#543)
- Update release-drafter/release-drafter action to v7 @renovate[bot] (#535)
- Update dependency drevops/phpcs-standard to ^0.7 @renovate[bot] (#534)
Full Changelog: 3.5.2...3.6.0
@AlexSkrypnyk, @renovate[bot] and renovate[bot]