Change record status: 
Introduced in branch: 
2.1.x
Introduced in version: 
2.1.1-beta1
Description: 

UserRestrictionType implements getPatterns() as requested by UserRestrictionTypeInterface, but that method is not used by the module.

That method is now deprecated in the 2.1.x branch and removed from the 3.0.x branch.
There is no replacement.

UserRestrictionType::$patterns, used by UserRestrictionType::getPatterns(), is also deprecated in in the 2.1.x branch and removed from the 3.0.x branch.

Impacts: 
Module developers
Site templates, recipes and distribution developers