Skip to content

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

Merged
ViniTou merged 4 commits into
6.0from
IBX-12374-behat-attributes
Sep 7, 2026
Merged

IBX-12374: Add PHP Behat suite configuration#89
ViniTou merged 4 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

@ViniTou ViniTou changed the title IBX-12374: Add PHP Behat suite configuration [TMP] IBX-12374: Add PHP Behat suite configuration Sep 4, 2026

@KamilSznajdrowicz KamilSznajdrowicz 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.

Same case as https://github.com/ibexa/connector-quable/pull/49 - this repo has no Behat annotations either, so Rector has nothing to convert, but the attribute set guard is missing from rector.php

@ViniTou
ViniTou force-pushed the IBX-12374-behat-attributes branch from df46c52 to f8bcd57 Compare September 7, 2026 10:30
@ViniTou ViniTou changed the title [TMP] IBX-12374: Add PHP Behat suite configuration IBX-12374: Add PHP Behat suite configuration Sep 7, 2026
@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

@ViniTou
ViniTou merged commit cb8d672 into 6.0 Sep 7, 2026
19 of 26 checks passed
@ViniTou
ViniTou deleted the IBX-12374-behat-attributes branch September 7, 2026 10:47
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.

5 participants