The migrate module is still considered an experimental module. As a result, its code and tests have been reviewed less than other more mature code. Attach are changes noted during a review of some of the files in core/modules/migrate/src/Plugin/*.php. These changes include adding docblocks, missing @param/@var/@return descriptions and a few coding style changes.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 2624660-10-migrate-module-src-plugin-d8.patch | 36.01 KB | lars toomre |
| #10 | interdiff-2624660-10-7.txt | 908 bytes | lars toomre |
Comments
Comment #2
lars toomre commentedHere is an initial patch covering nineteen files. There are approximately another fifteen files in modules/migrate/scr/Plugin/* that PHP_CodeSniffer suggests have one or more documentation and/or coding standards shortfalls. To keep the patch sizes manageable, those will be added in another issue.
Comment #3
lars toomre commentedThe fixes to the files in modules/migrate/scr/Plugin/build/*.php and modules/migrate/scr/Plugin/destination/*.php have been added in the related issue #2624888: More fixes to migrate/src/Plugin/*.php files.
Comment #4
lars toomre commentedAdded a patch to clean up migrate/src/Tests/*.php files in #2624914: Fixes to migrate/src/Tests/*.php files.
Comment #5
benjy commentedChanges look good.
This should have an issue but I guess it's an outstanding problem.
Comment #7
lars toomre commentedHere is a re-rolled after the IDs patch was committed.
Comment #8
quietone commentedPerhaps the @todo could reference, #2543568: Remove the md_entity destination plugin hack or the Meta Issue, #2543536: [meta] Reduce/remove tight coupling of migration classes ?
Comment #9
quietone commentedComment #10
lars toomre commentedHere is an interdiff and revised patch including a reference to #2543568: Remove the md_entity destination plugin hack in the @todo directive.
Comment #11
quietone commentedbenjy reviewed this patch, #5, and his only question was if an issue should be added to the @todo. That is now done, so setting to RTBC.
Comment #12
alexpottCommitted 7b175e0 and pushed to 8.0.x and 8.1.x. Thanks!