Mark private static deprecation notice for 3.2

Its too intrusive for 3.1 at the moment
This commit is contained in:
Ingo Schommer 2013-03-19 10:39:11 +01:00
parent b416e50bff
commit 8629985115

View File

@ -78,7 +78,7 @@ class SS_ConfigStaticManifest {
$static = $this->statics[$class][$name];
if ($static['access'] != T_PRIVATE) {
Deprecation::notice('3.1.0', "Config static $class::\$$name must be marked as private", Deprecation::SCOPE_GLOBAL);
Deprecation::notice('3.2.0', "Config static $class::\$$name must be marked as private", Deprecation::SCOPE_GLOBAL);
// Don't warn more than once per static
$static['access'] = T_PRIVATE;
}