Skip to content

Enforce an empty line between parameters #16

New issue

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

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

Already on GitHub? # to your account

Open
leonhelmus opened this issue Mar 24, 2021 · 0 comments · May be fixed by #15
Open

Enforce an empty line between parameters #16

leonhelmus opened this issue Mar 24, 2021 · 0 comments · May be fixed by #15
Assignees

Comments

@leonhelmus
Copy link
Contributor

By default, parameters in PHP storm are created like:

/** @var Warehouse */
private $warehouse;
/** @var PredictedStock */
private $predictedStock;

Although it is not really nice to read, testing-suite is ok with this

We want to enforce an empty line between parameters, like

/** @var Warehouse */
private $warehouse;

/** @var PredictedStock */
private $predictedStock;

Requirements

  • Empty line is enforced

Nice to have

  • Emty line is added while creating
  • PHPcs fixer(?) can automatically fix this
@leonhelmus leonhelmus linked a pull request Mar 24, 2021 that will close this issue
@igorwulff igorwulff self-assigned this Sep 20, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants