Improve Symfony VarDumper appearance in Migrate Devel

Created on 12 June 2020, about 4 years ago
Updated 29 July 2023, 11 months ago

Follow-up to #3114943: Use Symfony Var-dumper instead of Kint β†’ .

Kint was replaced with basic use of Symfony Var-dumper, but it doesn't look as nice.

Check what we can do to improve the appearance of the drush migrate:import --migrate-debug output. See Advanced Usage of the VarDumper Component. The part about CLI dumper classes looks relevant.

The Kint output in the 8.x-1.x branch:

The output of symfony/var-dumper in the 8.x-2.0-alpha1 release doesn't look as slick, but most of the information is there. (It doesn't explicitly identify strings, or the length of the string, but I think we can live without that.) This screenshot uses symfony/var-dumper version 3.4.x:

However, if you update to symfony/var-dumper version 4.4, it starts looking uglier. Some meaningless \^\ strings have appeared:

πŸ“Œ Task
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom andrewmacpherson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands batigolix Utrecht

    This problem does not seem to be appearing when using symfony/var-dumper 6.x + Drush 12 + Migrate devel 8.x-2.0 and Drupal 10

    See screenshot.

    I close this now. Feel free to re-open if you think this needs to be addressed.

Production build 0.69.0 2024