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
Copy link
Copy Markdown
Contributor

@simPod simPod commented Jan 11, 2021

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

@goetas
Copy link
Copy Markdown
Collaborator

goetas commented Jan 11, 2021

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

@simPod
Copy link
Copy Markdown
Contributor Author

simPod commented Jan 11, 2021

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