Skip to content

Commit a132900

Browse files
committed
remove underscores from cache properties (#330)
1 parent 556855a commit a132900

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

config/rector/sets/cakephp60.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@
3232
// ===== Remove underscores from property names =====
3333

3434
$map = [
35+
'Cache' => [
36+
'Cake\Cache\Cache\ApcuEngine' => ['_compiledGroupNames'],
37+
'Cake\Cache\Cache\FileEngine' => ['_File', '_init'],
38+
'Cake\Cache\Cache\MemcachedEngine' => ['_Memcached', '_serializers', '_compiledGroupNames'],
39+
'Cake\Cache\Cache\RedisEngine' => ['_Redis'],
40+
'Cake\Cache\Cache' => ['_enabled', '_groups'],
41+
'Cake\Cache\CacheEngine' => ['_groupPrefix'],
42+
],
43+
'Core' => [
44+
'Cake\Core\StaticConfigTrait' => ['_config', '_dsnClassMap', '_registry'],
45+
],
3546
'Utility' => [
3647
'Cake\Utility\Inflector' => [
3748
'_plural', '_singular', '_irregular', '_uninflected', '_cache', '_initialState',

0 commit comments

Comments
 (0)