- @quietone opened merge request.
- Status changed to Needs review
almost 2 years ago 9:54am 23 January 2023 - ๐ณ๐ฟNew Zealand quietone
Restore drupalci and now setting back to NR.
- Status changed to RTBC
almost 2 years ago 2:58pm 23 January 2023 - ๐บ๐ธUnited States smustgrave
Tested the same way as before.
Commented out phpcs exclude line and ran the code-commit-check.sh and confirmed the files being addressed in this ticket are not throwing errors.
Change looks good to me then.
- ๐บ๐ธUnited States smustgrave
Went back and reread them and they look fine
Only one that stood out for maybe a second opinion is but the brief work I've done in Xss.php those sounds right.
* @see \Drupal\Component\Utility\Xss::filter() * @see \Drupal\Component\Utility\UrlHelper::filterBadProtocol * @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols
- ๐บ๐ธUnited States xjm
Can I ask in advance of reviewing this one that it also be converted to an MR? There will be suggestions. I can tell already by the second hunk. :)
- Status changed to Needs work
almost 2 years ago 3:43am 24 January 2023 - ๐ณ๐ฟNew Zealand quietone
@smustgrave, thanks for reading the changes.
@xjm, all of these siblings have been converted to MRs.
- Status changed to Needs review
almost 2 years ago 7:45am 28 January 2023 - ๐ณ๐ฟNew Zealand quietone
Setting back to Needs review.
Needs followup to look at \Drupal\KernelTests\Core\Common\XssUnitTest as mentioned in this comment
- Status changed to RTBC
almost 2 years ago 6:32pm 28 January 2023 - ๐บ๐ธUnited States smustgrave
Opened ๐ Look into XssUnitTest Comments Active for the followup
That appeared to be the only open thread I could tell.
- Status changed to Needs work
almost 2 years ago 3:34pm 7 February 2023 - ๐บ๐ธUnited States xjm
Added a couple more suggestions. "Test module" is not a helpful file docblock. One of the proposed docblocks also went against our coding standards by not having complete sentences.
Thanks!
- Status changed to RTBC
almost 2 years ago 3:35pm 7 February 2023 - ๐บ๐ธUnited States xjm
Sorry, that comment was meant for the other issue.
- Status changed to Needs work
almost 2 years ago 5:27pm 7 February 2023 - ๐บ๐ธUnited States xjm
I started from the end of the MR this time, because I confused this issue with another one. I guess there are at least three issues related to this rule.
- ๐ณ๐ฟNew Zealand quietone
Needs a followup for this comment, https://git.drupalcode.org/project/drupal/-/merge_requests/3278#note_149676
- ๐ณ๐ฟNew Zealand quietone
๐ Convert testSkipSecurityFilters() to a unit or kernel test Active
๐ Remove possible duplicate test XssUnitTest::testBadProtocolStripping Active
๐ Convert testJail() to use expectExceptions Needs review - @quietone opened merge request.
- Status changed to Needs review
over 1 year ago 1:43am 9 March 2023 - Status changed to Needs work
over 1 year ago 10:12am 10 March 2023 The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- Status changed to Needs review
over 1 year ago 5:23am 14 March 2023 - Status changed to RTBC
over 1 year ago 5:07pm 14 March 2023 - ๐บ๐ธUnited States smustgrave
Took another shot at this. 95 is a lot of changes and covering a wide range of topics. But looking at what's there, they make sense and tell me what the test does.
- Status changed to Needs work
over 1 year ago 11:25am 20 March 2023 - ๐ฌ๐งUnited Kingdom longwave UK
A few nitpicks but this is looking almost ready to go.
Is it possible to enable this rule for tests only in phpcs.xml.dist to avoid future regressions?
Rishabh Vishwakarma โ made their first commit to this issueโs fork.
- ๐ณ๐ฟNew Zealand quietone
@Rishabh Vishwakarma, thanks for the interest in this work. Please make your commit message reflect the changes that you have made. The commit message at the bottom of an issue is for a maintainer to use when committing to a project. I also recommend that you use the suggestions feature in GitLab when working on coding standards issues that are using an MR.
- Status changed to Needs review
over 1 year ago 10:11am 29 March 2023 - Status changed to RTBC
over 1 year ago 9:04pm 31 March 2023 - ๐บ๐ธUnited States smustgrave
Don't mind marking this.
These are not my best but reading through the changes they make sense to me.
- ๐ฌ๐งUnited Kingdom longwave UK
Re #39 this is not quite possible at present;
Drupal.Commenting.DocComment.ShortSingleLine
does not distinguish between class comments and method comments, and while this issue solves the class comments in tests, there are still about 130 method comments that are longer than one line. -
longwave โ
committed c03c29f5 on 10.0.x
Issue #3268809 by quietone, Rishabh Vishwakarma, ravi.shankar, Medha...
-
longwave โ
committed c03c29f5 on 10.0.x
-
longwave โ
committed b4829d2f on 10.1.x
Issue #3268809 by quietone, Rishabh Vishwakarma, ravi.shankar, Medha...
-
longwave โ
committed b4829d2f on 10.1.x
-
longwave โ
committed 040893f9 on 9.5.x
Issue #3268809 by quietone, Rishabh Vishwakarma, ravi.shankar, Medha...
-
longwave โ
committed 040893f9 on 9.5.x
- Status changed to Fixed
over 1 year ago 9:00am 5 April 2023 - ๐ฌ๐งUnited Kingdom longwave UK
Re-reviewed the whole patch and I couldn't find anything else to nitpick at. We can catch any stragglers in a followup when we eventually enable the Coder rule.
Committed and pushed to 10.1.x and backported to 10.0.x and 9.5.x to make future test backports easier. Thanks everyone!
- Status changed to Needs work
over 1 year ago 10:01am 5 April 2023 - ๐ซ๐ทFrance andypost
It needs quick-fix as CI testing failed for 10.1 branch - https://www.drupal.org/pift-ci-job/2635635 โ
moreover it broke testing patches https://www.drupal.org/pift-ci-job/2635665 โ
- ๐ฌ๐งUnited Kingdom catch
Reverted from all three branches - this is a conflict with the new @covers rule from phpunit-phpstan
- Status changed to Needs review
over 1 year ago 10:41am 5 April 2023 - Status changed to RTBC
over 1 year ago 10:44am 5 April 2023 - ๐ซ๐ทFrance andypost
Locally it passes after https://git.drupalcode.org/project/drupal/-/merge_requests/3577/diffs?co...
Hope bot will be green
-
longwave โ
committed 3387c4d4 on 10.0.x
Issue #3268809 by quietone, Spokje, Rishabh Vishwakarma, ravi.shankar,...
-
longwave โ
committed 3387c4d4 on 10.0.x
-
longwave โ
committed 7710bd60 on 10.1.x
Issue #3268809 by quietone, Spokje, Rishabh Vishwakarma, ravi.shankar,...
-
longwave โ
committed 7710bd60 on 10.1.x
- ๐ฌ๐งUnited Kingdom longwave UK
Re-committed to 10.1.x, 10.0.x and 9.5.x. Thanks again!
- Status changed to Fixed
over 1 year ago 2:52pm 12 April 2023 -
longwave โ
committed 4d996506 on 9.5.x
Issue #3268809 by quietone, Spokje, Rishabh Vishwakarma, ravi.shankar,...
-
longwave โ
committed 4d996506 on 9.5.x
Automatically closed - issue fixed for 2 weeks with no activity.