Closed (fixed)
Project:
Webform
Version:
6.3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2024 at 04:54 UTC
Updated:
4 Jun 2025 at 22:27 UTC
Jump to comment: Most recent
Follow-up to #3465838: Drupal 11 compatibility fixes for webform. There are a number of linting warnings including:
In this ticket, fix the cspell errors.
Implement.
None.
None.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
liam morlandphpcs is currently passing, but others are not. It might be a good idea to have separate issues for each linter.
Comment #4
ankitv18 commentedComment #6
jrockowitz commentedPlease lets fix one linting issue per ticket.
Let's address cspell in this ticket.
I think phpstan and phpcbf issue will be much harder to safely address.
Comment #11
liam morlandphpcs had been passing and should be passing again with the above changes.
Comment #12
liam morlandComment #13
ankitv18 commentedYes I'm working on cspell pipeline fix only on this issue ~~ will create separate issues for rest of the pipeline fixes.
cc: @liam morland @jrockowitz
Comment #14
ankitv18 commentedMR!520 is ready for a review
Comment #15
ankitv18 commentedComment #16
liam morlandThanks for the patch.
Why is this needed?
<exclude name="DrupalPractice.Commenting.CommentEmptyLine.SpacingAfter"/>Comment #17
ankitv18 commentedEven with the proper commenting to include cspell:ignore, the phpcs throws warnings
Please see: https://git.drupalcode.org/issue/webform-3474074/-/jobs/2919966#L43
Comment #18
liam morlandCan you not use
phpcs:ignoreto fix that? Or not have the blank line after?I suspect that "durpalicon" should be "drupalicon".
Comment #19
ankitv18 commentedAll done and dusted ~~ Cspell and phpcs both pipelines are clean now.
Comment #20
liam morland"Uable" should probably be "Unable".
Comment #21
ankitv18 commented@liam morland Please review the MR
Comment #23
jrockowitz commented