Skip to content

IBX-12374: Drop the removed SnippetAcceptingContext interface - #119

Merged
ViniTou merged 1 commit into
6.0from
IBX-12374-drop-snippet-accepting-context
Sep 8, 2026
Merged

ViniTou merged 1 commit into
6.0from
IBX-12374-drop-snippet-accepting-context

Conversation

@ViniTou

@ViniTou ViniTou commented Sep 7, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12374

Description:

Behat 4 removes Behat\Behat\Context\SnippetAcceptingContext, and contexts implementing it make the Symfony container compile fail in the behat environment (found by the Behat 4 flip CI, ibexa/behat#200). The interface has been a no-op since Behat 3.0 — snippets are governed by the --snippets-for CLI option — so dropping it changes nothing on Behat 3.32 either.

For QA:

No functional change; phpstan identical to 6.0 baseline.

Documentation:

N/A

…ontexts

Behat 4 removes the interface, which made the container compile fail in the behat environment; it has been redundant since Behat 3.0, so removing it is compatible with both versions.
@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@ViniTou
ViniTou merged commit 22a4609 into 6.0 Sep 8, 2026
12 of 13 checks passed
@ViniTou
ViniTou deleted the IBX-12374-drop-snippet-accepting-context branch September 8, 2026 07:45
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