Skip to content

Commit 382635a

Browse files
committed
Revert rector config
1 parent bd2d8b3 commit 382635a

File tree

3 files changed

+2
-48
lines changed

3 files changed

+2
-48
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,6 @@ possible it can be added to the baseline using `set-baseline`:
151151
$ vendor/bin/psalm --set-baseline=psalm-baseline.xml
152152
```
153153

154-
## Automatic code refactoring
155-
156-
The library uses [rector](https://getrector.com/) to refactor the code for new features.
157-
To run automatic refactoring, use the `rector` command:
158-
159-
```
160-
$ vendor/bin/rector
161-
```
162-
163-
New rules can be added to the `rector.php` configuration file.
164-
165154
## Documentation
166155

167156
Documentation for the library lives in the `docs/` directory and is built with

composer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
"symfony/polyfill-php80": "^1.27"
1919
},
2020
"require-dev": {
21-
"doctrine/coding-standard": "^11.1",
22-
"rector/rector": "^0.16.0",
2321
"squizlabs/php_codesniffer": "^3.7",
22+
"doctrine/coding-standard": "^11.1",
2423
"symfony/phpunit-bridge": "^5.2",
2524
"vimeo/psalm": "^4.28"
2625
},
@@ -40,7 +39,6 @@
4039
"config": {
4140
"allow-plugins": {
4241
"dealerdirect/phpcodesniffer-composer-installer": true
43-
},
44-
"sort-packages": true
42+
}
4543
}
4644
}

rector.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)