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

Provide template and/or more customisation options #410

Open
Gert-dev opened this issue May 4, 2018 · 1 comment
Open

Provide template and/or more customisation options #410

Gert-dev opened this issue May 4, 2018 · 1 comment

Comments

@Gert-dev
Copy link
Owner

Gert-dev commented May 4, 2018

Originally posted by @mdeboer:

I'm absolutely in love with the getter/setter generation except that I always have to do a round of regex replace to get all docblocks how I want them.

For instance I want to have one space between parentheses and colon for return type declaration like public function foo() : void, except it doesn't. Also it adds @return static on setters instead of @return MyClass with a return type declaration, like I would want it to. It's a fine standard but I'm just picky 😆

Anyway I've seen other (outdated) packages that allows you to set a getter and setter template. Even if it were only for the docblocks it would be amazing to have. Or if templates are not the way to go for some reason, I wouldn't mind having some settings to tweak the things I mentioned above.

@Gert-dev
Copy link
Owner Author

Gert-dev commented May 4, 2018

Screenshot of feedback as I'm too lazy to copy the comments:

feedback

@Gert-dev Gert-dev closed this as completed May 4, 2018
@Gert-dev Gert-dev reopened this May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant