Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassPropertyAssignToConstructorPromotionRector should put properties on separate lines when max line length exceeded #7514

Closed
arogachev opened this issue Sep 29, 2022 · 2 comments
Labels

Comments

@arogachev
Copy link

arogachev commented Sep 29, 2022

Bug Report

Subject Details
Rector version dev-main@149764 released at 2022-09-27 22:23:29

Minimal PHP Code Causing Issue

https://getrector.org/demo/83c06ae1-e29d-4f6f-a2a4-8966d63df6ab

Expected Behaviour

public function __construct(
    private AbstractConnection $connection, 
    private QueueSettingsInterface $queueSettings,
    private ?ExchangeSettingsInterface $exchangeSettings = null
)
@TomasVotruba
Copy link
Member

This is outside of Rector scope.
Use coding standard tool for an that:
https://github.com/rectorphp/rector#how-to-apply-coding-standards

@arogachev
Copy link
Author

OK. Thanks for explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants