Use Symfony var_dumper() instead of the kint library #413

Closed
pascalchevrel opened this Issue Dec 30, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@pascalchevrel
Member

pascalchevrel commented Dec 30, 2014

Symfony has a cool replacement to var_dump() that is similar to kint that we already use in Transvision but is more powerful as it also allows to output colored structured data to the dev server console.

http://symfony.com/doc/current/components/var_dumper/

@pascalchevrel pascalchevrel self-assigned this Dec 30, 2014

pascalchevrel added a commit to pascalchevrel/transvision that referenced this issue Dec 30, 2014

Issue #413: Use Symfony var_dumper() function instead of Kint.
http://symfony.com/doc/current/components/var_dumper/

* new dump() function, outputs structured elements to the SAPI (the web page if called from the web, the console if called from a script)
* helper function cli_dump() added, allows outputing debug info to the CLI from a web page
* new app/helpers folders for such functions
* app/helpers/debug.php autoloaded via composer

pascalchevrel added a commit that referenced this issue Dec 31, 2014

Merge pull request #414 from pascalchevrel/var_dumper
Issue #413: Use Symfony var_dumper() function instead of Kint.

@flodolo flodolo closed this Jan 3, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment