- change properties $accessMap and $obsoleteProperties from private to protected

https://github.com/smarty-php/smarty/issues/351
This commit is contained in:
uwetews
2017-05-19 04:54:49 +02:00
parent 5448fecc9d
commit f0e215b954
2 changed files with 8 additions and 4 deletions

View File

@@ -1,7 +1,11 @@
===== 3.1.32 - dev === ===== 3.1.32 - dev ===
19.5.2017
- change properties $accessMap and $obsoleteProperties from private to protected
https://github.com/smarty-php/smarty/issues/351
24.4.2017 24.4.2017
- fix spelling https://github.com/smarty-php/smarty/commit/e3eda8a5f5653d8abb960eb1bc47e3eca679b1b4#commitcomment-21803095 - fix spelling https://github.com/smarty-php/smarty/commit/e3eda8a5f5653d8abb960eb1bc47e3eca679b1b4#commitcomment-21803095
17.4.2017 17.4.2017
- correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5 - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5
https://github.com/smarty-php/smarty/issues/347 https://github.com/smarty-php/smarty/issues/347

View File

@@ -108,7 +108,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/** /**
* smarty version * smarty version
*/ */
const SMARTY_VERSION = '3.1.32-dev-1'; const SMARTY_VERSION = '3.1.32-dev-3';
/** /**
* define variable scopes * define variable scopes
@@ -726,7 +726,7 @@ class Smarty extends Smarty_Internal_TemplateBase
* *
* @var string[] * @var string[]
*/ */
private $obsoleteProperties = array('resource_caching', 'template_resource_caching', 'direct_access_security', protected $obsoleteProperties = array('resource_caching', 'template_resource_caching', 'direct_access_security',
'_dir_perms', '_file_perms', 'plugin_search_order', '_dir_perms', '_file_perms', 'plugin_search_order',
'inheritance_merge_compiled_includes', 'resource_cache_mode',); 'inheritance_merge_compiled_includes', 'resource_cache_mode',);
@@ -735,7 +735,7 @@ class Smarty extends Smarty_Internal_TemplateBase
* *
* @var string[] * @var string[]
*/ */
private $accessMap = array('template_dir' => 'TemplateDir', 'config_dir' => 'ConfigDir', protected $accessMap = array('template_dir' => 'TemplateDir', 'config_dir' => 'ConfigDir',
'plugins_dir' => 'PluginsDir', 'compile_dir' => 'CompileDir', 'plugins_dir' => 'PluginsDir', 'compile_dir' => 'CompileDir',
'cache_dir' => 'CacheDir',); 'cache_dir' => 'CacheDir',);