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.
The files created by Features that contain exports of Panels stuff have incorrect indentation. This includes, for example, *.pages_default.inc and *.panelizer.inc.
Since we are trying to make coding-style fixes to Panopoly per #2447605: [META] Perform coding style fixes and I'd like to eventually add checks for this to the automated tests on Travis-CI per #2448755: Add check for coding-style to Travis-CI tests, we don't want:
- False positives on all those files (although, maybe there is someway to mark them to be ignored?)
- Having to make manual corrections to those files after every
drush fu
If possible this should be fixed at the source, either in Features, Panels or CTools (where ever the extra indent is coming from).
Comments
Comment #1
dsnopekTurns out that this issue is in Panels! I created a patch that fixes it for me:
#2448825: Wrong indentation in Panels exports
We should start using this in Panopoly.
Comment #2
dsnopekCommited!