mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-26 06:29:24 +02:00
Implement feedback on PSR-19 compatibility
This commit is contained in:
parent
b0fc161235
commit
868258926f
|
@ -69,7 +69,7 @@ class Permission extends DataObject implements TemplateGlobalProvider, Resettabl
|
|||
* Method to globally disable "strict" checking, which means a permission
|
||||
* will be granted if the key does not exist at all.
|
||||
*
|
||||
* @deprecated 4.4.0..5.0.0
|
||||
* @deprecated 4.4.0
|
||||
* @var array
|
||||
*/
|
||||
private static $declared_permissions = null;
|
||||
|
@ -77,7 +77,7 @@ class Permission extends DataObject implements TemplateGlobalProvider, Resettabl
|
|||
/**
|
||||
* Linear list of declared permissions in the system.
|
||||
*
|
||||
* @deprecated 4.4.0..5.0.0
|
||||
* @deprecated 4.4.0
|
||||
* @var array
|
||||
*/
|
||||
private static $declared_permissions_list = null;
|
||||
|
@ -652,7 +652,7 @@ class Permission extends DataObject implements TemplateGlobalProvider, Resettabl
|
|||
* Get a linear list of the permissions in the system.
|
||||
*
|
||||
* @return array Linear list of declared permissions in the system.
|
||||
* @deprecated 4.4.0..5.0.0
|
||||
* @deprecated 4.4.0
|
||||
*/
|
||||
public static function get_declared_permissions_list()
|
||||
{
|
||||
|
@ -676,7 +676,7 @@ class Permission extends DataObject implements TemplateGlobalProvider, Resettabl
|
|||
*
|
||||
* @param string $perm Permission code
|
||||
* @return string Label for the given permission, or the permission itself if the label doesn't exist
|
||||
* @deprecated 4.4.0..5.0.0
|
||||
* @deprecated 4.4.0
|
||||
*/
|
||||
public static function get_label_for_permission($perm)
|
||||
{
|
||||
|
@ -694,7 +694,7 @@ class Permission extends DataObject implements TemplateGlobalProvider, Resettabl
|
|||
* @param array $declared Nested structure of permissions.
|
||||
* @param array $list List of permissions in the structure. The result will be
|
||||
* written to this array.
|
||||
* @deprecated 4.4.0..5.0.0
|
||||
* @deprecated 4.4.0
|
||||
*/
|
||||
protected static function traverse_declared_permissions($declared, &$list)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user