|
348 | 348 | TernaryToNullCoalescingFixer::class, |
349 | 349 | // Unary operators should be placed adjacent (without a space) to their operands. |
350 | 350 | UnaryOperatorSpacesFixer::class, |
351 | | - |
| 351 | + // There should not be blank lines between docblock and the documented element. |
352 | 352 | NoBlankLinesAfterPhpdocFixer::class, |
353 | | - |
| 353 | + // There should not be empty PHPDoc blocks. |
354 | 354 | NoEmptyPhpdocFixer::class, |
355 | 355 | // PHPDoc should contain `@param` for all params. |
356 | 356 | PhpdocAddMissingParamAnnotationFixer::class, |
|
442 | 442 | // Promote constructor properties |
443 | 443 | // For php-cs-fixer implementation @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5956 |
444 | 444 | RequireConstructorPropertyPromotionSniff::class, |
445 | | - |
446 | | - // switch -> match |
447 | | - // @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5894 |
448 | | - |
449 | | - // Require \Stringable interface in classes implementing __toString() method |
450 | | - // > it may probably be a phpstan rule, more than cs rule - since it needs a class hierarchy to solve this |
451 | | - // @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6235 |
452 | | - |
453 | 445 | // Multi-line arguments list in function/method call must have a trailing comma |
454 | 446 | RequireTrailingCommaInCallSniff::class, // TODO: will be redundant after https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7989 is merged and released |
455 | | - |
456 | 447 | // Use `null-safe` operator `?->` where possible |
457 | 448 | RequireNullSafeObjectOperatorSniff::class, |
458 | 449 | ], |
|
0 commit comments