Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There's a few cases in core where {@inheritdoc} is @{inheritdoc}, which can cause problems with the annotations parser.
The following are affected:
core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php
core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php
Comment | File | Size | Author |
---|---|---|---|
#15 | 2734665-15.patch | 1.94 KB | pashupathi nath gajawada |
#11 | drupal-typo-2734665-10.patch | 1.96 KB | harsha012 |
#9 | 2734665-9.patch | 1.94 KB | rajeshwari10 |
#2 | drupal-annotation_typos-2734665-8.2.x.patch | 1.94 KB | pingers |
Comments
Comment #2
pingers CreditAttribution: pingers as a volunteer and at University of Adelaide commentedSee the attached patch...
Comment #4
cilefen CreditAttribution: cilefen commentedComment #5
pingers CreditAttribution: pingers as a volunteer and at University of Adelaide commentedI don't understand the test failures... look unrelated to me.
Comment #6
MiSc CreditAttribution: MiSc at Wunder commentedLooks like tests fails because of issues in 8.2.x-dev.
/mikke
Comment #8
MiSc CreditAttribution: MiSc at Wunder commentedOk, the test fails because the changes make other things fail. Interesting.
Comment #9
rajeshwari10 CreditAttribution: rajeshwari10 as a volunteer and at Blisstering Solutions commentedI am just giving it a try.
Thanks!!
Comment #11
harsha012 CreditAttribution: harsha012 as a volunteer and at Red Crackle commentedadded patch
Comment #12
chaitanya17 CreditAttribution: chaitanya17 at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedHi @harsha012,
You have missing replacement in one place
- /**
- * @{inheritdoc}
- */
+
protected function setUpSite() {
Comment #14
pingers CreditAttribution: pingers as a volunteer and at University of Adelaide commentedYeah... still not seeing why this is having problems :)
Comment #15
pashupathi nath gajawada CreditAttribution: pashupathi nath gajawada as a volunteer and at Melity commentedHI @Chaitanya Kulkarni,
Please find the updated patch, which also includes the missing replacement from #11.
Comment #17
pingers CreditAttribution: pingers as a volunteer and at University of Adelaide commentedThis latest patch is identical to my original patch. I don't think we need to upload another identical patch. We need to find out why it's causing test failures.
Comment #18
shashikant_chauhan CreditAttribution: shashikant_chauhan as a volunteer and commentedretesting last patch.
Comment #19
MiSc CreditAttribution: MiSc at Wunder commentedAs @pingers said, we don need more testing of the same patches. We need to figure out why it fails.
Comment #22
xjmNote that setting the issue "Needs review" does not automatically retest the patch anymore. Since DrupalCI was deployed a couple years back, you need to click the "Add test / retest" link.
The fails look highly unrelated, like maybe HEAD was broken at the time. However, the patch also no longer applies. It's possible that these may have been fixed elsewhere in the meanwhile, so let's check that.
Comment #23
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commentedChecked both the files were changes are being made in the patch. At both place {@inheritdoc} is there. So this issue shall be closed.
Comment #24
jofitz CreditAttribution: jofitz at ComputerMinds commentedAs @xjm and @gaurav.kapoor say, this has been fixed elsewhere so closing this ticket as outdated.
Comment #25
pingers CreditAttribution: pingers as a volunteer and at University of Adelaide commentedNot the same set of problems... but there's more similar typos.