- Issue created by @rassoni
- Status changed to Needs review
over 1 year ago 8:39am 27 March 2023 - 🇮🇳India rassoni Bangalore
Fixed coding standard and created MR. Please Review.
- 🇮🇳India nayana_mvr
Verified MR!2. The patch applied cleanly and all the phpcs issues mentioned in the ticket are fixed now. Need RTBC+1.
- Status changed to Needs work
over 1 year ago 6:05pm 1 April 2023 - 🇺🇸United States benjifisher Boston area
I am setting the status to NW. See my comment on the MR.
@nyana_mvr:
I do not understand the comment "Need RTBC+1". If you have reviewed and tested the MR, then you can set the issue status to RTBC. Then later comments might include "+1 for RTBC".
Remember that the T in RTBC stands for "tested". Did you do any manual testing or run the module's automated tests?
- 🇮🇳India nayana_mvr
@benjifisher I tested it only using the command
phpcs --standard="Drupal,DrupalPractice" --extensions=php,module,inc,install,test,profile,theme,css,js,info,txt,md,yml,twig
. That's why I put Need RTBC+1 in the comment. I have seen such comments from reviewers in other tickets also. Will avoid adding such comments if it is confusing. - 🇮🇳India nayana_mvr
Also, I have reverted the changes in line 280 as per your comment. So can we ignore
WARNING | [ ] Unused variable $span_lang.
in such cases? - Status changed to Needs review
over 1 year ago 5:25am 5 April 2023 - Status changed to RTBC
6 months ago 5:26am 8 May 2024 - 🇺🇸United States benjifisher Boston area
@nayana_mvr: Thanks for updating the MR.
I rebased the MR on the 8.x-1.x branch. Thanks to 📌 Move automated tests to GitLab CI Fixed , that runs
phpcs
as a CI job.I added a commit to sort the
use
statements, which is required byphpcs
.I reviewed the changes: they look correct to me. The CI job for
phpcs
passes.I tested with Drupal 10.2.x, and basic functionality is working. However, I see this deprecation notice:
Deprecated function: Use of "self" in callables is deprecated in Drupal\typogrify\Typogrify::caps() (line 110 of modules/typogrify/src/Typogrify.php).
According to https://php.watch/versions/8.2/partially-supported-callable-deprecation, that pattern is deprecated in PHP 8.2. I think that is out of scope for this issue. Since Drupal 11 requires PHP 8.3, it should be fixed as part of 📌 Automated Drupal 11 compatibility fixes for typogrify Postponed .
-
benjifisher →
committed 0d6ba9ae on 8.x-1.x authored by
Rassoni →
Issue #3350566 by Rassoni: Fix the issues reported by phpcs
-
benjifisher →
committed 0d6ba9ae on 8.x-1.x authored by
Rassoni →
- Status changed to Fixed
6 months ago 5:36am 8 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.