Fix validator deprecated methods usage
Fix validator deprecated methods usage

roundcube/plugins.roundcube.net,alcohol/packagist,gencer/packagist,drupal-composer/drupal-packagist,alcohol/packagist,steve-todorov/packagist,beryllium/packagist,interactive-investor-ltd/packagist,drupal-composer/drupal-packagist,Soullivaneuh/packagist,cgvarela/packagist,drupal-composer/drupal-packagist,localheinz/packagist,composer/packagist,Pasarkode/packagist,Soullivaneuh/packagist,composer/packagist,localheinz/packagist,rhl-jfm/packagist,beryllium/packagist,cgvarela/packagist,localheinz/packagist,rhl-jfm/packagist,gencer/packagist,Pasarkode/packagist,roundcube/plugins.roundcube.net,interactive-investor-ltd/packagist,interactive-investor-ltd/packagist,beryllium/packagist,composer/packagist,interactive-investor-ltd/packagist,rhl-jfm/packagist,Pasarkode/packagist,composer/packagist,gencer/packagist,interactive-investor-ltd/packagist,steve-todorov/packagist,alcohol/packagist,steve-todorov/packagist,Soullivaneuh/packagist,cgvarela/packagist,roundcube/plugins.roundcube.net