webksde / ddev-vscode-devcontainer-drupal-template

Drupal DDEV based development container with attached Visual Studio Code
23 stars 3 forks source link

PHPCS conflicts with PHP DocBlocker: Function Templating needed #33

Closed joshsedl closed 1 year ago

joshsedl commented 3 years ago

When creating a comment on a function, PHP DocBlocker automatically creates the return type. Even if this return type is void, this will get flaged by phpcs, since it isn't a coding standard: https://www.drupal.org/docs/develop/coding-standards/drupal-simpletest-coding-standards

joshsedl commented 3 years ago

DocBlocker now doesn't add return type void, but still needs templating, see:

https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker

JPustkuchen commented 1 year ago

Good reminder here, but nothing we will solve? Instead something PHP DocBlocker will have to solve or ~1Y later hopefully has sovled @joshsedl ?

joshsedl commented 1 year ago

Yea, I guess so, thx!