Skip to content

Enable RequireOneLinePropertyDocComment sniff#1274

Open
simPod wants to merge 1 commit into
schmittjoh:masterfrom
simPod:one-line
Open

Enable RequireOneLinePropertyDocComment sniff#1274
simPod wants to merge 1 commit into
schmittjoh:masterfrom
simPod:one-line

Conversation

@simPod

@simPod simPod commented Jan 11, 2021

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass?
Fixed tickets #...
License MIT

@goetas

goetas commented Jan 11, 2021

Copy link
Copy Markdown
Collaborator

TBH i do not see a value in this, it was intentionally disabled that sniff (and phpstorm automatically uses the multiline version...)

@simPod

simPod commented Jan 11, 2021

Copy link
Copy Markdown
Contributor Author

I thought that for easier maintenance it would be best to comply with Doctrine standard. That said removing all custom settings, exclusions etc.

Eg. this sniff saves a lot of file vertical space. Phpstorm has somehow outdated file templates, that's true.

In last few years phpdoc are started disappearing rapidly as we have param, return and property types. Will get event better with annotations and union types, mb even generics.

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