Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
New Linter Rules
Added several best-practice and analysis rules to improve code quality:
best-practices/no-else-clause
: Discourages the useelse
clause in anif
statement.best-practices/no-boolean-flag-parameter
: Flags boolean parameters that reduce readability.best-practices/no-boolean-literal-comparison
: Detects redundant boolean comparisons.best-practices/no-empty-catch-clause
: Warns about empty catch blocks.best-practices/dont-catch-error
: Warns against catching PHP's internalError
throwable.redundancy/redundant-file
: Identifies empty or redundant files.redundancy/redundant-mathematical-operation
: Finds unnecessary math operations.analysis/override-attribute
: Enforces use of#[\Override]
for overridden methods (with auto-fix support).maintainability/long-inheritance-chain
: Warns against deep inheritance hierarchies.analysis/parameter-name
: Flag parameter name change in overriden methods.Linter Enhancements
🐛 Bug Fixes
Parser & Reflection Fixes
Static Call Handling
CLI Fixes
mago fix
command functionality.📚 Documentation
Added example CI configurations to streamline integration with GitHub workflows @nhedger in docs: add ci recipes carthage-software/mago#79
🔧 Internal Changes
Serialization Cleanup
Removed serialization logic from
interner
andproject
crates.Source Management
Stub source names now prefixed with
@
for clearer identification.🚨 Breaking Changes
Rust Edition Update
Migrated from Rust 2021 to Rust 2024 edition. Ensure your toolchain is compatible.
Minimum Supported Rust Version (MSRV)
Updated MSRV to 1.85.0. Older Rust versions are no longer supported.
Enjoy the updates! 🚀
Full Changelog: carthage-software/mago@0.10.0...0.11.0