22 Commits

Author SHA1 Message Date
Ayumi Hamasaki
ae5f1a4282 Clean up output of Twig dump() function (#4460)
Credit to @ayumihamsaki. Fixes #4446.
2019-07-17 22:54:24 -06:00
Luke Towers
c86bec7f08 Replace deprecated Twig class references, refs: #4209. 2019-03-27 13:15:17 -06:00
Tschallacka
852ea7d8d8 Added missing use statement (#3041)
Credit to @tschallacka
2018-11-23 00:36:06 -06:00
Nathan van der Werf
62c59a4903 Refactor ternary operators to null coalescing operators 2018-08-15 19:15:13 +02:00
Nathan van der Werf
bc17975634 Remove alias functions 2018-08-15 18:51:25 +02:00
Samuel Georges
6b74efa4b0 Improves the DebugExtension
It now uses the HtmlDumper from Illuminate to elaborate on each variable when clicked
getName() no longer needed on Twig extensions
2017-05-13 10:20:18 +10:00
Pásztor Gábor
40269cb6e2 Clean up 2016-03-29 14:55:25 +02:00
Samuel Georges
d94ba96ae3 Better exception handling to dump() 2015-04-21 15:20:59 +10:00
Sam Georges
c83797231d Subsequent expressions are on a new line (see developer guide > PSR exceptions) 2014-11-01 12:00:45 +11:00
Sam Georges
a00cb9f556 (7:15:01 PM) Flynsarmy: i feel component should also show the subheader too 2014-10-24 19:17:21 +11:00
Sam Georges
7cb8bf0d9a Improve code a tiny bit 2014-10-24 19:11:44 +11:00
Sam Georges
688d8c95de Comply PSR 2014-10-24 19:01:30 +11:00
Sam Georges
38f8aab27c Comply PSR 2014-10-24 19:00:44 +11:00
flynsarmy
f869c7d268 Make dump show object type 2014-10-23 20:32:55 +10:00
Stefan Talen
61cf1ad710 Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
Conflicts:
	modules/backend/behaviors/FormController.php
	modules/backend/classes/AuthManager.php
	modules/backend/lang/fa/lang.php
	modules/backend/widgets/Form.php
	modules/cms/classes/CmsCompoundObject.php
	modules/cms/classes/ComponentHelpers.php
	modules/cms/formwidgets/Components.php
2014-10-11 11:58:20 +02:00
Sam Georges
1dcaa0d1d6 Fixes #677 - use FQN for "instanceof Model" expressions 2014-10-11 12:13:25 +11:00
Stefan Talen
9c1dcb0dba Updating modules/cms/twig 2014-10-11 01:42:04 +02:00
Sam Georges
bf47eb94ed Str::getRealClass -> class_basename 2014-09-29 13:12:34 +10:00
Sam Georges
fcf31b05ae Added new dump() Twig function 2014-08-30 12:34:03 +10:00
Sam Georges
3193006e2e Beef up the debug extension 2014-08-30 12:23:12 +10:00
Sam Georges
db2cea630b * Build 139 2014-08-30 08:56:58 +10:00
Sam Georges
b8bf570289 Add initial version of dump() twig function / debug extension 2014-08-29 21:55:41 +10:00