Skip to content

Commit ff02be9

Browse files
committed
Fix incorrect version references in migration documentation
Corrected v2.x to v1.15+ and removed unnecessary version update step from ANNOTATION_TO_ATTRIBUTE.md migration guide.
1 parent 3395ce4 commit ff02be9

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

ANNOTATION_TO_ATTRIBUTE.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
Ray.AuraSqlModule v2.x has removed the dependency on `doctrine/annotations` and now exclusively uses native PHP 8 attributes. This guide will help you migrate your application code from Doctrine annotations to PHP 8 attributes.
5+
Ray.AuraSqlModule v1.15+ has removed the dependency on `doctrine/annotations` and now exclusively uses native PHP 8 attributes. This guide will help you migrate your application code from Doctrine annotations to PHP 8 attributes.
66

77
## Why Migrate?
88

@@ -15,23 +15,15 @@ Ray.AuraSqlModule v2.x has removed the dependency on `doctrine/annotations` and
1515

1616
## Migration Steps
1717

18-
### Step 1: Update Ray.AuraSqlModule
19-
20-
First, ensure you're using Ray.AuraSqlModule v2.x:
21-
22-
```bash
23-
composer require ray/aura-sql-module:^2.0
24-
```
25-
26-
### Step 2: Install Rector (if not already installed)
18+
### Step 1: Install Rector (if not already installed)
2719

2820
Rector is an automated refactoring tool that can convert annotations to attributes:
2921

3022
```bash
3123
composer require --dev rector/rector
3224
```
3325

34-
### Step 3: Run Automated Migration
26+
### Step 2: Run Automated Migration
3527

3628
Ray.AuraSqlModule provides a Rector configuration file for automated migration:
3729

@@ -49,15 +41,15 @@ If you have tests that use annotations:
4941
vendor/bin/rector process tests --config=vendor/ray/aura-sql-module/rector-migrate.php
5042
```
5143

52-
### Step 4: Manual Review
44+
### Step 3: Manual Review
5345

5446
Review the changes made by Rector and adjust if necessary. Pay special attention to:
5547

5648
- Multi-line annotations with complex values
5749
- Annotations with custom parameters
5850
- Import statements (Rector should handle these automatically)
5951

60-
### Step 5: Remove doctrine/annotations
52+
### Step 4: Remove doctrine/annotations
6153

6254
After migration, you can safely remove the doctrine/annotations dependency:
6355

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [1.15.1] - 2025-11-09
2+
3+
### Fixed
4+
- **Documentation**: Corrected incorrect version references in `ANNOTATION_TO_ATTRIBUTE.md`
5+
16
## [1.15.0] - 2025-11-09
27

38
### Changed

0 commit comments

Comments
 (0)