Skip to content

Commit b660c08

Browse files
committed
Docs: Update comments - add missing and remove irrelevant
1 parent 815901d commit b660c08

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

ecs.php

+2-11
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@
348348
TernaryToNullCoalescingFixer::class,
349349
// Unary operators should be placed adjacent (without a space) to their operands.
350350
UnaryOperatorSpacesFixer::class,
351-
351+
// There should not be blank lines between docblock and the documented element.
352352
NoBlankLinesAfterPhpdocFixer::class,
353-
353+
// There should not be empty PHPDoc blocks.
354354
NoEmptyPhpdocFixer::class,
355355
// PHPDoc should contain `@param` for all params.
356356
PhpdocAddMissingParamAnnotationFixer::class,
@@ -442,17 +442,8 @@
442442
// Promote constructor properties
443443
// For php-cs-fixer implementation @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5956
444444
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-
453445
// Multi-line arguments list in function/method call must have a trailing comma
454446
RequireTrailingCommaInCallSniff::class, // TODO: will be redundant after https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7989 is merged and released
455-
456447
// Use `null-safe` operator `?->` where possible
457448
RequireNullSafeObjectOperatorSniff::class,
458449
],

0 commit comments

Comments
 (0)