I upgraded the magento version from magento 2.3.6-p1 to magento 2.4.5-p1.
I got the issue while running the patch in Magento 2.4.5-p1
Missing required argument $restrictedValues of Xyz\Customer\Setup\Patch\Data\CustomerCarePatch.
Actually, it happened due to this class.
Magento\Framework\Validator\UrlKey in 2.4.5 -p1 and this class does not exist not exists in magento2.3.6-p1
from Active questions tagged magento-enterprise - Magento Stack Exchange