From a30f80923d62c2f99595e6f1cc434fb1a84f18f5 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Sun, 5 Oct 2025 16:41:30 +0200 Subject: [PATCH] remove underscores from command properties --- config/rector/sets/cakephp60.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/config/rector/sets/cakephp60.php b/config/rector/sets/cakephp60.php index a2c15e74..01c66579 100644 --- a/config/rector/sets/cakephp60.php +++ b/config/rector/sets/cakephp60.php @@ -40,9 +40,6 @@ 'Cake\Cache\Cache' => ['_enabled', '_groups'], 'Cake\Cache\CacheEngine' => ['_groupPrefix'], ], - 'Core' => [ - 'Cake\Core\StaticConfigTrait' => ['_config', '_dsnClassMap', '_registry'], - ], 'Collection' => [ 'Cake\Collection\Iterator\BufferedIterator' => [ '_buffer', '_index', '_current', '_key', '_started', '_finished', @@ -61,6 +58,17 @@ 'Cake\Collection\Iterator\UnfoldIterator' => ['_unfolder', '_innerIterator'], 'Cake\Collection\Iterator\ZipIterator' => ['_callback', '_iterators'], ], + 'Command' => [ + 'Cake\Command\Helper\ProgressHelper' => ['_progress', '_total', '_width'], + 'Cake\Command\I18nExtractCommand' => [ + '_paths', '_files', '_merge', '_file', '_storage', '_tokens', '_translations', + '_output', '_exclude', '_extractCore', '_markerError', '_countMarkerError', + ], + 'Cake\Command\ServerCommand' => ['_host', '_port', '_documentRoot', '_iniPath'], + ], + 'Core' => [ + 'Cake\Core\StaticConfigTrait' => ['_config', '_dsnClassMap', '_registry'], + ], 'Utility' => [ 'Cake\Utility\Inflector' => [ '_plural', '_singular', '_irregular', '_uninflected', '_cache', '_initialState',