File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 44use Rector \CodeQuality \Rector \If_ \SimplifyIfElseToTernaryRector ;
55use Rector \Config \RectorConfig ;
66use Rector \Strict \Rector \Empty_ \DisallowedEmptyRuleFixerRector ;
7- use Rector \TypeDeclaration \Rector \ClassMethod \ReturnTypeFromStrictFluentReturnRector ;
87use Rector \ValueObject \PhpVersion ;
98
109return RectorConfig::configure ()
1615 ->withSkip ([
1716 DisallowedEmptyRuleFixerRector::class,
1817 SimplifyIfElseToTernaryRector::class,
19- // CakePHP coding standards don't allow return type hints on fluent methods
20- ReturnTypeFromStrictFluentReturnRector::class,
2118 ])
2219 ->withImportNames (
2320 importNames: true ,
You can’t perform that action at this time.
0 commit comments