diff --git a/composer.json b/composer.json index 4aae211..1f291aa 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "homepage": "https://www.dokobit.com", "require": { - "php" : "^7.2.5", + "php" : "^7.2.5|^8.0", "guzzlehttp/guzzle" : "^7.0", "symfony/validator" : "~3.4|~4.4|~5.2" }, diff --git a/src/Query/Signing/AddSigner.php b/src/Query/Signing/AddSigner.php index 83a8cea..8674ebb 100644 --- a/src/Query/Signing/AddSigner.php +++ b/src/Query/Signing/AddSigner.php @@ -91,7 +91,6 @@ public function getValidationConstraints(): Assert\Collection ]), 'country_code' => new Assert\Optional([ new Assert\NotBlank(), - new Assert\Country(), ]), 'city' => new Assert\Optional([ new Assert\NotBlank(), diff --git a/src/Query/Signing/Create.php b/src/Query/Signing/Create.php index 3898aa7..1075050 100644 --- a/src/Query/Signing/Create.php +++ b/src/Query/Signing/Create.php @@ -180,7 +180,6 @@ public function getValidationConstraints(): Assert\Collection ]), 'country_code' => new Assert\Optional([ new Assert\NotBlank(), - new Assert\Country(), ]), 'city' => new Assert\Optional([ new Assert\NotBlank(),