Closed (fixed)
Project:
Paragraphs
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Feb 2017 at 09:22 UTC
Updated:
26 Nov 2019 at 02:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Munavijayalakshmi commentedComment #3
riddhi.addweb commented@Munavijayalakshmi Thanks for the patch, it works well.
Comment #4
Munavijayalakshmi commentedComment #5
damienmckennaThe coding standards have changed so that @file docblocks are not needed for files which only contain a single class (or other object definition), instead those should just have a docblock for the class. This specifically affects ParagraphsMigrateParagraphsFieldHandler.inc but might affect others too.
Comment #6
hgunicamp commentedI'm posting a new patch.
I removed the '@file' statement from 'ParagraphsItemMetadataController.inc', 'views/paragraphs_handler_relationship.inc', 'ParagraphsItemEntity.inc', 'migrate/destinations/MigrateDestinationParagraphsItem.inc', 'migrate/fields/ParagraphsMigrateParagraphsFieldHandler.inc' and 'plugins/panelizer/entity/PanelizerEntityParagraphsItem.class.php'.
I also used phpcbf to make some automatic fixes that were not covered by the previous patch.
Comment #7
Algarte commentedI've applied the patch #6 on a clean drupal environment and ran coder to verify any other issues, there are some that can be fixed by someone with more knowledge on this module, like adding parameter and return type to some files and adding a short description for some functions. Other than that, this patch works fine for me.
Comment #8
jstollerUpdated and expanded to work with the latest dev. If this passes I'll commit it tonight.
Comment #9
jstollerComment #10
jstollerComment #11
jstollerSee, this is what happens when I get cocky. 😒
Comment #13
jstollerPatch pushed to dev.