mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Mark private static deprecation notice for 3.2
Its too intrusive for 3.1 at the moment
This commit is contained in:
parent
b416e50bff
commit
8629985115
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user