Skip to content

Conversation

TomPeters-NL
Copy link
Contributor

🌟 Summary.

This pull request disables the requirement of Yoda-style comparisons.

Yoda-style comparisons will not be disallowed, so it is up to the author's preference which style they apply.

📝 Changelog.

  • Removed SlevomatCodingStandard.ControlStructures.RequireYodaComparison rule.

@TomPeters-NL TomPeters-NL added the enhancement New feature or request label Feb 19, 2025
@TomPeters-NL TomPeters-NL merged commit 46bc902 into master Feb 19, 2025
@TomPeters-NL TomPeters-NL deleted the disable-yoda-requirement-we-shall branch February 19, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants