Skip to content

Commit 365ac7d

Browse files
committed
Rectoring fixes
1 parent 14df603 commit 365ac7d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ Contributions are welcome! Please follow these guidelines:
12341234
```bash
12351235
composer cs-check # Check code style
12361236
composer stan # Run PHPStan analysis
1237-
composer rector # Run rectoring
1237+
composer rector-check # Run rectoring
12381238
composer test # Run tests
12391239
```
12401240

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"stan": "phpstan analyse",
4040
"cs-check": "phpcs --colors -p -s",
4141
"cs-fix": "phpcbf --colors -p -s",
42-
"rector": "rector --ansi"
42+
"rector-check": "rector --dry-run --ansi",
43+
"rector-fix": "rector --ansi"
4344
}
4445
}

rector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
->withSkip([
1717
DisallowedEmptyRuleFixerRector::class,
1818
SimplifyIfElseToTernaryRector::class,
19-
// CakePHP coding standards don't allow return type hints on fluent methods
2019
ReturnTypeFromStrictFluentReturnRector::class,
2120
])
2221
->withImportNames(

0 commit comments

Comments
 (0)