Skip to content

Release v1.0.3

Choose a tag to compare

@github-actions github-actions released this 30 Mar 05:31
· 165 commits to main since this release

Release v1.0.3: PHP 8.1 compatibility fixes and Rector version detection

Changelog

Fixed

  • PHP 8.1 compatibility: Removed typed constants (private const int) which require PHP 8.3+
    • All constants now use untyped syntax compatible with PHP 8.1+
    • Fixed PHPUnit code coverage HTML generation error
  • PHP-CS-Fixer configuration conflict: Removed conflicting single_blank_line_before_namespace rule
    • This rule conflicts with blank_lines_before_namespace included in @PSR12
    • Configuration now works correctly without conflicts
  • Rector package version compatibility: Fixed compatibility issues with Rector 2.x
    • Plugin now detects Rector version and handles optional packages accordingly
    • For Rector 1.x: Optional packages (rector-symfony, rector-doctrine, rector-phpunit) are installed normally
    • For Rector 2.x: Optional packages are automatically skipped (not compatible yet)
    • These packages (rector-symfony:^1.0, rector-doctrine:^0.16, rector-phpunit:^1.0) conflict with Rector 2.x
    • Fixes installation errors when Rector 2.x is installed