github carthage-software/mago 0.14.0
Maog 0.14.0

latest releases: 1.0.0-beta.12, 1.0.0-beta.11, 1.0.0-beta.10...
6 months ago

Formatter Enhancements πŸ› οΈ

  • Stdin input support:
    You can now use mago fmt --stdin-input to format code provided via stdin and output the result to stdout. This enables seamless integration with various editors and tools, streamlining your workflow. Check out our updated docs for editor integration recipes with Zed and VS Code:

  • Improved comment handling: The formatter now handles comments inside and around call argument lists more effectively, ensuring that comments are preserved and formatted correctly.

##Β Linter Improvements πŸ”

  • @mago-expect comments: Introducing @mago-expect comments as a recommended alternative to @mago-ignore comments. While @mago-ignore completely silences the linter, @mago-expect allows the linter to still scan the code and verify that the expected issue is present. This helps prevent unintended issues from being suppressed and promotes more reliable code analysis.
  • comment/use-expect-instead-of-ignore rule: This new rule recommends using @mago-expect comments instead of @mago-ignore comments, guiding you towards better linting practices.

Bug Fixes πŸ›

  • CRLF handling on Windows: Fixed an issue where CRLF line endings were not handled correctly on Windows, leading to mixed line endings and other formatting inconsistencies.

This release makes Mago an even more powerful and versatile tool for PHP code styling and analysis. We hope you enjoy the new features and improvements! πŸŽ‰


Full Changelog: 0.13.1...0.14.0

Don't miss a new mago release

NewReleases is sending notifications on new releases.