|
69 | 69 | use PhpCsFixer\Fixer\FunctionNotation\LambdaNotUsedImportFixer;
|
70 | 70 | use PhpCsFixer\Fixer\FunctionNotation\NoUnreachableDefaultArgumentValueFixer;
|
71 | 71 | use PhpCsFixer\Fixer\FunctionNotation\NoUselessSprintfFixer;
|
72 |
| -use PhpCsFixer\Fixer\FunctionNotation\PhpdocToParamTypeFixer; |
73 |
| -use PhpCsFixer\Fixer\FunctionNotation\PhpdocToPropertyTypeFixer; |
74 |
| -use PhpCsFixer\Fixer\FunctionNotation\PhpdocToReturnTypeFixer; |
75 | 72 | use PhpCsFixer\Fixer\FunctionNotation\ReturnTypeDeclarationFixer;
|
76 | 73 | use PhpCsFixer\Fixer\FunctionNotation\VoidReturnFixer;
|
77 | 74 | use PhpCsFixer\Fixer\Import\NoLeadingImportSlashFixer;
|
|
133 | 130 | use PhpCsFixer\Fixer\Whitespace\NoExtraBlankLinesFixer;
|
134 | 131 | use PhpCsFixer\Fixer\Whitespace\NoWhitespaceInBlankLineFixer;
|
135 | 132 | use PhpCsFixer\Fixer\Whitespace\TypeDeclarationSpacesFixer;
|
136 |
| -use SlevomatCodingStandard\Sniffs\Classes\RequireConstructorPropertyPromotionSniff; |
137 | 133 | use SlevomatCodingStandard\Sniffs\ControlStructures\RequireNullSafeObjectOperatorSniff;
|
138 | 134 | use SlevomatCodingStandard\Sniffs\Exceptions\ReferenceThrowableOnlySniff;
|
139 | 135 | use SlevomatCodingStandard\Sniffs\Functions\RequireTrailingCommaInCallSniff;
|
|
377 | 373 | ReferenceThrowableOnlySniff::class,
|
378 | 374 | // The @param, @return, @var and inline @var annotations should keep standard format
|
379 | 375 | ParamReturnAndVarTagMalformsFixer::class,
|
380 |
| - // Takes `@var` annotation of non-mixed types and adjusts accordingly the property signature. |
381 |
| - PhpdocToPropertyTypeFixer::class, |
382 |
| - // Takes `@param` annotations of non-mixed types and adjusts accordingly the function signature. |
383 |
| - PhpdocToParamTypeFixer::class, |
384 |
| - // Takes `@return` annotation of non-mixed types and adjusts accordingly the function signature. |
385 |
| - PhpdocToReturnTypeFixer::class, |
386 |
| - // Promote constructor properties |
387 |
| - // @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5956 |
388 |
| - RequireConstructorPropertyPromotionSniff::class, |
389 | 376 |
|
390 | 377 | // switch -> match
|
391 | 378 | // @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/5894
|
392 | 379 |
|
393 | 380 | // Require \Stringable interface in classes implementing __toString() method
|
394 | 381 | // > it may probably be a phpstan rule, more than cs rule - since it needs a class hierarchy to solve this
|
395 | 382 | // @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6235
|
396 |
| - PropertyTypeHintSniff::class, |
397 |
| - |
398 |
| - ParameterTypeHintSniff::class, |
399 |
| - ReturnTypeHintSniff::class, |
400 | 383 |
|
401 | 384 | // Multi-line arguments list in function/method declaration must have a trailing comma
|
402 | 385 | RequireTrailingCommaInDeclarationSniff::class,
|
|
0 commit comments