You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ide-helper:models command modifies the DocBlock of the models in the application.
It looks like this happens by reading the entire comment and rebuilding it, which makes sense.
The problem is that this process adds extra space to blank lines in the comment.
Example:
/** * This model does something interesting. * * It is an example of a model with lots of documentation */class MyModel extends Model
{}
After the ide-helper:models command is run (here using -M to simplify the output), the following is produced:
/** * This model does something interesting. * <-- THIS LINE HAS EXTRA TRAILING SPACE * It is an example of a model with lots of documentation * * @mixin IdeHelperMyModel */class MyModel extends Model
{}
This requires a second step (manual or automated) of removing all these trailing spaces again.
Would it be possible for this tool to not write those spaces in the first place?
The text was updated successfully, but these errors were encountered:
Summary
The
ide-helper:models
command modifies the DocBlock of the models in the application.It looks like this happens by reading the entire comment and rebuilding it, which makes sense.
The problem is that this process adds extra space to blank lines in the comment.
Example:
After the
ide-helper:models
command is run (here using-M
to simplify the output), the following is produced:This requires a second step (manual or automated) of removing all these trailing spaces again.
Would it be possible for this tool to not write those spaces in the first place?
The text was updated successfully, but these errors were encountered: