Skip to content

IBX-11766: Replaced phpunit assertions with webmozart equivalents#1920

Draft
bnowak wants to merge 4 commits into
5.0from
IBX-11766-replace-phpunit-assertions-with-webmozart-library
Draft

IBX-11766: Replaced phpunit assertions with webmozart equivalents#1920
bnowak wants to merge 4 commits into
5.0from
IBX-11766-replace-phpunit-assertions-with-webmozart-library

Conversation

@bnowak
Copy link
Copy Markdown
Contributor

@bnowak bnowak commented May 19, 2026

Caution

  • Remove tmp commits before merging
🎫 Issue IBX-11766

Related PRs:

ibexa/behat#184

Description:

Installed webmozart/assert library as require-dev dependency. It's still a bit "hidden" dependency (because behat package use assertions from /src directory), but at least it's defined in this specific library. Previously, phpunit was installed by indirect dependency from ibexa/behat package.

Replaced phpunit assertions with these from webmozart library.

For QA:

Documentation:

@bnowak bnowak force-pushed the IBX-11766-replace-phpunit-assertions-with-webmozart-library branch from 8dd3186 to 784fd4d Compare May 19, 2026 12:30
@bnowak bnowak force-pushed the IBX-11766-replace-phpunit-assertions-with-webmozart-library branch 4 times, most recently from f1335e9 to 46039ac Compare May 20, 2026 07:07
@bnowak bnowak force-pushed the IBX-11766-replace-phpunit-assertions-with-webmozart-library branch from 46039ac to d68c39b Compare May 20, 2026 07:58
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
5.3% 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.

5 participants