Mago 0.2.2
This release addresses an issue with the linter related to PHP version validation.
🛠 Fixes
- PHP Version Validation:
- Corrected the logic for validating PHP version constraints for linter rules. Previously, rules with minimum and maximum PHP version requirements were not correctly checked, leading to rules being applied or skipped incorrectly.
- Introduced a new method,
supports_php_version
, to streamline and standardize PHP version range validation (minimum is inclusive, maximum is exclusive).
This update ensures that compatibility checks for PHP versions now work as expected, improving accuracy and reducing false positives or negatives when linting with version-dependent rules.
Thank you for using Mago!