-
Notifications
You must be signed in to change notification settings - Fork 79
New feature | Code generator for interfaces and method declarations #1
Conversation
.gitignore
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please undo this. Instead add your custom files in your global gitignore
|
@Maks3w Done :-) |
src/Generator/InterfaceGenerator.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license should be on top of namespace like others. @author should be before class
|
Please fix all docblocks and remove stuff like this: |
src/Generator/InterfaceGenerator.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use short array syntax []
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samsonik I switched to use short array syntax. I would like to know if this is a real guideline. I see -alot- of old fashioned array() statements in this project. I don't mind using one or the other. But I don't like doing the same thing twice. Is there some sort of document available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DaanBiesterbos Recently the rule has been applied b1ddef7
Hi,
I developed a generator for interfaces and the method declarations. I felt like sharing today. Reflection classes and tests are included.
Cheers,
Daan