Skip to content

Conversation

@carlos-granados
Copy link
Contributor

In the ConfigConverterTools we were using assert to check a couple of conditions that should be checked at run time. The problem is that php assertions can be disabled and are not guaranteed to be available. This PR modifies the code to use if statements and exceptions instead

Copy link
Contributor

@acoulton acoulton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks @carlos-granados

@carlos-granados carlos-granados merged commit 69d11bd into Behat:master Oct 24, 2025
19 checks passed
@carlos-granados carlos-granados deleted the fix-use-assertions branch October 24, 2025 08:12
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.

2 participants