The module provides a webform CPF field to be used in webforms. (CPF is a Brazilian ID.)
Project link
https://www.drupal.org/project/webform_cpf
Git instructions
git clone --branch 8.x-1.x https://git.drupalcode.org/project/webform_cpf.git
PAReview checklist
https://pareview.sh/pareview/https-git.drupal.org-project-webform_cpf.git
Comments
Comment #2
avpadernoThank you for applying! I added the Git instructions for non-maintainer users and the PAReview checklist link. Reviewers will check the project and post comments to list what should be changed.
If you haven't done it, yet, please check the PAReview report and fix what needs to be fixed. There could be some false positives; verify that what reported is correct, before making any change.
Comment #3
jasonawantHere's a single comment apart from the PAReview: https://pareview.sh/pareview/https-git.drupal.org-project-webform_cpf.git
The *.info.yml file lists three dependencies, but the README only lists one: https://git.drupalcode.org/project/webform_cpf#requirements
Also, while it's likely apart to webform users, the README could include a configuration/usage section about this.
Comment #4
avpadernoComment #5
thiagogomesverissimo commentedGuys,
Thanks you for your revision!
I adapted the code as suggested and the following was changed:
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml webform_cpfComment #6
rksyraviIn these files you have used services
/webform_cpf/src/Plugin/WebformElement/WebformCpf.php and /webform_cpf/src/Element/WebformCpf.phpPlease use dependency injection.
Comment #7
vernitPlease refer the #6 to work on it i.e. Please use dependency injection.
Comment #8
thiagogomesverissimo commentedCode changed from services to dependency injection, as asked in #6.
Thanks again for yours reviews!
Comment #9
klausiThanks for you contribution!
WebformCpf::form(): looks like this method does not do anything and can be removed?
Otherwise looks good to me!
Comment #10
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.
Comment #11
thiagogomesverissimo commentedthanks guys!