- Issue created by @bluegeek9
- @bluegeek9 opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:11pm 27 September 2023 - Status changed to Postponed
over 1 year ago 1:50pm 27 September 2023 - πΊπΈUnited States robphillips
This project doesn't have any tests written as of now. I'm all for adding the template file whenever some tests are written.
- Status changed to Needs review
about 1 year ago 1:28pm 5 October 2023 - πΊπΈUnited States bluegeek9
Hi @robphillips,
I understand if you want to hold off until there are tests. I updated the pipeline to not run phpunit and added drupal-check to the validation stage.
I may add a unit test for permissions. If I find a bug, I'll add a test for the bug.
This is a minor issue drupal-check found: π Minor item found by drupal-check Active .
The pipeline has three stages: composer install, validation, and test. By default, validation job may fail, but the pipeline will still be a success, and test job must pass. We can change this to require the validation jobs to pass for the pipeline to pass.
I recommend requiring the validation jobs to pass.
- Status changed to Needs work
about 1 year ago 2:57pm 5 October 2023 - πΊπΈUnited States robphillips
This project is not using drupal-check for code validation. In fact, the MR needs to be revised to resemble the official Drupal template. https://git.drupalcode.org/project/gitlab_templates/-/blob/1.0.x/gitlab-...
This commit (https://git.drupalcode.org/project/comment_delete/-/merge_requests/7/dif...) should be opened as a separate ticket.
- Status changed to Needs review
about 1 year ago 8:35pm 5 October 2023 - πΊπΈUnited States bluegeek9
@robphillips,
I reverted the change to comment_delete.module.
- Status changed to Needs work
about 1 year ago 2:39pm 6 October 2023 - πΊπΈUnited States robphillips
Looks better. Although the template doesn't exactly match the recommended default template. I don't believe there's currently a benefit to enabling the SKIP_PHPUNIT option. Can the default template be simply copied into place for now?
- Status changed to Needs review
about 1 year ago 12:55am 14 October 2023 - πΊπΈUnited States bluegeek9
I reverted the pipeline to the default. I added tests. I moved the permission generator into a different class; it was easier to test as separate classes.
I appreciate your work on the delete comment project, @robphillips.
- πΊπΈUnited States bluegeek9
PHPStan was added to the default workflow, by Drupal.org maintainers.
I updated the pull request to resolve the one issues PHPStan found.
https://git.drupalcode.org/project/comment_delete/-/merge_requests/7/dif...