mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Deprecate ssn() validation in favor of plugin Localized.
This commit is contained in:
parent
713f430fc4
commit
bbcdf2404e
1 changed files with 1 additions and 0 deletions
|
@ -754,6 +754,7 @@ class Validation {
|
||||||
* @param string $regex Regular expression to use
|
* @param string $regex Regular expression to use
|
||||||
* @param string $country Country
|
* @param string $country Country
|
||||||
* @return bool Success
|
* @return bool Success
|
||||||
|
* @deprecated Deprecated since 2.6, will be removed in 3.0.
|
||||||
*/
|
*/
|
||||||
public static function ssn($check, $regex = null, $country = null) {
|
public static function ssn($check, $regex = null, $country = null) {
|
||||||
if (is_array($check)) {
|
if (is_array($check)) {
|
||||||
|
|
Loading…
Reference in a new issue