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

Enforce method to not have docblock #237

Open
wants to merge 6 commits into
base: 8.3.x
Choose a base branch
from

Conversation

claudiu-cristea
Copy link
Contributor

Copy link
Collaborator

@klausi klausi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks - can you introduce this in a way that existing tests stay as is?

&& $tokens[$commentEnd]['code'] !== T_COMMENT
) {
if ($methodName === '__construct') {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we must not treat constructors in a special way. Comments on constructors are good and we need to allow them.

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

Successfully merging this pull request may close these issues.

2 participants