Файловый менеджер - Редактировать - /home/avadvi5/calendar.aeronextgen.com/validator.zip
Ðазад
PK �n�\�*�~- - Context/error_lognu �[��� [11-Apr-2025 02:09:44 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php:38 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php on line 38 [11-Apr-2025 09:00:53 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php:24 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php on line 24 [19-Apr-2025 18:13:19 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php:38 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php on line 38 [20-Apr-2025 01:36:35 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php:24 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php on line 24 [22-Apr-2025 07:03:46 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php:38 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php on line 38 [22-Apr-2025 10:48:44 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php:24 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php on line 24 [27-Apr-2025 21:45:54 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php:24 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php on line 24 [28-Apr-2025 02:49:48 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php:38 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php on line 38 [30-Apr-2025 04:37:52 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php:24 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php on line 24 [30-Apr-2025 05:57:05 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php:38 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php on line 38 [12-May-2025 23:46:04 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php:38 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php on line 38 [13-May-2025 00:14:39 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php:24 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php on line 24 [14-May-2025 00:54:48 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php:38 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContext.php on line 38 [14-May-2025 00:57:18 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\Context\ExecutionContextFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php:24 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/Context/ExecutionContextFactory.php on line 24 PK �n�\��'^ # Context/ExecutionContextFactory.phpnu �[��� <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Context; use Symfony\Component\Validator\Validator\ValidatorInterface; use Symfony\Contracts\Translation\TranslatorInterface; /** * Creates new {@link ExecutionContext} instances. * * @author Bernhard Schussek <bschussek@gmail.com> * * @internal */ class ExecutionContextFactory implements ExecutionContextFactoryInterface { public function __construct( private TranslatorInterface $translator, private ?string $translationDomain = null, ) { } public function createContext(ValidatorInterface $validator, mixed $root): ExecutionContextInterface { return new ExecutionContext( $validator, $root, $this->translator, $this->translationDomain ); } } PK �n�\}�2g5* 5* % Context/ExecutionContextInterface.phpnu �[��� <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Context; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintViolationListInterface; use Symfony\Component\Validator\Mapping; use Symfony\Component\Validator\Mapping\MetadataInterface; use Symfony\Component\Validator\Validator\ValidatorInterface; use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; /** * The context of a validation run. * * The context collects all violations generated during the validation. By * default, validators execute all validations in a new context: * * $violations = $validator->validate($object); * * When you make another call to the validator, while the validation is in * progress, the violations will be isolated from each other: * * public function validate(mixed $value, Constraint $constraint): void * { * $validator = $this->context->getValidator(); * * // The violations are not added to $this->context * $violations = $validator->validate($value); * } * * However, if you want to add the violations to the current context, use the * {@link ValidatorInterface::inContext()} method: * * public function validate(mixed $value, Constraint $constraint): void * { * $validator = $this->context->getValidator(); * * // The violations are added to $this->context * $validator * ->inContext($this->context) * ->validate($value) * ; * } * * Additionally, the context provides information about the current state of * the validator, such as the currently validated class, the name of the * currently validated property and more. These values change over time, so you * cannot store a context and expect that the methods still return the same * results later on. * * @author Bernhard Schussek <bschussek@gmail.com> */ interface ExecutionContextInterface { /** * Adds a violation at the current node of the validation graph. * * @param string|\Stringable $message The error message as a string or a stringable object * @param array $params The parameters substituted in the error message */ public function addViolation(string $message, array $params = []): void; /** * Returns a builder for adding a violation with extended information. * * Call {@link ConstraintViolationBuilderInterface::addViolation()} to * add the violation when you're done with the configuration: * * $context->buildViolation('Please enter a number between %min% and %max%.') * ->setParameter('%min%', '3') * ->setParameter('%max%', '10') * ->setTranslationDomain('number_validation') * ->addViolation(); * * @param string|\Stringable $message The error message as a string or a stringable object * @param array $parameters The parameters substituted in the error message */ public function buildViolation(string $message, array $parameters = []): ConstraintViolationBuilderInterface; /** * Returns the validator. * * Useful if you want to validate additional constraints: * * public function validate(mixed $value, Constraint $constraint): void * { * $validator = $this->context->getValidator(); * * $violations = $validator->validate($value, new Length(['min' => 3])); * * if (count($violations) > 0) { * // ... * } * } */ public function getValidator(): ValidatorInterface; /** * Returns the currently validated object. * * If the validator is currently validating a class constraint, the * object of that class is returned. If it is validating a property or * getter constraint, the object that the property/getter belongs to is * returned. * * In other cases, null is returned. */ public function getObject(): ?object; /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param object|null $object The currently validated object * @param string $propertyPath The property path to the current value */ public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata, string $propertyPath): void; /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string|null $group The validated group */ public function setGroup(?string $group): void; /** * Warning: Should not be called by user code, to be used by the validator engine only. */ public function setConstraint(Constraint $constraint): void; /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string $cacheKey The hash of the object * @param string $groupHash The group's name or hash, if it is group * sequence */ public function markGroupAsValidated(string $cacheKey, string $groupHash): void; /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string $cacheKey The hash of the object * @param string $groupHash The group's name or hash, if it is group * sequence */ public function isGroupValidated(string $cacheKey, string $groupHash): bool; /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string $cacheKey The hash of the object * @param string $constraintHash The hash of the constraint */ public function markConstraintAsValidated(string $cacheKey, string $constraintHash): void; /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string $cacheKey The hash of the object * @param string $constraintHash The hash of the constraint */ public function isConstraintValidated(string $cacheKey, string $constraintHash): bool; /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string $cacheKey The hash of the object * * @see ObjectInitializerInterface */ public function markObjectAsInitialized(string $cacheKey): void; /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string $cacheKey The hash of the object * * @see ObjectInitializerInterface */ public function isObjectInitialized(string $cacheKey): bool; /** * Returns the violations generated by the validator so far. */ public function getViolations(): ConstraintViolationListInterface; /** * Returns the value at which validation was started in the object graph. * * The validator, when given an object, traverses the properties and * related objects and their properties. The root of the validation is the * object from which the traversal started. * * The current value is returned by {@link getValue}. */ public function getRoot(): mixed; /** * Returns the value that the validator is currently validating. * * If you want to retrieve the object that was originally passed to the * validator, use {@link getRoot}. */ public function getValue(): mixed; /** * Returns the metadata for the currently validated value. * * With the core implementation, this method returns a * {@link Mapping\ClassMetadataInterface} instance if the current value is an object, * a {@link Mapping\PropertyMetadata} instance if the current value is * the value of a property and a {@link Mapping\GetterMetadata} instance if * the validated value is the result of a getter method. * * If the validated value is neither of these, for example if the validator * has been called with a plain value and constraint, this method returns * null. */ public function getMetadata(): ?MetadataInterface; /** * Returns the validation group that is currently being validated. */ public function getGroup(): ?string; /** * Returns the class name of the current node. * * If the metadata of the current node does not implement * {@link Mapping\ClassMetadataInterface} or if no metadata is available for the * current node, this method returns null. */ public function getClassName(): ?string; /** * Returns the property name of the current node. * * If the metadata of the current node does not implement * {@link PropertyMetadataInterface} or if no metadata is available for the * current node, this method returns null. */ public function getPropertyName(): ?string; /** * Returns the property path to the value that the validator is currently * validating. * * For example, take the following object graph: * * <pre> * (Person)---($address: Address)---($street: string) * </pre> * * When the <tt>Person</tt> instance is passed to the validator, the * property path is initially empty. When the <tt>$address</tt> property * of that person is validated, the property path is "address". When * the <tt>$street</tt> property of the related <tt>Address</tt> instance * is validated, the property path is "address.street". * * Properties of objects are prefixed with a dot in the property path. * Indices of arrays or objects implementing the {@link \ArrayAccess} * interface are enclosed in brackets. For example, if the property in * the previous example is <tt>$addresses</tt> and contains an array * of <tt>Address</tt> instance, the property path generated for the * <tt>$street</tt> property of one of these addresses is for example * "addresses[0].street". * * @param string $subPath Optional. The suffix appended to the current * property path. * * @return string The current property path. The result may be an empty * string if the validator is currently validating the * root value of the validation graph. */ public function getPropertyPath(string $subPath = ''): string; } PK �n�\��Ɗ� � , Context/ExecutionContextFactoryInterface.phpnu �[��� <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Context; use Symfony\Component\Validator\Validator\ValidatorInterface; /** * Creates instances of {@link ExecutionContextInterface}. * * You can use a custom factory if you want to customize the execution context * that is passed through the validation run. * * @author Bernhard Schussek <bschussek@gmail.com> */ interface ExecutionContextFactoryInterface { /** * Creates a new execution context. * * @param mixed $root The root value of the validated * object graph */ public function createContext(ValidatorInterface $validator, mixed $root): ExecutionContextInterface; } PK �n�\@y�S Context/ExecutionContext.phpnu �[��� <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Context; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintViolation; use Symfony\Component\Validator\ConstraintViolationList; use Symfony\Component\Validator\ConstraintViolationListInterface; use Symfony\Component\Validator\Mapping\ClassMetadataInterface; use Symfony\Component\Validator\Mapping\MemberMetadata; use Symfony\Component\Validator\Mapping\MetadataInterface; use Symfony\Component\Validator\Mapping\PropertyMetadataInterface; use Symfony\Component\Validator\Util\PropertyPath; use Symfony\Component\Validator\Validator\LazyProperty; use Symfony\Component\Validator\Validator\ValidatorInterface; use Symfony\Component\Validator\Violation\ConstraintViolationBuilder; use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; use Symfony\Contracts\Translation\TranslatorInterface; /** * The context used and created by {@link ExecutionContextFactory}. * * @author Bernhard Schussek <bschussek@gmail.com> * * @see ExecutionContextInterface * * @internal */ class ExecutionContext implements ExecutionContextInterface { /** * The violations generated in the current context. */ private ConstraintViolationList $violations; /** * The currently validated value. */ private mixed $value = null; /** * The currently validated object. */ private ?object $object = null; /** * The property path leading to the current value. */ private string $propertyPath = ''; /** * The current validation metadata. */ private ?MetadataInterface $metadata = null; /** * The currently validated group. */ private ?string $group = null; /** * The currently validated constraint. */ private ?Constraint $constraint = null; /** * Stores which objects have been validated in which group. * * @var bool[][] */ private array $validatedObjects = []; /** * Stores which class constraint has been validated for which object. * * @var bool[] */ private array $validatedConstraints = []; /** * Stores which objects have been initialized. * * @var bool[] */ private array $initializedObjects = []; /** * @var \SplObjectStorage<object, string> */ private \SplObjectStorage $cachedObjectsRefs; /** * @internal Called by {@link ExecutionContextFactory}. Should not be used in user code. * * @param mixed $root the root value of the validated object graph */ public function __construct( private ValidatorInterface $validator, private mixed $root, private TranslatorInterface $translator, private ?string $translationDomain = null, ) { $this->violations = new ConstraintViolationList(); $this->cachedObjectsRefs = new \SplObjectStorage(); } public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata, string $propertyPath): void { $this->value = $value; $this->object = $object; $this->metadata = $metadata; $this->propertyPath = $propertyPath; } public function setGroup(?string $group): void { $this->group = $group; } public function setConstraint(Constraint $constraint): void { $this->constraint = $constraint; } public function addViolation(string|\Stringable $message, array $parameters = []): void { $this->violations->add(new ConstraintViolation( $this->translator->trans($message, $parameters, $this->translationDomain), $message, $parameters, $this->root, $this->propertyPath, $this->getValue(), null, null, $this->constraint )); } public function buildViolation(string|\Stringable $message, array $parameters = []): ConstraintViolationBuilderInterface { return new ConstraintViolationBuilder( $this->violations, $this->constraint, $message, $parameters, $this->root, $this->propertyPath, $this->getValue(), $this->translator, $this->translationDomain ); } public function getViolations(): ConstraintViolationListInterface { return $this->violations; } public function getValidator(): ValidatorInterface { return $this->validator; } public function getRoot(): mixed { return $this->root; } public function getValue(): mixed { if ($this->value instanceof LazyProperty) { return $this->value->getPropertyValue(); } return $this->value; } public function getObject(): ?object { return $this->object; } public function getMetadata(): ?MetadataInterface { return $this->metadata; } public function getGroup(): ?string { return $this->group; } public function getConstraint(): ?Constraint { return $this->constraint; } public function getClassName(): ?string { return $this->metadata instanceof MemberMetadata || $this->metadata instanceof ClassMetadataInterface ? $this->metadata->getClassName() : null; } public function getPropertyName(): ?string { return $this->metadata instanceof PropertyMetadataInterface ? $this->metadata->getPropertyName() : null; } public function getPropertyPath(string $subPath = ''): string { return PropertyPath::append($this->propertyPath, $subPath); } public function markGroupAsValidated(string $cacheKey, string $groupHash): void { if (!isset($this->validatedObjects[$cacheKey])) { $this->validatedObjects[$cacheKey] = []; } $this->validatedObjects[$cacheKey][$groupHash] = true; } public function isGroupValidated(string $cacheKey, string $groupHash): bool { return isset($this->validatedObjects[$cacheKey][$groupHash]); } public function markConstraintAsValidated(string $cacheKey, string $constraintHash): void { $this->validatedConstraints[$cacheKey.':'.$constraintHash] = true; } public function isConstraintValidated(string $cacheKey, string $constraintHash): bool { return isset($this->validatedConstraints[$cacheKey.':'.$constraintHash]); } public function markObjectAsInitialized(string $cacheKey): void { $this->initializedObjects[$cacheKey] = true; } public function isObjectInitialized(string $cacheKey): bool { return isset($this->initializedObjects[$cacheKey]); } /** * @internal */ public function generateCacheKey(object $object): string { if (!isset($this->cachedObjectsRefs[$object])) { $this->cachedObjectsRefs[$object] = spl_object_hash($object); } return $this->cachedObjectsRefs[$object]; } public function __clone() { $this->violations = clone $this->violations; } } PK �n�\�Cg�/ / $ ConstraintViolationListInterface.phpnu �[��� <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator; use Symfony\Component\Validator\Exception\OutOfBoundsException; /** * A list of constraint violations. * * @author Bernhard Schussek <bschussek@gmail.com> * * @extends \ArrayAccess<int, ConstraintViolationInterface> * @extends \Traversable<int, ConstraintViolationInterface> */ interface ConstraintViolationListInterface extends \Traversable, \Countable, \ArrayAccess { /** * Adds a constraint violation to this list. */ public function add(ConstraintViolationInterface $violation): void; /** * Merges an existing violation list into this list. */ public function addAll(self $otherList): void; /** * Returns the violation at a given offset. * * @param int $offset The offset of the violation * * @throws OutOfBoundsException if the offset does not exist */ public function get(int $offset): ConstraintViolationInterface; /** * Returns whether the given offset exists. * * @param int $offset The violation offset */ public function has(int $offset): bool; /** * Sets a violation at a given offset. * * @param int $offset The violation offset */ public function set(int $offset, ConstraintViolationInterface $violation): void; /** * Removes a violation at a given offset. * * @param int $offset The offset to remove */ public function remove(int $offset): void; /** * Converts the violation into a string for debugging purposes. */ public function __toString(): string; } PK �n�\z3U� � ConstraintValidator.phpnu �[��� <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator; use Symfony\Component\Validator\Context\ExecutionContextInterface; /** * Base class for constraint validators. * * @author Bernhard Schussek <bschussek@gmail.com> */ abstract class ConstraintValidator implements ConstraintValidatorInterface { /** * Whether to format {@link \DateTime} objects, either with the {@link \IntlDateFormatter} * (if it is available) or as RFC-3339 dates ("Y-m-d H:i:s"). */ public const PRETTY_DATE = 1; /** * Whether to cast objects with a "__toString()" method to strings. */ public const OBJECT_TO_STRING = 2; protected ExecutionContextInterface $context; public function initialize(ExecutionContextInterface $context): void { $this->context = $context; } /** * Returns a string representation of the type of the value. * * This method should be used if you pass the type of a value as * message parameter to a constraint violation. Note that such * parameters should usually not be included in messages aimed at * non-technical people. */ protected function formatTypeOf(mixed $value): string { return get_debug_type($value); } /** * Returns a string representation of the value. * * This method returns the equivalent PHP tokens for most scalar types * (i.e. "false" for false, "1" for 1 etc.). Strings are always wrapped * in double quotes ("). Objects, arrays and resources are formatted as * "object", "array" and "resource". If the $format bitmask contains * the PRETTY_DATE bit, then {@link \DateTime} objects will be formatted * with the {@link \IntlDateFormatter}. If it is not available, they will be * formatted as RFC-3339 dates ("Y-m-d H:i:s"). * * Be careful when passing message parameters to a constraint violation * that (may) contain objects, arrays or resources. These parameters * should only be displayed for technical users. Non-technical users * won't know what an "object", "array" or "resource" is and will be * confused by the violation message. * * @param int $format A bitwise combination of the format constants in this class */ protected function formatValue(mixed $value, int $format = 0): string { if (($format & self::PRETTY_DATE) && $value instanceof \DateTimeInterface) { if (class_exists(\IntlDateFormatter::class)) { $formatter = new \IntlDateFormatter(\Locale::getDefault(), \IntlDateFormatter::MEDIUM, \IntlDateFormatter::SHORT, 'UTC'); return $formatter->format(new \DateTimeImmutable( $value->format('Y-m-d H:i:s.u'), new \DateTimeZone('UTC') )); } return $value->format('Y-m-d H:i:s'); } if ($value instanceof \UnitEnum) { return $value->name; } if (\is_object($value)) { if (($format & self::OBJECT_TO_STRING) && $value instanceof \Stringable) { return $value->__toString(); } return 'object'; } if (\is_array($value)) { return 'array'; } if (\is_string($value)) { return '"'.$value.'"'; } if (\is_resource($value)) { return 'resource'; } if (null === $value) { return 'null'; } if (false === $value) { return 'false'; } if (true === $value) { return 'true'; } return (string) $value; } /** * Returns a string representation of a list of values. * * Each of the values is converted to a string using * {@link formatValue()}. The values are then concatenated with commas. * * @param array $values A list of values * @param int $format A bitwise combination of the format * constants in this class * * @see formatValue() */ protected function formatValues(array $values, int $format = 0): string { foreach ($values as $key => $value) { $values[$key] = $this->formatValue($value, $format); } return implode(', ', $values); } } PK �n�\'8T�C �C error_lognu �[��� [08-Apr-2025 08:00:54 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php:25 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php on line 25 [08-Apr-2025 09:22:53 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [08-Apr-2025 11:02:57 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 [08-Apr-2025 14:09:05 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [08-Apr-2025 15:11:14 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [13-Apr-2025 14:31:08 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [13-Apr-2025 20:38:30 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 [13-Apr-2025 21:47:15 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php:25 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php on line 25 [14-Apr-2025 01:08:32 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [14-Apr-2025 01:50:53 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [19-Apr-2025 03:54:54 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [19-Apr-2025 08:13:33 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [19-Apr-2025 08:58:29 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php:25 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php on line 25 [19-Apr-2025 13:22:18 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 [19-Apr-2025 15:25:43 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [24-Apr-2025 21:23:07 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [24-Apr-2025 21:27:31 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php:25 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php on line 25 [24-Apr-2025 22:04:24 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [25-Apr-2025 02:29:39 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [25-Apr-2025 05:00:51 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 [29-Apr-2025 23:15:55 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 [29-Apr-2025 23:28:35 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [30-Apr-2025 00:47:04 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [30-Apr-2025 00:56:07 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [08-May-2025 16:18:55 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [08-May-2025 17:54:25 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [09-May-2025 00:20:27 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [09-May-2025 01:43:50 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 [09-May-2025 03:27:38 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php:25 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php on line 25 [12-May-2025 12:32:22 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [12-May-2025 12:33:12 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 [12-May-2025 12:35:01 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [12-May-2025 12:37:28 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [12-May-2025 12:46:25 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php:25 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php on line 25 [12-May-2025 23:19:20 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 [12-May-2025 23:25:44 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [12-May-2025 23:45:38 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php:25 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php on line 25 [13-May-2025 00:13:57 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [13-May-2025 00:32:14 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [13-May-2025 23:54:34 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php:25 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidatorFactory.php on line 25 [14-May-2025 00:22:59 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationListInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolationList.php on line 23 [14-May-2025 00:26:26 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php:21 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintValidator.php on line 21 [14-May-2025 00:47:44 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintViolationInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php:19 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ConstraintViolation.php on line 19 [14-May-2025 01:18:04 UTC] PHP Fatal error: Uncaught Error: Interface "Symfony\Component\Validator\ConstraintValidatorFactoryInterface" not found in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php:23 Stack trace: #0 {main} thrown in /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/validator/ContainerConstraintValidatorFactory.php on line 23 PK �n�\ o� Validation.phpnu �[��� <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator; use Symfony\Component\Validator\Exception\ValidationFailedException; use Symfony\Component\Validator\Validator\ValidatorInterface; /** * Entry point for the Validator component. * * @author Bernhard Schussek <bschussek@gmail.com> */ final class Validation { /** * Creates a callable chain of constraints. */ public static function createCallable(Constraint|ValidatorInterface|null $constraintOrValidator = null, Constraint ...$constraints): callable { $validator = self::createIsValidCallable($constraintOrValidator, ...$constraints); return static function ($value) use ($validator) { if (!$validator($value, $violations)) { throw new ValidationFailedException($value, $violations); } return $value; }; } /** * Creates a callable that returns true/false instead of throwing validation exceptions. * * @return callable(mixed $value, ?ConstraintViolationListInterface &$violations = null): bool */ public static function createIsValidCallable(Constraint|ValidatorInterface|null $constraintOrValidator = null, Constraint ...$constraints): callable { $validator = $constraintOrValidator; if ($constraintOrValidator instanceof Constraint) { $constraints = \func_get_args(); $validator = null; } $validator ??= self::createValidator(); return static function (mixed $value, ?ConstraintViolationListInterface &$violations = null) use ($constraints, $validator): bool { $violations = $validator->validate($value, $constraints); return 0 === $violations->count(); }; } /** * Creates a new validator. * * If you want to configure the validator, use * {@link createValidatorBuilder()} instead. */ public static function createValidator(): ValidatorInterface { return self::createValidatorBuilder()->getValidator(); } /** * Creates a configurable builder for validator objects. */ public static function createValidatorBuilder(): ValidatorBuilder { return new ValidatorBuilder(); } /** * This class cannot be instantiated. */ private function __construct() { } } PK �n�\��S�� � '