From 02e0a5bafc521d849a663d0914d6179140ad206a Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Sun, 5 Oct 2025 20:30:52 +0200 Subject: [PATCH] remove underscores from controller properties --- config/rector/sets/cakephp60.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rector/sets/cakephp60.php b/config/rector/sets/cakephp60.php index 2c3d563a..707af5e1 100644 --- a/config/rector/sets/cakephp60.php +++ b/config/rector/sets/cakephp60.php @@ -87,6 +87,10 @@ 'Cake\Console\HelperRegistry' => ['_io'], 'Cake\Console\HelpFormatter' => ['_maxArgs', '_maxOptions', '_parser', '_alias'], ], + 'Controller' => [ + 'Cake\Controller\ComponentRegistry' => ['_Controller'], + 'Cake\Controller\Controller' => ['_components'], + ], 'Core' => [ 'Cake\Core\StaticConfigTrait' => ['_config', '_dsnClassMap', '_registry'], ],