Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Jul 2021 at 10:45 UTC
Updated:
22 Oct 2021 at 08:49 UTC
Jump to comment: Most recent
Comments
Comment #2
avpadernoI changed the issue priority as described on Review process for security advisory coverage: What to expect / Application Review Timelines.
To reviewers: Please change back the priority to Normal after reviewing the project.
Comment #3
avpadernoComment #4
marijan gudeljPareview.net
failed
http://pareview.net/r/329
Comment #5
marijan gudeljAutomated review failed. Switching back to normal priority and needs work
Comment #6
kenniec commentedHi @marijan-gudelj,
Thank you for review,
but this is false-positive problem, seems on http://pareview.net used old version of coder.
According drupal coding standards ( https://www.drupal.org/node/608152#naming)
Also, see coder issue with fix for this - https://www.drupal.org/project/coder/issues/2804739
BR,
Alex
Comment #7
marijan gudeljI would like that apadermo also gives me his input about the naming.
When you look at the naming in major drupal modules (Example Commerce/Cart) property names are camelCase.
My guess that is because before snake case was used.
Regarding the source files in your module:
Is the context_advanced_datalayer a submodule?
Is the example_advanced_datalayer a submodule?
Comment #8
kenniec commentedHi @marijan-gudelj,
in last version of Commerce - https://www.drupal.org/project/commerce, in annotation files you can also see properties with underscores
Drupal\commerce\Annotation\CommerceEntityTrait
Drupal\commerce\Annotation\CommerceCondition
also, in d9 core like example
Drupal\Core\Field\Annotation\FieldWidget
Drupal\Core\Field\Annotation\FieldFormatter
all this classes - annotations, like my file from Pareview.net report (/src/Annotation/AdvancedDatalayerTag.php).
context_advanced_datalayer - yes, submodule to integrate with Context module (https://www.drupal.org/project/context).
example_advanced_datalayer - yes, submodule, some examples of group/tag plugins.
BR,
Alex
Comment #9
avpadernoAnnotation classes use property names containing underscores, there are many example in Drupal core, for example the
MediaSourceclass. That is allowed from Drupal coding standards.Comment #10
marijan gudelj@Kenniec I would suggest that you place your submodules in a modules directory.
I will do a full manual review soon.
Comment #11
avpadernoComment #12
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.