<?php

App::uses('DebugPanel', 'DebugKit.Lib');

/**
 * Crud debug panel in DebugKit
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright Christian Winther, 2013
 */
class CrudPanel extends DebugPanel {

/**
 * Declare we are a plugin
 *
 * @var string
 */
	public $plugin = 'Crud';

/**
 * beforeRender callback
 *
 * @param Controller $controller
 * @return void
 */
	public function beforeRender(Controller $controller) {
		if ($controller->Crud->isActionMapped()) {
			$Action = $controller->Crud->action();
			$controller->set('CRUD_action_config', $Action->config());
		}

		$listenerConfig = array();
		foreach ($controller->Crud->config('listeners') as $listener => $value) {
			$listenerConfig[$listener] = $controller->Crud->listener($listener)->config();
		}

		$controller->set('CRUD_config', $controller->Crud->config());
		$controller->set('CRUD_listener_config', $listenerConfig);
	}

}

<?php

App::uses ('DebugPanel', 'DebugKit.Lib');

/**
 * Crud debug panel in DebugKit
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright Christian Winther, 2013
 */
class CrudPanel extends DebugPanel {

/**
 * Declare we are a plugin
 *
 * @var string
 */
	public $plugin = 'Crud';

/**
 * beforeRender callback
 *
 * @param Controller $controller
 * @return void
 */
	public function beforeRender(Controller $controller) {
		if ($controller->Crud->isActionMapped()) {
			$Action = $controller->Crud->action();
			$controller->set('CRUD_action_config', $Action->config());
		}

		$listener_config = array();
		foreach ($controller->Crud->config('listeners') as $listener => $value) {
			$listener_config[$listener] = $controller->Crud->listener($listener)->config();
		}

		$controller->set('CRUD_config', $controller->Crud->config());
		$controller->set('CRUD_listener_config', $listener_config);
	}

}

--- 
+++ 
@@ -1,6 +1,6 @@
 <?php
 
-App::uses ('DebugPanel', 'DebugKit.Lib');
+App::uses('DebugPanel', 'DebugKit.Lib');
 
 /**
  * Crud debug panel in DebugKit
@@ -31,13 +31,13 @@
 			$controller->set('CRUD_action_config', $Action->config());
 		}
 
-		$listener_config = array();
+		$listenerConfig = array();
 		foreach ($controller->Crud->config('listeners') as $listener => $value) {
-			$listener_config[$listener] = $controller->Crud->listener($listener)->config();
+			$listenerConfig[$listener] = $controller->Crud->listener($listener)->config();
 		}
 
 		$controller->set('CRUD_config', $controller->Crud->config());
-		$controller->set('CRUD_listener_config', $listener_config);
+		$controller->set('CRUD_listener_config', $listenerConfig);
 	}
 
 }
Fix CS errors. Damn you jippi
