Skip to content

1.13.6

Choose a tag to compare

@koriym koriym released this 10 Nov 02:57
· 124 commits to 1.x since this release

Critical Fix for PHP 8.0-8.3

Fixed

  • Migration Tool: Fixed rector-migrate.php to work correctly with user projects
    • Removed hardcoded withPaths() that prevented migration from working
    • Users can now specify target paths via command line arguments
    • Added documentation for processing multiple directories
    • Matches pattern used in Ray.PsrCacheModule (PR #32)

⚠️ Migration Tool Fix

Previous versions (1.13.4, 1.13.5) had a critical bug that prevented the migration tool from working with user projects. This release fixes that issue.

How to Migrate (Fixed)

# Process a single directory
vendor/bin/rector process src --config=vendor/ray/aura-sql-module/rector-migrate.php --dry-run
vendor/bin/rector process src --config=vendor/ray/aura-sql-module/rector-migrate.php

# Process multiple directories
vendor/bin/rector process src tests --config=vendor/ray/aura-sql-module/rector-migrate.php

See ANNOTATION_TO_ATTRIBUTE.md for detailed migration guide.

Note

  • This is a critical fix for PHP 8.0-8.3 users migrating from annotations to attributes
  • Migration guide has been verified to work correctly with real user projects
  • This is a backport of the fix from 1.15.2 (PHP 8.4+)

Version Strategy

  • 1.13.x: PHP 8.0-8.3 support
  • 1.15.x+: PHP 8.4+ support

Related PR

  • #84: rector-migrate.php fix for 1.13.x