Skip to content

Commit b18e758

Browse files
committed
Add Rector
1 parent 58b04dd commit b18e758

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Setono
3+
Copyright (c) 2023 Setono
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ $ composer require --dev setono/code-quality-pack
88
## Packages
99

1010
* [ergebnis/composer-normalize](https://github.com/ergebnis/composer-normalize)
11-
* Normalizes your `composer.json`. This has a few advantages - easier diffs being one of them.
11+
* Normalizes your `composer.json`. This has a few advantages - easier diffs being one of them.
12+
* [rector/rector](https://getrector.org/documentation)
13+
* Easily refactors and upgrades your code base.
1214
* [sylius-labs/coding-standard](https://github.com/SyliusLabs/CodingStandard)
1315
* Sylius' coding standard. Very thorough.
1416
* [vimeo/psalm](https://psalm.dev/)
15-
* A static analysis tool much like PHPStan, but a lot of people would argue it's better.
17+
* A static analysis tool much like PHPStan, but a lot of people would argue it's better.

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"require": {
77
"php": ">=7.4",
88
"ergebnis/composer-normalize": "^2.28",
9+
"rector/rector": "^0.15.7",
910
"sylius-labs/coding-standard": "^4.1.1",
1011
"vimeo/psalm": "^4.30 || ^5.0"
1112
},

0 commit comments

Comments
 (0)