Closed (fixed)
Project:
Hotfolder
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Aug 2015 at 17:39 UTC
Updated:
21 Sep 2015 at 20:59 UTC
Jump to comment: Most recent, Most recent file
I was looking at example_hotfolder module while working on a project that extended the hotfolder API and saw that it could use some love in the way of addressing a few typos, grammar mistakes and bringing it up to current Drupal code style standards.
Comments
Comment #2
deetergp commentedI gave the Example Hotfolder (sub-) module a little love. I addressed a few spelling and grammar issues, fixed a couple syntax errors, brought the code up to current Drupal code style standards and rewrote the documentation in the hopes of making it a bit more clear and concise.
Comment #3
deetergp commentedComment #4
sjpatrick commentedLine 26 should be spelled with two asterisks. :-)
Comment #5
deetergp commentedNot according to PHPCS with the Drupal & DrupalStandard standards. That isn't a docblock for a function, it's just a multiline comment that stands on its own. But after re-running PHPCS, I saw that I was missing type hints for
$settings&$context. Fixed!Comment #6
sjpatrick commentedGroovy. Thanks for this. I know of a few other contrib modules that could use this kind of love. :-)
Comment #7
deetergp commentedThanks, sjpatrick!
Comment #9
deetergp commented