Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2015 at 16:30 UTC
Updated:
6 Jan 2016 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lars toomre commentedAttached is a patch that includes corrections for eleven files in migrate/src/Tests directory.
Comment #3
lars toomre commentedFor file migrate/src/Tests/MigrateEmbeddedDataTest.php, the sniff Drupal.Classes.UnusedUseStatement.UnusedUse reports a false positive error for an unused use statement. Created Coder issue #2624934: False sniff for Drupal.Classes.UnusedUseStatement.UnusedUse to resolve this for automatic Coder review.
Comment #4
lars toomre commentedThe file migrate/src/Tests/MigrateTestBase.php reports four false positive sniffs for a code line with a short, in-line anonymous function. Created Coder issue #2624936: False sniffs with short in-line anonymous functions to address this issue in the future.
Comment #5
lars toomre commentedFiled a third Coder issue #2624578: Correct blank line spacing in DocComment.TagGroupSpacing to resolve the successive @group and @coversDefaultClass directives without a blank line in between. That results in a false positive sniff Drupal.Commenting.DocComment.TagGroupSpacing for the file migrate/src/Tests/MigrationTest.php.
With the application of the patch in issue and resolution of the three Coder issues, all of the files in migrate/src/Tests/*.php should pass the Coder review.
Comment #6
benjy commentedMigrate updates look good.
Comment #9
lars toomre commentedI am a bit puzzled about why the patch from #2 fails to apply. Here is a re-roll against current core to see if I am missing something.
Comment #10
quietone commentedA diff of the two previous two patches shows a probably copy/paste error in /core/modules/migrate/src/Tests/TemplateTest.php
So, since benjy RTBC'ed before this wee mistake, setting back to RTBC.
Comment #11
alexpottCommitted f6b32fd and pushed to 8.0.x and 8.1.x. Thanks!