Skip to content

Commit

Permalink
Updated symfony/validator vendor to v7.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Aug 8, 2024
1 parent 0af4476 commit 02de2c4
Show file tree
Hide file tree
Showing 64 changed files with 505 additions and 39 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions upload/system/storage/vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1223,17 +1223,17 @@
},
{
"name": "symfony/validator",
"version": "v7.0.9",
"version_normalized": "7.0.9.0",
"version": "v7.0.10",
"version_normalized": "7.0.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/validator.git",
"reference": "04266058fb2b936ad71ce726ab021b791b896f86"
"reference": "b3e4d838cdae9f2882402c2ad8018a27d469c075"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/validator/zipball/04266058fb2b936ad71ce726ab021b791b896f86",
"reference": "04266058fb2b936ad71ce726ab021b791b896f86",
"url": "https://api.github.com/repos/symfony/validator/zipball/b3e4d838cdae9f2882402c2ad8018a27d469c075",
"reference": "b3e4d838cdae9f2882402c2ad8018a27d469c075",
"shasum": ""
},
"require": {
Expand Down Expand Up @@ -1272,7 +1272,7 @@
"symfony/translation": "^6.4.3|^7.0.3",
"symfony/yaml": "^6.4|^7.0"
},
"time": "2024-06-22T11:38:48+00:00",
"time": "2024-07-26T12:31:22+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -1301,7 +1301,7 @@
"description": "Provides tools to validate values",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/validator/tree/v7.0.9"
"source": "https://github.com/symfony/validator/tree/v7.0.10"
},
"funding": [
{
Expand Down
10 changes: 5 additions & 5 deletions upload/system/storage/vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'opencart/opencart-3',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '9be5a3ab96f27fdfeeb91a652049caf876f97647',
'reference' => '0af4476208ead002238873406912b850e6dc14ab',
'type' => 'project',
'install_path' => __DIR__ . '/../../../../../',
'aliases' => array(),
Expand Down Expand Up @@ -58,7 +58,7 @@
'opencart/opencart-3' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '9be5a3ab96f27fdfeeb91a652049caf876f97647',
'reference' => '0af4476208ead002238873406912b850e6dc14ab',
'type' => 'project',
'install_path' => __DIR__ . '/../../../../../',
'aliases' => array(),
Expand Down Expand Up @@ -182,9 +182,9 @@
'dev_requirement' => false,
),
'symfony/validator' => array(
'pretty_version' => 'v7.0.9',
'version' => '7.0.9.0',
'reference' => '04266058fb2b936ad71ce726ab021b791b896f86',
'pretty_version' => 'v7.0.10',
'version' => '7.0.10.0',
'reference' => 'b3e4d838cdae9f2882402c2ad8018a27d469c075',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/validator',
'aliases' => array(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace Symfony\Component\Validator\Constraints;

use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
use Symfony\Component\PropertyAccess\Exception\UninitializedPropertyException;
use Symfony\Component\PropertyAccess\PropertyAccess;
use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
use Symfony\Component\Validator\Constraint;
Expand Down Expand Up @@ -53,6 +54,8 @@ public function validate(mixed $value, Constraint $constraint): void
$comparedValue = $this->getPropertyAccessor()->getValue($object, $path);
} catch (NoSuchPropertyException $e) {
throw new ConstraintDefinitionException(sprintf('Invalid property path "%s" provided to "%s" constraint: ', $path, get_debug_type($constraint)).$e->getMessage(), 0, $e);
} catch (UninitializedPropertyException) {
$comparedValue = null;
}
} else {
$comparedValue = $constraint->value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use Symfony\Component\Intl\Countries;
use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
use Symfony\Component\PropertyAccess\Exception\UninitializedPropertyException;
use Symfony\Component\PropertyAccess\PropertyAccess;
use Symfony\Component\PropertyAccess\PropertyAccessor;
use Symfony\Component\Validator\Constraint;
Expand Down Expand Up @@ -127,6 +128,8 @@ public function validate(mixed $value, Constraint $constraint): void
$iban = $this->getPropertyAccessor()->getValue($object, $path);
} catch (NoSuchPropertyException $e) {
throw new ConstraintDefinitionException(sprintf('Invalid property path "%s" provided to "%s" constraint: ', $path, get_debug_type($constraint)).$e->getMessage(), 0, $e);
} catch (UninitializedPropertyException) {
$iban = null;
}
}
if (!$iban) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace Symfony\Component\Validator\Constraints;

use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
use Symfony\Component\PropertyAccess\Exception\UninitializedPropertyException;
use Symfony\Component\PropertyAccess\PropertyAccess;
use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
use Symfony\Component\Validator\Constraint;
Expand Down Expand Up @@ -159,6 +160,8 @@ private function getLimit(?string $propertyPath, mixed $default, Constraint $con
return $this->getPropertyAccessor()->getValue($object, $propertyPath);
} catch (NoSuchPropertyException $e) {
throw new ConstraintDefinitionException(sprintf('Invalid property path "%s" provided to "%s" constraint: ', $propertyPath, get_debug_type($constraint)).$e->getMessage(), 0, $e);
} catch (UninitializedPropertyException) {
return null;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function loadClassMetadata(ClassMetadata $metadata): bool
if ($constraint instanceof GroupSequence) {
$metadata->setGroupSequence($constraint->groups);
} elseif ($constraint instanceof GroupSequenceProvider) {
$metadata->setGroupProvider($constraint->provider);
$metadata->setGroupSequenceProvider(true);
} elseif ($constraint instanceof Constraint) {
$metadata->addConstraint($constraint);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target state="needs-review-translation">Die URL mis 'n topvlakdomein.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target>هذا الرابط يفتقر إلى نطاق المستوى الأعلى.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target state="needs-review-translation">Bu URL yuxarı səviyyəli domeni çatışmır.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target state="needs-review-translation">Гэтаму URL бракуе дамен верхняга ўзроўню.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target>На този URL липсва домейн от най-високо ниво.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target state="needs-review-translation">Ovom URL-u nedostaje domena najvišeg nivoa.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target>Aquesta URL no conté un domini de primer nivell.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target>Aquest valor és massa curt. Ha de contenir almenys una paraula.|Aquest valor és massa curt. Ha de contenir almenys {{ min }} paraules.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target>Aquest valor és massa llarg. Ha de contenir una paraula.|Aquest valor és massa llarg. Ha de contenir {{ max }} paraules o menys.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target state="needs-review-translation">Této URL chybí doména nejvyššího řádu.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target state="needs-review-translation">Mae'r URL hwn yn colli parth lefel uchaf.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target state="needs-review-translation">Denne URL mangler et topdomæne.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target state="needs-translation">This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target state="needs-translation">This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</target>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@
<source>This URL is missing a top-level domain.</source>
<target>Dieser URL fehlt eine Top-Level-Domain.</target>
</trans-unit>
<trans-unit id="114">
<source>This value is too short. It should contain at least one word.|This value is too short. It should contain at least {{ min }} words.</source>
<target>Dieser Wert ist zu kurz. Er muss aus mindestens einem Wort bestehen.|Dieser Wert ist zu kurz. Er muss mindestens {{ min }} Wörter enthalten.</target>
</trans-unit>
<trans-unit id="115">
<source>This value is too long. It should contain one word.|This value is too long. It should contain {{ max }} words or less.</source>
<target>Dieser Wert ist zu lang. Er darf maximal aus einem Wort bestehen.|Dieser Wert ist zu lang. Er darf maximal {{ max }} Wörter enthalten.</target>
</trans-unit>
</body>
</file>
</xliff>
Loading

0 comments on commit 02de2c4

Please sign in to comment.