You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8d9fc71
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,9 @@ Right now we focus especially on rules to migrate from the old Content Repositor
6
6
Event Sourced Content Repository (>= 9.0).
7
7
8
8
## Installation
9
-
As Rector has strict dependency requirements, which might not match your own project, we strongly recommend to install
10
-
neos/rector in a dedicated directory and **not to add it to your project**.
9
+
10
+
Please install the neos/rector package in your Distribution as a dev dependency with composer.
11
+
<br>(This has changed to previous versions of this package)
11
12
12
13
```bash
13
14
# inside your Distribution folder
@@ -22,9 +23,11 @@ migrated). By default, all of `./DistributionPackages` will be migrated.
22
23
23
24
Right now, we ship the following sets of Rector rules:
24
25
25
-
-`\Neos\Rector\NeosRectorSets::CONTENTREPOSITORY_9_0`: all rules needed to migrate to the Event-Sourced Content Repository
26
+
-`\Neos\Rector\NeosRectorSets::CONTENTREPOSITORY_9_0`: all rules needed to migrate to the Event-Sourced Content
27
+
Repository
26
28
27
-
Also you need to add the autoload paths, to allow rector to parse your code properly. By default we added `./Packages` and `./DistributionPackages` to the template.
29
+
Also you need to add the autoload paths, to allow rector to parse your code properly. By default we added `./Packages`
30
+
and `./DistributionPackages` to the template.
28
31
29
32
```php
30
33
$rectorConfig->sets([
@@ -50,11 +53,12 @@ Run the following command at the root of your distribution (i.e. where `rector.p
50
53
51
54
```bash
52
55
# for trying out what would be done
53
-
./rector/vendor/bin/rector --dry-run
56
+
./bin/rector --dry-run
54
57
55
58
# for running the migrations
56
-
./rector/vendor/bin/rector
59
+
./bin/rector
57
60
```
61
+
58
62
---
59
63
60
64
# Developing Rector Rules for Neos
@@ -75,15 +79,13 @@ The test setup runs completely self contained; does not need *any* Distribution
75
79
76
80
```bash
77
81
# if inside a Neos Distribution, change to the Package's folder
0 commit comments