Skip to content

IBX-12374: Add PHP Behat suite configuration - #89

Open
ViniTou wants to merge 3 commits into
6.0from
IBX-12374-behat-attributes
Open

IBX-12374: Add PHP Behat suite configuration#89
ViniTou wants to merge 3 commits into
6.0from
IBX-12374-behat-attributes

Conversation

@ViniTou

@ViniTou ViniTou commented Aug 27, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12374

Description:

Part of the Behat 4 upgrade. Behat 4 removes docblock annotations (@Given/@When/@Then) and YAML configuration; the Behat 3.32 already installed accepts PHP attributes and PHP config, so this converts the bundle ahead of the ibexa/behat switch without changing behaviour. Every bundle with Behat suites gets the same treatment independently.

This bundle has no Behat contexts of its own (0 annotations), so only the suite configuration is affected: behat_suites.php is the --convert-config output of behat_suites.yml; the YAML file stays until ibexa/behat imports the PHP one, because the root config references it by filename and the two packages' versions drift within an app.

For QA:

No functional change to the scenarios; same suites run.

Documentation:

N/A

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
21.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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.

1 participant