- Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - @quietone opened merge request.
- last update
over 1 year ago Custom Commands Failed - Status changed to Needs review
over 1 year ago 7:36am 5 May 2023 - last update
over 1 year ago 29,312 pass, 9 fail - last update
over 1 year ago CI aborted - 🇳🇿New Zealand quietone
Once again I can't push after rebasing. I am uploading a patch.
- 🇳🇱Netherlands spokje
Once again I can't push after rebasing.
When that happens to me, I always have success with
git push --set-upstream drupal-3048495 HEAD -f
So basically the command from "Or push your current local branch from your Git clone" followed by a -f (for force, use it Luke...)Probably to late for this occasion, but you might wanna give it a go next time.
The last submitted patch, 176: 3048495-176.patch, failed testing. View results →
- last update
over 1 year ago 29,377 pass, 1 fail - last update
over 1 year ago 29,378 pass - Status changed to RTBC
over 1 year ago 5:53pm 6 May 2023 - 🇺🇸United States smustgrave
Wasn't terrible to review as most of the files were 1 line.
Changes look good and like that it will capture good trigger_error messages.
I haven't seen it before for other coding standard tickets but would a change record be worth it?
- last update
over 1 year ago 29,379 pass - last update
over 1 year ago 29,375 pass, 1 fail - last update
over 1 year ago Composer error. Unable to continue. - last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,387 pass, 2 fail - last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,388 pass - last update
over 1 year ago 29,388 pass 53:08 50:55 Running- last update
over 1 year ago 29,399 pass - last update
over 1 year ago 29,399 pass - last update
over 1 year ago 29,393 pass, 2 fail - last update
over 1 year ago 29,409 pass - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Status changed to Needs work
over 1 year ago 4:06pm 9 June 2023 The Needs Review Queue Bot → tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - @quietone opened merge request.
- Assigned to quietone
- 🇳🇿New Zealand quietone
I am assigning to myself because I have local changes that I am not able to push. I'll un-assign once that is fixed.
In the meantime there are two new errors that need a link to the CR. The issue, ✨ Abstract RenderCache into a separate service that is capable of cache redirects in a non-render array-specific way Fixed has two CR's but neither of them directly address the removal of the constructor parameter. I'm not sure if one of the CR's should change or a new one is needed. Suggestions?
Here are the errors,
FILE: /var/www/html/core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 88 | ERROR | The trigger_error message 'Injecting __CLASS__ with the "cache_factory" service is deprecated in drupal:10.1.0, use "variation_cache_factory" instead.' | | does not match the relaxed standard format: %thing% is deprecated in %deprecation-version% any free text %removal-version%. %extra-info%. See | | %cr-link% (Drupal.Semantics.FunctionTriggerError.TriggerErrorTextLayoutRelaxed) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /var/www/html/core/lib/Drupal/Core/Render/RenderCache.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 50 | ERROR | The trigger_error message 'Injecting __CLASS__ with the "cache_factory" service is deprecated in drupal:10.1.0, use "variation_cache_factory" instead.' | | does not match the relaxed standard format: %thing% is deprecated in %deprecation-version% any free text %removal-version%. %extra-info%. See | | %cr-link% (Drupal.Semantics.FunctionTriggerError.TriggerErrorTextLayoutRelaxed) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Time: 25.68 secs; Memory: 6MB
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed 1:28 55:54 Running- last update
over 1 year ago 29,874 pass, 1 fail - last update
over 1 year ago 29,874 pass, 1 fail - last update
over 1 year ago 29,878 pass - Status changed to Needs review
over 1 year ago 7:34am 24 July 2023 - Status changed to Needs work
over 1 year ago 8:30am 24 July 2023 - 🇳🇱Netherlands spokje
I'm afraid the commit of 📌 Fix version number in deprecation messages for #2551419 Fixed , ironically an issue by @quietone, now clashes with this MR and it needs Yet Another Rebase (Yar!....)
- last update
over 1 year ago 29,878 pass - Status changed to Needs review
over 1 year ago 10:46am 24 July 2023 - Status changed to RTBC
over 1 year ago 2:21pm 25 July 2023 - 🇺🇸United States smustgrave
All green with the new rule added. So assuming this is good.
- Status changed to Needs work
over 1 year ago 2:57pm 25 July 2023 - last update
over 1 year ago 29,868 pass, 1 fail - last update
over 1 year ago 29,868 pass, 1 fail - last update
over 1 year ago 29,881 pass - Status changed to Needs review
over 1 year ago 1:16am 26 July 2023 - Issue was unassigned.
- Status changed to RTBC
over 1 year ago 4:07pm 30 July 2023 - last update
over 1 year ago 29,908 pass - last update
over 1 year ago 29,946 pass - last update
over 1 year ago 29,946 pass - last update
over 1 year ago 29,953 pass - last update
over 1 year ago 29,953 pass - Status changed to Needs work
over 1 year ago 4:19pm 9 August 2023 The Needs Review Queue Bot → tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- last update
over 1 year ago 29,958 pass - Status changed to RTBC
over 1 year ago 6:29pm 9 August 2023 - last update
over 1 year ago 29,958 pass - last update
over 1 year ago 29,958 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,058 pass - last update
over 1 year ago 30,060 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - First commit to issue fork.
- last update
over 1 year ago Custom Commands Failed - Status changed to Needs work
over 1 year ago 12:27pm 4 September 2023 - 🇫🇮Finland lauriii Finland
Looks like new non-compliant deprecation messages sneaked in 😅
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,136 pass - Status changed to RTBC
over 1 year ago 12:59pm 4 September 2023 - 🇳🇱Netherlands spokje
Since I was responsible for the faulty new ones, it seems fitting to fix those myself.
Think this can go back to RTBC, since the changes are checked by the new PHPCS rule?
- 🇳🇿New Zealand quietone
Yes, that make sense. And I read the last 3 commits to confirm. This is still RTBC.
- last update
over 1 year ago 30,136 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago 30,363 pass - Status changed to Needs review
about 1 year ago 9:09am 26 September 2023 - 🇳🇿New Zealand quietone
This needed a rebase. Because there were a lot of conflicts, I am setting back to Needs Review.
- Status changed to RTBC
about 1 year ago 1:53pm 26 September 2023 - 🇺🇸United States smustgrave
Reading the commits after 198 and changes still look good.
- Status changed to Fixed
about 1 year ago 3:31pm 26 September 2023 -
alexpott →
committed fd2c1341 on 11.x
Issue #3048495 by jonathan1055, quietone, rajandro, Spokje, Pooja...
-
alexpott →
committed fd2c1341 on 11.x
- 🇬🇧United Kingdom jonathan1055
Great to see this committed. Thank you everyone who contributed.
As someone who worked on the original coding standard, the Coder sniff and the early patches on this issue, I would recommend back-porting the strings enabling the rule in 10.1. One of the original purposes of the standard was to be able to scan source code and get metrics on how many things are deprecated and how many cause triggerError in a particular version of core. That would help with 10 -> 11 upgrades.
- 🇬🇧United Kingdom alexpott 🇪🇺🌍
@jonathan1055 10.2.x will be cut from the 11.x branch (which really should be named "main" but we can't do that cause reasons).
- Status changed to Downport
about 1 year ago 9:40pm 28 September 2023 - 🇬🇧United Kingdom longwave UK
I think we should backport the message changes - usually we do not backport string changes due to translations but these messages do not get translated, and it will make other backports easier.
We don't usually enable new coding standards in patch releases and I see no need to do so here, given any new deprecations will only appear in 11.x.
- 🇬🇧United Kingdom jonathan1055
10.2.x will be cut from the 11.x branch (which really should be named "main" but we can't do that cause reasons).
OK, thanks for explaining that. Yes, therefore fix the strings in 10.1 but no need to implement the Coder rule.
- 🇬🇧United Kingdom jonathan1055
The commit in #201/202 did not make any changes to phpcs.xml.dist. Earlier patches and MRs contained
--- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -123,6 +123,7 @@ <rule ref="Drupal.Semantics.FunctionT"> <exclude name="Drupal.Semantics.FunctionT.NotLiteralString"/> </rule> + <rule ref="Drupal.Semantics.FunctionTriggerError"/> <rule ref="Drupal.Semantics.FunctionWatchdog"/> <rule ref="Drupal.Semantics.InstallHooks"/> <rule ref="Drupal.Semantics.LStringTranslatable"/>
but this is not present in the commit. So the new Coder rule has not yet been implemented in Core 11.x
What was the source of the commit in #201? Was it MR4216? That had 56 changed files but the commit seems to have only 20. - 🇬🇧United Kingdom jonathan1055
Actually the rule is enabled in core
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/phpcs.xml.dis...
It's just that it was not in the commit shown in #201. Sorry for the noise. - 🇬🇧United Kingdom longwave UK
@jonathan1055 GitLab only shows 20 files changed per page, if you go to page 3 then you can see the changes to phpcs.xml.dist: https://git.drupalcode.org/project/drupal/-/commit/fd2c13413a20941c10dd0...
- 🇬🇧United Kingdom jonathan1055
@longwave Thank you. I should have spotted that.
- 🇬🇧United Kingdom longwave UK
Coding standards changes go in the release notes.
- Status changed to Fixed
about 1 year ago 10:28pm 21 November 2023 - 🇬🇧United Kingdom longwave UK
Probably too late to consider backporting this now, let's just mark this as fixed in 10.2.0.
Automatically closed - issue fixed for 2 weeks with no activity.