Skip to content

feat(formatter): introduce an option to add a space before ! prefix operator #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

azjezz
Copy link
Member

@azjezz azjezz commented Mar 3, 2025

📌 What Does This PR Do?

This PR introduces a new space_after_not_operator option which when enabled will add a space between ! and the expression.

🔍 Context & Motivation

This feature was requested in #99

🛠️ Summary of Changes

  • Feature: Added space_after_not_operator formatter option.
  • Docs: Updated formatter settings docs to include the new space_after_not_operator option.

📂 Affected Areas

  • Linter
  • Formatter
  • CLI
  • Composer Plugin
  • Dependencies
  • Documentation
  • Other (please specify):

🔗 Related Issues or PRs

Closes #99

📝 Notes for Reviewers

@azjezz azjezz added Priority: High After critical issues are fixed, handle these before any further issues. Type: Enhancement Request for additions or changes that improve existing functionality. Subject: Formatter An issue or PR related to the formatter. labels Mar 3, 2025
@azjezz azjezz self-assigned this Mar 3, 2025
@azjezz azjezz merged commit a8c89fc into main Mar 3, 2025
4 checks passed
@azjezz azjezz deleted the feat/formatter-space-not branch March 3, 2025 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High After critical issues are fixed, handle these before any further issues. Subject: Formatter An issue or PR related to the formatter. Type: Enhancement Request for additions or changes that improve existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Space after not operator
1 participant