Complex expressions

Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.

Literal arrays are omitted.

File Count Expression
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ContainerDebugCommandTest.php:2102file_put_contents($path, serialize([['type' => 16384, 'message' => 'The "Symfony\Bundle\FrameworkBundle\Controller\Controller" class is deprecated since Symfony 4.2, use Symfony\Bundle\FrameworkBundle\Controller\AbstractController instead.', 'file' => '/home/hamza/projet/contrib/sf/vendor/symfony/framework-bundle/Controller/Controller.php', 'line' => 17, 'trace' => [['file' => '/home/hamza/projet/contrib/sf/src/Controller/DefaultController.php', 'line' => 9, 'function' => 'spl_autoload_call', ]], 'count' => 1, ]]))
/src/Symfony/Bundle/WebProfilerBundle/EventListener/WebDebugToolbarListener.php:1431str_replace("\n", '', $this->twig->render('@WebProfiler/Profiler/toolbar_js.html.twig', ['full_stack' => class_exists(FullStack::class), 'excluded_ajax_paths' => $this->excludedAjaxPaths, 'token' => $response->headers->get('X-Debug-Token'), 'request' => $request, 'csp_script_nonce' => $nonces['csp_script_nonce'] ?? null, 'csp_style_nonce' => $nonces['csp_style_nonce'] ?? null, ]))
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:2331array_merge(parent::provideChunk( ), [['déjà', [static::createFromString('d'), static::createFromString('é'), static::createFromString('j'), static::createFromString('à'), ], 1, ], ['déjà', [static::createFromString('dé'), static::createFromString('jà'), ], 2, ], ])
/src/Symfony/Component/VarDumper/Caster/DateCaster.php:961sprintf('%s more', ($end = $p->getEndDate( )) ? ceil(($end->format('U.u') - $d->format('U.u')) / ((int) $now->add($p->getDateInterval( ))->format('U.u') - (int) $now->format('U.u'))) : $p->recurrences - $i)
/src/Symfony/Component/VarDumper/Caster/DateCaster.php:971ceil(($end->format('U.u') - $d->format('U.u')) / ((int) $now->add($p->getDateInterval( ))->format('U.u') - (int) $now->format('U.u')))
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1381array_merge(['class' => 'ProjectServiceContainer', 'base_class' => 'Container', 'namespace' => '', 'as_files' => false, 'debug' => true, 'hot_path_tag' => 'container.hot_path', 'preload_tags' => ['container.preload', 'container.no_preload'], 'inline_factories' => null, 'inline_class_loader' => null, 'preload_classes' => [ ], 'service_locator_tag' => 'container.service_locator', 'build_time' => time( ), ], $options)
/src/Symfony/Component/HttpFoundation/Request.php:2821array_replace(['SERVER_NAME' => 'localhost', 'SERVER_PORT' => 80, 'HTTP_HOST' => 'localhost', 'HTTP_USER_AGENT' => 'Symfony', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-us,en;q=0.5', 'HTTP_ACCEPT_CHARSET' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'REMOTE_ADDR' => '127.0.0.1', 'SCRIPT_NAME' => '', 'SCRIPT_FILENAME' => '', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_TIME' => time( ), 'REQUEST_TIME_FLOAT' => microtime(true), ], $server)
/src/Symfony/Component/Console/Helper/ProgressBar.php:2181floor($this->max ? $this->percent * $this->barWidth : (null === $this->redrawFreq ? (int) (min(5, $this->barWidth / 15) * $this->writeCount) : $this->step) % $this->barWidth)
/src/Symfony/Bundle/SecurityBundle/Resources/config/security.php:841service_locator(['security.token_storage' => service('security.token_storage'), 'security.authorization_checker' => service('security.authorization_checker'), 'security.authenticator.managers_locator' => service('security.authenticator.managers_locator')->ignoreOnInvalid( ), 'request_stack' => service('request_stack'), 'security.firewall.map' => service('security.firewall.map'), 'security.user_checker' => service('security.user_checker'), 'security.firewall.event_dispatcher_locator' => service('security.firewall.event_dispatcher_locator'), 'security.csrf.token_manager' => service('security.csrf.token_manager')->ignoreOnInvalid( ), ])
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php:23081array_merge(['kernel.bundles' => ['FrameworkBundle' => FrameworkBundle::class], 'kernel.bundles_metadata' => ['FrameworkBundle' => ['namespace' => 'Symfony\\Bundle\\FrameworkBundle', 'path' => __DIR__ . '/../..']], 'kernel.cache_dir' => __DIR__, 'kernel.build_dir' => __DIR__, 'kernel.project_dir' => __DIR__, 'kernel.debug' => false, 'kernel.environment' => 'test', 'kernel.runtime_mode.web' => true, 'kernel.name' => 'kernel', 'kernel.container_class' => 'testContainer', 'container.build_hash' => 'Abc1234', 'container.build_id' => hash('crc32', 'Abc123423456789'), 'container.build_time' => 23456789, ], $data)
/src/Symfony/Bridge/Monolog/Formatter/ConsoleFormatter.php:1171strtr($this->options['format'], ['%datetime%' => $record->datetime->format($this->options['date_format']), '%start_tag%' => sprintf('<%s>', self::LEVEL_COLOR_MAP[$record->level->value]), '%level_name%' => sprintf($this->options['level_name_format'], $record->level->getName( )), '%end_tag%' => '</>', '%channel%' => $record->channel, '%message%' => $this->replacePlaceHolder($record)->message, '%context%' => $context, '%extra%' => $extra, ])
/src/Symfony/Bridge/Twig/Tests/Mime/NotificationEmailTest.php:441unserialize(serialize((new NotificationEmail( ))->content('Foo', true)->exception(new \Exception( ))->importance(NotificationEmail::IMPORTANCE_HIGH)->action('Bar', 'http://example.com/')->context(['a' => 'b'])->theme('example')))
/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerTrait.php:2831serialize(['deprecation' => $deprecation[1], 'class' => $className, 'method' => $test->getName(false), 'triggering_file' => $deprecation[2] ?? null, 'files_stack' => $deprecation[3] ?? [ ]])
/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php:1571json_encode(['token' => $response->headers->get('x-debug-token'), 'route' => $request->attributes->get('_route', 'n/a'), 'method' => $request->getMethod( ), 'controller' => $this->parseController($request->attributes->get('_controller')), 'status_code' => $statusCode, 'status_text' => Response::$statusTexts[$statusCode], ])
/src/Symfony/Component/HttpKernel/Tests/DataCollector/LoggerDataCollectorTest.php:542file_put_contents($path, serialize([['type' => 16384, 'message' => 'The "Symfony\Bundle\FrameworkBundle\Controller\Controller" class is deprecated since Symfony 4.2, use Symfony\Bundle\FrameworkBundle\Controller\AbstractController instead.', 'file' => '/home/hamza/projet/contrib/sf/vendor/symfony/framework-bundle/Controller/Controller.php', 'line' => 17, 'trace' => [['file' => '/home/hamza/projet/contrib/sf/src/Controller/DefaultController.php', 'line' => 9, 'function' => 'spl_autoload_call', ]], 'count' => 1, ]]))
/src/Symfony/Bridge/Twig/Tests/Mime/NotificationEmailTest.php:441serialize((new NotificationEmail( ))->content('Foo', true)->exception(new \Exception( ))->importance(NotificationEmail::IMPORTANCE_HIGH)->action('Bar', 'http://example.com/')->context(['a' => 'b'])->theme('example'))
/src/Symfony/Component/HttpKernel/Kernel.php:5611realpath($cacheDir = ($this->getCacheDir( ) === $this->getBuildDir( ) ? ($this->warmupDir ?: $this->getCacheDir( )) : $this->getCacheDir( )))
/src/Symfony/Component/VarExporter/Internal/Exporter.php:2291sprintf('\'."%s".\'', str_replace(["\0", "\r", "\n", "\u{202A}", "\u{202B}", "\u{202D}", "\u{202E}", "\u{2066}", "\u{2067}", "\u{2068}", "\u{202C}", "\u{2069}", '\n\\'], ['\0', '\r', '\n', '\u{202A}', '\u{202B}', '\u{202D}', '\u{202E}', '\u{2066}', '\u{2067}', '\u{2068}', '\u{202C}', '\u{2069}', '\n"' . "\n" . $subIndent . '."\\'], $m[1]))
/src/Symfony/Component/Scheduler/DependencyInjection/AddScheduleMessengerPass.php:691array_filter(match ($tagAttributes['trigger'] ?? throw new InvalidArgumentException(sprintf('Tag "scheduler.task" is missing attribute "trigger" on service "%s".', $serviceId))) { /**/ } , fn ($value) => null !== $value)
/src/Symfony/Component/Uid/UuidV7.php:1161substr_replace(sprintf('%012s-%04x-%04x-%04x%04x%04x', $time, 0x7000 | (self::$rand[1] << 2) | (self::$rand[2] >> 14), 0x8000 | (self::$rand[2] & 0x3FFF), self::$rand[3], self::$rand[4], self::$rand[5], ), '-', 8, 0)
/src/Symfony/Component/Uid/Ulid.php:2001strtr(sprintf('%010s%04s%04s%04s%04s', $time, base_convert(self::$rand[1], 10, 32), base_convert(self::$rand[2], 10, 32), base_convert(self::$rand[3], 10, 32), base_convert(self::$rand[4], 10, 32)), 'abcdefghijklmnopqrstuv', 'ABCDEFGHJKMNPQRSTVWXYZ')
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:1961array_merge(parent::provideSplit( ), [['會|意|文|字|/|会|意|文|字', '|', [static::createFromString('會'), static::createFromString('意'), static::createFromString('文'), static::createFromString('字'), static::createFromString('/'), static::createFromString('会'), static::createFromString('意'), static::createFromString('文'), static::createFromString('字'), ], null, ], ['會|意|文|字|/|会|意|文|字', '|', [static::createFromString('會'), static::createFromString('意'), static::createFromString('文'), static::createFromString('字'), static::createFromString('/|会|意|文|字'), ], 5, ], ])
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:541array_merge(parent::provideSplit( ), [['अ.नु.च्.छे.द', '.', [static::createFromString('अ'), static::createFromString('नु'), static::createFromString('च्'), static::createFromString('छे'), static::createFromString('द'), ], null, ], ])
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:261array_merge(parent::provideWrap( ), [[['Käse' => static::createFromString('köstlich'), 'fromage' => static::createFromString('délicieux')], ["Ka\u{0308}se" => "ko\u{0308}stlich", 'fromage' => 'délicieux'], ], [['a' => 1, 'ä' => ['ö' => 2, 'ü' => 3]], ['a' => 1, "a\u{0308}" => ["o\u{0308}" => 2, 'ü' => 3]], ], ])
/src/Symfony/Component/Messenger/Bridge/Amqp/Transport/Connection.php:1811array_replace_recursive(['host' => $params['host'] ?? 'localhost', 'port' => $params['port'] ?? $port, 'vhost' => isset($pathParts[0]) ? urldecode($pathParts[0]) : '/', 'exchange' => ['name' => $exchangeName, ], ], $options, $parsedQuery)
/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php:2341array_replace($view->vars, ['multiple' => $options['multiple'], 'expanded' => $options['expanded'], 'preferred_choices' => $choiceListView->preferredChoices, 'choices' => $choiceListView->choices, 'separator' => '-------------------', 'placeholder' => null, 'placeholder_attr' => [ ], 'choice_translation_domain' => $choiceTranslationDomain, 'choice_translation_parameters' => $options['choice_translation_parameters'], ])
/src/Symfony/Component/Form/Extension/Core/Type/FormType.php:901array_replace($view->vars, ['errors' => $form->getErrors( ), 'valid' => $form->isSubmitted( ) ? $form->isValid( ) : true, 'value' => $form->getViewData( ), 'data' => $form->getNormData( ), 'required' => $form->isRequired( ), 'label_attr' => $options['label_attr'], 'help' => $options['help'], 'help_attr' => $options['help_attr'], 'help_html' => $options['help_html'], 'help_translation_parameters' => $helpTranslationParameters, 'compound' => $formConfig->getCompound( ), 'method' => $formConfig->getMethod( ), 'action' => $formConfig->getAction( ), 'submitted' => $form->isSubmitted( ), ])
/src/Symfony/Component/Form/Extension/Core/Type/BaseType.php:941array_replace($view->vars, ['form' => $view, 'id' => $id, 'name' => $name, 'full_name' => $fullName, 'disabled' => $form->isDisabled( ), 'label' => $options['label'], 'label_format' => $labelFormat, 'label_html' => $options['label_html'], 'multipart' => false, 'attr' => $options['attr'], 'block_prefixes' => $blockPrefixes, 'unique_block_prefix' => $uniqueBlockPrefix, 'row_attr' => $options['row_attr'], 'translation_domain' => $translationDomain, 'label_translation_parameters' => $labelTranslationParameters, 'attr_translation_parameters' => $attrTranslationParameters, 'priority' => $options['priority'], AbstractRendererEngine::CACHE_KEY_VAR => $uniqueBlockPrefix . '_' . $form->getConfig( )->getType( )->getBlockPrefix( ), ])
/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToArrayTransformer.php:741array_intersect_key(['year' => $dateTime->format('Y'), 'month' => $dateTime->format('m'), 'day' => $dateTime->format('d'), 'hour' => $dateTime->format('H'), 'minute' => $dateTime->format('i'), 'second' => $dateTime->format('s'), ], array_flip($this->fields))
/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php:1051json_encode(['iat' => time( ) - 3600, 'nbf' => time( ) - 3600, 'exp' => time( ) - 3590, 'iss' => 'https://www.example.com', 'aud' => self::AUDIENCE, 'sub' => 'e21bf182-1538-406e-8ccb-e25a17aba39f', 'email' => 'foo@example.com', ])
/src/Symfony/Component/Notifier/Bridge/Novu/NovuOptions.php:491array_merge($this->options, ['firstName' => $this->firstName, 'lastName' => $this->lastName, 'email' => $this->email, 'phone' => $this->phone, 'avatar' => $this->avatar, 'locale' => $this->locale, 'overrides' => $this->overrides, ])
/src/Symfony/Component/Notifier/Bridge/Twitter/TwitterTransport.php:961base64_encode(hash_hmac('sha1', implode('&', array_map('rawurlencode', [$method, $url, implode('&', array_map(fn ($k) => rawurlencode($k) . '=' . rawurlencode($sign[$k]), array_keys($sign))), ])), rawurlencode($this->apiSecret) . '&' . rawurlencode($this->accessSecret), true))
/src/Symfony/Component/HttpClient/NativeHttpClient.php:2281array_filter(['verify_peer' => $options['verify_peer'], 'verify_peer_name' => $options['verify_host'], 'cafile' => $options['cafile'], 'capath' => $options['capath'], 'local_cert' => $options['local_cert'], 'local_pk' => $options['local_pk'], 'passphrase' => $options['passphrase'], 'ciphers' => $options['ciphers'], 'peer_fingerprint' => $options['peer_fingerprint'], 'capture_peer_cert_chain' => $options['capture_peer_cert_chain'], 'allow_self_signed' => (bool) $options['peer_fingerprint'], 'SNI_enabled' => true, 'disable_compression' => true, 'crypto_method' => $cryptoMethod, ], static fn ($v) => null !== $v)
/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php:1441return [['id', [new Type(Type::BUILTIN_TYPE_INT)]], ['guid', [new Type(Type::BUILTIN_TYPE_STRING)]], ['bigint', [new Type(Type::BUILTIN_TYPE_STRING)]], ['time', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime')]], ['timeImmutable', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable')]], ['dateInterval', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateInterval')]], ['float', [new Type(Type::BUILTIN_TYPE_FLOAT)]], ['decimal', [new Type(Type::BUILTIN_TYPE_STRING)]], ['bool', [new Type(Type::BUILTIN_TYPE_BOOL)]], ['binary', [new Type(Type::BUILTIN_TYPE_RESOURCE)]], ['jsonArray', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true)]], ['foo', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'Symfony\Bridge\Doctrine\Tests\PropertyInfo\Fixtures\DoctrineRelation')]], ['bar', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Doctrine\Common\Collections\Collection', true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Bridge\Doctrine\Tests\PropertyInfo\Fixtures\DoctrineRelation'))]], ['indexedRguid', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Doctrine\Common\Collections\Collection', true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Bridge\Doctrine\Tests\PropertyInfo\Fixtures\DoctrineRelation'))]], ['indexedBar', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Doctrine\Common\Collections\Collection', true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Bridge\Doctrine\Tests\PropertyInfo\Fixtures\DoctrineRelation'))]], ['indexedFoo', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Doctrine\Common\Collections\Collection', true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Bridge\Doctrine\Tests\PropertyInfo\Fixtures\DoctrineRelation'))]], ['indexedBaz', [new Type(Type::BUILTIN_TYPE_OBJECT, false, Collection::class, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, DoctrineRelation::class))]], ['simpleArray', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING))]], ['customFoo', null], ['notMapped', null], ['indexedByDt', [new Type(Type::BUILTIN_TYPE_OBJECT, false, Collection::class, true, new Type(Type::BUILTIN_TYPE_OBJECT), new Type(Type::BUILTIN_TYPE_OBJECT, false, DoctrineRelation::class))]], ['indexedByCustomType', null], ['indexedBuz', [new Type(Type::BUILTIN_TYPE_OBJECT, false, Collection::class, true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_OBJECT, false, DoctrineRelation::class))]], ['dummyGeneratedValueList', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Doctrine\Common\Collections\Collection', true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, DoctrineRelation::class))]], ['json', null], ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveInvalidReferencesPassTest.php:471$def = $container->register('foo')->setArguments([[new Reference('bar', ContainerInterface::IGNORE_ON_INVALID_REFERENCE), $baz = new Reference('baz', ContainerInterface::IGNORE_ON_INVALID_REFERENCE), new Reference('moo', ContainerInterface::NULL_ON_INVALID_REFERENCE), ], ])
/src/Symfony/Bridge/Doctrine/Tests/Validator/DoctrineLoaderTest.php:1601$validator = Validation::createValidatorBuilder( )->enableAttributeMapping( )->addXmlMappings([__DIR__ . '/../Resources/validator/BaseUser.xml'])->addLoader(new DoctrineLoader(DoctrineTestHelper::createTestEntityManager(DoctrineTestHelper::createTestConfigurationWithXmlLoader( )), '{}'))->getValidator( )
/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveInvalidReferencesPassTest.php:271$def = $container->register('foo')->setArguments([new Reference('bar', ContainerInterface::NULL_ON_INVALID_REFERENCE), new Reference('baz', ContainerInterface::IGNORE_ON_INVALID_REFERENCE), ])->addMethodCall('foo', [new Reference('moo', ContainerInterface::IGNORE_ON_INVALID_REFERENCE)])
/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:2391$this->deprecationGroups = ['unsilenced' => new DeprecationGroup( ), 'self' => new DeprecationGroup( ), 'direct' => new DeprecationGroup( ), 'indirect' => new DeprecationGroup( ), 'legacy' => new DeprecationGroup( ), 'other' => new DeprecationGroup( ), ]
/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php:8571$argument = new TaggedIteratorArgument($argument['tag'], $argument['index_by'] ?? null, $argument['default_index_method'] ?? null, $forLocator, $argument['default_priority_method'] ?? null, (array) ($argument['exclude'] ?? null), $argument['exclude_self'] ?? true)
/src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/DoctrineExtensionTest.php:3361return new ContainerBuilder(new ParameterBag(array_merge(['kernel.bundles' => array_merge(['FrameworkBundle' => 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle'], $extraBundles), 'kernel.cache_dir' => __DIR__, 'kernel.build_dir' => __DIR__, 'kernel.container_class' => 'kernel', 'kernel.project_dir' => __DIR__, ], $data)))
/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveInvalidReferencesPassTest.php:681$def = $container->register('foo')->addMethodCall('foo', [[new Reference('bar', ContainerInterface::IGNORE_ON_INVALID_REFERENCE), $baz = new Reference('baz', ContainerInterface::IGNORE_ON_INVALID_REFERENCE), new Reference('moo', ContainerInterface::NULL_ON_INVALID_REFERENCE), ], ])
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:15565$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:4892$expected = [TestServiceSubscriber::class => new ServiceClosureArgument(new TypedReference(TestServiceSubscriber::class, TestServiceSubscriber::class)), CustomDefinition::class => new ServiceClosureArgument(new TypedReference(CustomDefinition::class, CustomDefinition::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE)), 'bar' => new ServiceClosureArgument(new TypedReference(CustomDefinition::class, CustomDefinition::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'bar')), 'baz' => new ServiceClosureArgument(new TypedReference(CustomDefinition::class, CustomDefinition::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE, 'baz')), 'late_alias' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class, TestDefinition1::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'late_alias')), ]
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:15435$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:4591$expected = ['tagged.iterator' => new ServiceClosureArgument(new TaggedIteratorArgument('tag')), 'tagged.locator' => new ServiceClosureArgument(new ServiceLocatorArgument(new TaggedIteratorArgument('tag', 'tag', needsIndexes : true))), 'autowired' => new ServiceClosureArgument(new TypedReference('service.id', 'stdClass', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'autowired', [new Autowire(service : 'service.id')])), 'autowired.nullable' => new ServiceClosureArgument(new TypedReference('service.id', 'stdClass', ContainerInterface::IGNORE_ON_INVALID_REFERENCE, 'autowired.nullable', [new Autowire(service : 'service.id')])), 'autowired.parameter' => new ServiceClosureArgument('foobar'), 'autowire.decorated' => new ServiceClosureArgument(new Reference('.service_locator.oO4rxCy.inner', ContainerInterface::NULL_ON_INVALID_REFERENCE)), 'target' => new ServiceClosureArgument(new TypedReference('stdClass', 'stdClass', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'target', [new Target('someTarget')])), ]
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:17421$view = $this->factory->create(FormTypeTest::TESTED_TYPE)->add('entity_one', self::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->add('entity_two', self::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, 'choice_value' => fn ($choice) => $choice ? $choice->name : '', ])->createView( )
/src/Symfony/Component/DependencyInjection/Tests/Compiler/PriorityTaggedServiceTraitTest.php:1321$expected = ['bar_tag_class' => new TypedReference('service2', BarTagClass::class), 'b' => new TypedReference('service2', BarTagClass::class), 'bar' => new Reference('service1'), 'a' => new TypedReference('service2', BarTagClass::class), ]
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:15695$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/DependencyInjection/Tests/Compiler/PriorityTaggedServiceTraitTest.php:651$expected = [new Reference('my_service2'), new Reference('my_service17'), new Reference('my_service1'), new Reference('my_service18'), new Reference('my_service8'), new Reference('my_service15'), new Reference('my_service4'), new Reference('my_service19'), new Reference('my_service5'), new Reference('my_service16'), new Reference('my_service9'), new Reference('my_service7'), new Reference('my_service6'), new Reference('my_service3'), new Reference('my_service10'), new Reference('my_service14'), new Reference('my_service11'), new Reference('my_service12'), new Reference('my_service13'), ]
/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php:1111return array_merge([$this->mergePass], $this->getBeforeOptimizationPasses( ), $this->getOptimizationPasses( ), $this->getBeforeRemovingPasses( ), $this->getRemovingPasses( ), $this->getAfterRemovingPasses( ))
/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php:811$this->removingPasses = [[new RemovePrivateAliasesPass( ), new ReplaceAliasByActualDefinitionPass( ), new RemoveAbstractDefinitionsPass( ), new RemoveUnusedDefinitionsPass( ), new AnalyzeServiceReferencesPass( ), new CheckExceptionOnInvalidReferenceBehaviorPass( ), new InlineServiceDefinitionsPass(new AnalyzeServiceReferencesPass( )), new AnalyzeServiceReferencesPass( ), new DefinitionErrorExceptionPass( ), ]]
/src/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php:911$code .= sprintf(" node_%s [label=\"%s\\n%s\\n\", shape=%s%s];\n", $this->dotize($id), $id . ($aliases ? ' (' . implode(', ', $aliases) . ')' : ''), $node['class'], $this->options['node']['shape'], $this->addAttributes($node['attributes']))
/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php:1281$value = $v instanceof TypedReference ? new TypedReference($v, $v->getType( ), $invalidBehavior, $v->getName( ) ?? $value->getName( ), array_merge($v->getAttributes( ), $value->getAttributes( ))) : new TypedReference($v, $value->getType( ), $invalidBehavior, $value->getName( ), $value->getAttributes( ))
/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/LazyServiceDumper.php:1471return preg_replace('/^.*\\\\/', '', $definition->getClass( )) . ($asGhostObject ? 'Ghost' : 'Proxy') . ucfirst(substr(hash('sha256', $this->salt . '+' . $class->name . '+' . serialize($definition->getTag('proxy'))), -7))
/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:3741return new $eh($frame['object']->getConvertDeprecationsToExceptions( ), $frame['object']->getConvertErrorsToExceptions( ), $frame['object']->getConvertNoticesToExceptions( ), $frame['object']->getConvertWarningsToExceptions( ))
/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php:6051$arguments[$key] = new TaggedIteratorArgument($arg->getAttribute('tag'), $arg->getAttribute('index-by') ?: null, $arg->getAttribute('default-index-method') ?: null, $forLocator, $arg->getAttribute('default-priority-method') ?: null, $excludes, !$arg->hasAttribute('exclude-self') || XmlUtils::phpize($arg->getAttribute('exclude-self')))
/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php:541$this->optimizationPasses = [[new AutoAliasServicePass( ), new ValidateEnvPlaceholdersPass( ), new ResolveDecoratorStackPass( ), new ResolveChildDefinitionsPass( ), new RegisterServiceSubscribersPass( ), new ResolveParameterPlaceHoldersPass(false, false), new ResolveFactoryClassPass( ), new ResolveNamedArgumentsPass( ), new AutowireRequiredMethodsPass( ), new AutowireRequiredPropertiesPass( ), new ResolveBindingsPass( ), new ServiceLocatorTagPass( ), new DecoratorServicePass( ), new CheckDefinitionValidityPass( ), new AutowirePass(false), new ServiceLocatorTagPass( ), new ResolveTaggedIteratorArgumentPass( ), new ResolveServiceSubscribersPass( ), new ResolveReferencesToAliasesPass( ), new ResolveInvalidReferencesPass( ), new AnalyzeServiceReferencesPass(true), new CheckCircularReferencesPass( ), new CheckReferenceValidityPass( ), new CheckArgumentsValidityPass(false), ]]
/src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php:421$this->beforeOptimizationPasses = [100 => [new ResolveClassPass( ), new RegisterAutoconfigureAttributesPass( ), new AutowireAsDecoratorPass( ), new AttributeAutoconfigurationPass( ), new ResolveInstanceofConditionalsPass( ), new RegisterEnvVarProcessorsPass( ), ], -1000 => [new ExtensionCompilerPass( )], ]
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:18881$load = !($definition->hasErrors( ) && $e = $definition->getErrors( )) ? $this->asFiles && !$this->inlineFactories && !$this->isHotPath($definition) : reset($e)
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:10371$field = $this->factory->createNamed('name', static::TESTED_TYPE, null, ['em' => 'default', 'class' => self::SINGLE_ASSOC_IDENT_CLASS, 'query_builder' => $repository->createQueryBuilder('e')->where('e.entity IN (1, 2)'), 'choice_label' => 'name', ])
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:18891$serviceMap .= sprintf("\n %s => [%s, %s, %s, %s],", $this->export($k), $this->export($definition->isShared( ) ? ($definition->isPublic( ) ? 'services' : 'privates') : false), $this->doExport($id), $this->export(ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE !== $v->getInvalidBehavior( ) && !\is_string($load) ? $this->generateMethodName($id) : null), $this->export($load))
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:13195$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/PasswordHasher/Hasher/PasswordHasherFactory.php:1661return ['class' => NativePasswordHasher::class, 'arguments' => [$config['time_cost'] ?? null, (($config['memory_cost'] ?? 0) << 10) ?: null, $config['cost'] ?? null, ] + (isset($config['native_algorithm']) ? [3 => $config['native_algorithm']] : [ ]), ]
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:13611$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['translation_domain' => 'domain', ])->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/PasswordHasher/Tests/Command/UserPasswordHashCommandTest.php:3181$hasherFactory = new PasswordHasherFactory([InMemoryUser::class => ['algorithm' => 'plaintext'], 'Custom\Class\Native\User' => ['algorithm' => 'native', 'cost' => 10], 'Custom\Class\Pbkdf2\User' => ['algorithm' => 'pbkdf2', 'hash_algorithm' => 'sha512', 'iterations' => 1000, 'encode_as_base64' => true], 'Custom\Class\Test\User' => ['algorithm' => 'test'], ])
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1381$options = array_merge(['class' => 'ProjectServiceContainer', 'base_class' => 'Container', 'namespace' => '', 'as_files' => false, 'debug' => true, 'hot_path_tag' => 'container.hot_path', 'preload_tags' => ['container.preload', 'container.no_preload'], 'inline_factories' => null, 'inline_class_loader' => null, 'preload_classes' => [ ], 'service_locator_tag' => 'container.service_locator', 'build_time' => time( ), ], $options)
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:3561
$code[$options['class'] . '.php'] = <<<EOF
<?php
{$namespaceLine}
// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.

if (\\class_exists(\\Container{$hash}\\{$options['class']}::class, false)) {
    // no-op
} elseif (!include __DIR__.'/Container{$hash}/{$options['class']}.php') {
    touch(__DIR__.'/Container{$hash}.legacy');

    return;
}

if (!\\class_exists({$options['class']}::class, false)) {
    \\class_alias(\\Container{$hash}\\{$options['class']}::class, {$options['class']}::class, false);
}

return new \\Container{$hash}\\{$options['class']}([
    'container.build_hash' => '$hash',
    'container.build_id' => '$id',
    'container.build_time' => $time,
    'container.runtime_mode' => \\in_array(\\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true) ? 'web=0' : 'web=1',
], __DIR__.\\DIRECTORY_SEPARATOR.'Container{$hash}');

EOF
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:11351yield $file => [$code, $definition->hasTag($this->hotPathTag) || !$definition->hasTag($this->preloadTags[1]) && !$definition->isDeprecated( ) && !$definition->hasErrors( )]
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:11791return $return . sprintf('(($args = %s) ? (%s) : null)', $this->dumpValue(new ServiceLocatorArgument($definition->getArguments( ))), $this->getExpressionLanguage( )->compile(substr($callable, 2), ['container' => 'container', 'args' => 'args'])) . $tail
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:14761$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['attr_translation_parameters' => ['%param%' => 'value'], ])->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/HttpFoundation/RequestMatcher/ExpressionRequestMatcher.php:341return $this->language->evaluate($this->expression, ['request' => $request, 'method' => $request->getMethod( ), 'path' => rawurldecode($request->getPathInfo( )), 'host' => $request->getHost( ), 'ip' => $request->getClientIp( ), 'attributes' => $request->attributes->all( ), ])
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:14921$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['label_translation_parameters' => ['%parent_param%' => 'parent_value', '%override_param%' => 'parent_override_value'], ])->add('child', static::TESTED_TYPE, ['label_translation_parameters' => ['%override_param%' => 'child_value'], 'em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/HttpFoundation/Tests/CookieTest.php:2931$cookie = Cookie::create('foo')->withExpires(1)->withPath('/admin/')->withDomain('.myfoodomain.com')->withSecure(true)->withHttpOnly(true)->withSameSite('none')->withPartitioned(true)
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:15091$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['help_translation_parameters' => ['%parent_param%' => 'parent_value', '%override_param%' => 'parent_override_value'], ])->add('child', static::TESTED_TYPE, ['help_translation_parameters' => ['%override_param%' => 'child_value'], 'em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php:10221$setters = ['setProtocolVersion' => '1.0', 'setCharset' => 'UTF-8', 'setPublic' => null, 'setPrivate' => null, 'setDate' => $this->createDateTimeNow( ), 'expire' => null, 'setMaxAge' => 1, 'setSharedMaxAge' => 1, 'setTtl' => 1, 'setClientTtl' => 1, ]
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:15261$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['attr_translation_parameters' => ['%parent_param%' => 'parent_value', '%override_param%' => 'parent_override_value'], ])->add('child', static::TESTED_TYPE, ['attr_translation_parameters' => ['%override_param%' => 'child_value'], 'em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/HttpFoundation/Tests/FileBagTest.php:931$bag = new FileBag(['files' => ['name' => ['file1' => ''], 'type' => ['file1' => ''], 'tmp_name' => ['file1' => ''], 'error' => ['file1' => \UPLOAD_ERR_NO_FILE], 'size' => ['file1' => 0], ]])
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:13771$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['translation_domain' => 'parent_domain', ])->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, 'translation_domain' => 'domain', ])->getForm( )->createView( )
/src/Symfony/Component/HttpFoundation/AcceptHeader.php:841return $this->items[$value] ?? $this->items[explode('/', $value)[0] . '/*'] ?? $this->items['*/*'] ?? $this->items['*'] ?? null
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:13945$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/HttpFoundation/Request.php:2821$server = array_replace(['SERVER_NAME' => 'localhost', 'SERVER_PORT' => 80, 'HTTP_HOST' => 'localhost', 'HTTP_USER_AGENT' => 'Symfony', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-us,en;q=0.5', 'HTTP_ACCEPT_CHARSET' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'REMOTE_ADDR' => '127.0.0.1', 'SCRIPT_NAME' => '', 'SCRIPT_FILENAME' => '', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_TIME' => time( ), 'REQUEST_TIME_FLOAT' => microtime(true), ], $server)
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:14441$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['label_translation_parameters' => ['%param%' => 'value'], ])->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/HttpFoundation/Request.php:10171return !isset($path[0]) || '/' === $path[0] || false !== ($colonPos = strpos($path, ':')) && ($colonPos < ($slashPos = strpos($path, '/')) || false === $slashPos) ? "./$path" : $path
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:14601$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['help_translation_parameters' => ['%param%' => 'value'], ])->add('child', static::TESTED_TYPE, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, ])->getForm( )->createView( )
/src/Symfony/Component/HttpFoundation/FileBag.php:1161$files[$key] = $this->fixPhpFilesArray(['error' => $data['error'][$key], 'name' => $name, 'type' => $data['type'][$key], 'tmp_name' => $data['tmp_name'][$key], 'size' => $data['size'][$key], ])
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_service_locator_argument.php:631$instance->locator = new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), ['foo1' => ['services', 'foo1', 'getFoo1Service', false], 'foo2' => ['privates', 'foo2', 'getFoo2Service', false], 'foo3' => [false, 'foo3', 'getFoo3Service', false], 'foo4' => ['privates', 'foo4', NULL, 'BOOM'], 'foo5' => ['services', 'foo5', NULL, false], ], ['foo1' => '?', 'foo2' => '?', 'foo3' => '?', 'foo4' => '?', 'foo5' => '?', ])
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services12.php:481return $container->services['test'] = new \stdClass(('file://' . \dirname(__DIR__, 1)), [('file://' . \dirname(__DIR__, 1)) => (\dirname(__DIR__, 2) . '/')])
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_subscriber.php:701$container->services['foo_service'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber((new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), ['Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition' => ['privates', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'getCustomDefinitionService', false], 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber' => ['services', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber', 'getTestServiceSubscriberService', false], 'bar' => ['services', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber', 'getTestServiceSubscriberService', false], 'baz' => ['privates', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'getCustomDefinitionService', false], 'late_alias' => ['services', 'late_alias', 'getLateAliasService', false], ], ['Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber', 'bar' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'baz' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'late_alias' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestDefinition1', ]))->withContext('foo_service', $container))
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_subscriber.php:701return $container->services['foo_service'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\TestServiceSubscriber((new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), ['Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition' => ['privates', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'getCustomDefinitionService', false], 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber' => ['services', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber', 'getTestServiceSubscriberService', false], 'bar' => ['services', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber', 'getTestServiceSubscriberService', false], 'baz' => ['privates', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'getCustomDefinitionService', false], 'late_alias' => ['services', 'late_alias', 'getLateAliasService', false], ], ['Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestServiceSubscriber', 'bar' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'baz' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\CustomDefinition', 'late_alias' => 'Symfony\\Component\\DependencyInjection\\Tests\\Fixtures\\TestDefinition1', ]))->withContext('foo_service', $container))
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php:481$container->services['test'] = new \stdClass(['only dot' => '.', 'concatenation as value' => '.\'\'.', 'concatenation from the start value' => '\'\'.', '.' => 'dot as a key', '.\'\'.' => 'concatenation as a key', '\'\'.' => 'concatenation from the start key', 'optimize concatenation' => 'string1-string2', 'optimize concatenation with empty string' => 'string1string2', 'optimize concatenation from the start' => 'start', 'optimize concatenation at the end' => 'end', 'new line' => 'string with ' . "\n" . 'new line'])
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php:481return $container->services['test'] = new \stdClass(['only dot' => '.', 'concatenation as value' => '.\'\'.', 'concatenation from the start value' => '\'\'.', '.' => 'dot as a key', '.\'\'.' => 'concatenation as a key', '\'\'.' => 'concatenation from the start key', 'optimize concatenation' => 'string1-string2', 'optimize concatenation with empty string' => 'string1string2', 'optimize concatenation from the start' => 'start', 'optimize concatenation at the end' => 'end', 'new line' => 'string with ' . "\n" . 'new line'])
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/inline_binding.php:101$s = $c->services( )->defaults( )->public( )->private( )->autoconfigure( )->autowire( )->tag('t', ['a' => 'b'])->bind(Foo::class, service('bar'))->bind('iterable $foo', tagged_iterator('foo'))->bind('object $baz', inline_service('Baz'))->public( )
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/defaults.php:101$s = $c->services( )->defaults( )->public( )->private( )->autoconfigure( )->autowire( )->tag('t', ['a' => 'b'])->bind(Foo::class, service('bar'))->bind('iterable $foo', tagged_iterator('foo'))->public( )
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_ghost.php:582return $container->services['bar'] = new \stdClass((isset($container->factories['service_container']['foo']) ? $container->factories['service_container']['foo']($container) : self::getFooService($container)))
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_duplicates.php:661return $container->services['baz'] = new \stdClass(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), ['foo' => [false, 'foo', 'getFooService', false], ], ['foo' => '?', ]))
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/autowire_closure.php:491$container->services['bar'] = new \Symfony\Component\DependencyInjection\Tests\Dumper\LazyClosureConsumer(fn ( ) => ($container->services['foo'] ??= new \Symfony\Component\DependencyInjection\Tests\Compiler\Foo( )), ($container->services['baz'] ?? self::getBazService($container)), ($container->services['foo'] ??= new \Symfony\Component\DependencyInjection\Tests\Compiler\Foo( ))->cloneFoo(...), ($container->services['my_callable'] ??= new \Symfony\Component\DependencyInjection\Tests\Compiler\MyCallable( ))->__invoke(...))
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/autowire_closure.php:491return $container->services['bar'] = new \Symfony\Component\DependencyInjection\Tests\Dumper\LazyClosureConsumer(fn ( ) => ($container->services['foo'] ??= new \Symfony\Component\DependencyInjection\Tests\Compiler\Foo( )), ($container->services['baz'] ?? self::getBazService($container)), ($container->services['foo'] ??= new \Symfony\Component\DependencyInjection\Tests\Compiler\Foo( ))->cloneFoo(...), ($container->services['my_callable'] ??= new \Symfony\Component\DependencyInjection\Tests\Compiler\MyCallable( ))->__invoke(...))
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services26.php:591$container->services['test'] = new ${($_ = $container->getEnv('FOO')) && false ?: "_"}($container->getEnv('Bar'), 'foo' . $container->getEnv('string:FOO') . 'baz', $container->getEnv('int:Baz'))
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services26.php:591return $container->services['test'] = new ${($_ = $container->getEnv('FOO')) && false ?: "_"}($container->getEnv('Bar'), 'foo' . $container->getEnv('string:FOO') . 'baz', $container->getEnv('int:Baz'))
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_env_in_id.php:671return $container->services['foo'] = new \stdClass(($container->privates['bar_%env(BAR)%'] ??= new \stdClass( )), ['baz_' . $container->getEnv('string:BAR') => new \stdClass( )])
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy.php:582return $container->services['bar'] = new \stdClass((isset($container->factories['service_container']['foo']) ? $container->factories['service_container']['foo']($container) : self::getFooService($container)))
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:1301$expected = [TestServiceSubscriber::class => new ServiceClosureArgument(new TypedReference(TestServiceSubscriber::class, TestServiceSubscriber::class)), CustomDefinition::class => new ServiceClosureArgument(new TypedReference(CustomDefinition::class, CustomDefinition::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE)), 'bar' => new ServiceClosureArgument(new TypedReference('bar', CustomDefinition::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'bar')), 'baz' => new ServiceClosureArgument(new TypedReference(CustomDefinition::class, CustomDefinition::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE, 'baz')), 'late_alias' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class, TestDefinition1::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'late_alias')), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:1621$expected = ['string|' . TestDefinition2::class . '|' . TestDefinition1::class => new ServiceClosureArgument(new TypedReference('string|' . TestDefinition2::class . '|' . TestDefinition1::class, 'string|' . TestDefinition2::class . '|' . TestDefinition1::class)), 'bar' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class . '|' . TestDefinition2::class, TestDefinition1::class . '|' . TestDefinition2::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'bar')), 'baz' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class . '|' . TestDefinition2::class, TestDefinition1::class . '|' . TestDefinition2::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE, 'baz')), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterAutoconfigureAttributesPassTest.php:371$expected = (new ChildDefinition(''))->setLazy(true)->setPublic(true)->setAutowired(true)->setShared(true)->setProperties(['bar' => 'baz'])->setConfigurator(new Reference('bla'))->addTag('a_tag')->addTag('another_tag', ['attr' => 234])->addMethodCall('setBar', [2, 3])->setBindings(['$bar' => $argument])->setFactory([null, 'create'])
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:992$expected = [TestServiceSubscriber::class => new ServiceClosureArgument(new TypedReference(TestServiceSubscriber::class, TestServiceSubscriber::class)), CustomDefinition::class => new ServiceClosureArgument(new TypedReference(CustomDefinition::class, CustomDefinition::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE)), 'bar' => new ServiceClosureArgument(new TypedReference(CustomDefinition::class, CustomDefinition::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'bar')), 'baz' => new ServiceClosureArgument(new TypedReference(CustomDefinition::class, CustomDefinition::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE, 'baz')), 'late_alias' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class, TestDefinition1::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'late_alias')), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/AutowirePassTest.php:13671$expected = ['decorated' => new Reference(AutowireNestedAttributes::class . '.inner'), 'iterator' => new TaggedIteratorArgument('foo'), 'locator' => new ServiceLocatorArgument(new TaggedIteratorArgument('foo', needsIndexes : true)), 'service' => new Reference('bar'), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveBindingsPassTest.php:441$bindings = [CaseSensitiveClass::class => new BoundArgument(new Reference('foo')), 'Psr\Container\ContainerInterface $container' => new BoundArgument(new ServiceLocatorArgument([ ]), true, BoundArgument::INSTANCEOF_BINDING), 'iterable $objects' => new BoundArgument(new TaggedIteratorArgument('tag.name'), true, BoundArgument::INSTANCEOF_BINDING), ]
/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container8.php:61$container = new ContainerBuilder(new ParameterBag(['foo' => '%baz%', 'baz' => 'bar', 'bar' => 'foo is %%foo bar', 'escape' => '@escapeme', 'values' => [true, false, null, 0, 1000.3, 'true', 'false', 'null'], 'utf-8 valid string' => "\u{021b}\u{1b56}\ttest", 'binary' => "\xf0\xf0\xf0\xf0", 'binary-control-char' => "This is a Bell char \x07", 'console banner' => "\e[37;44mHello\e[30;43mWorld\e[0m", 'null string' => 'null', 'string of digits' => '123', 'string of digits prefixed with minus character' => '-123', 'true string' => 'true', 'false string' => 'false', 'binary number string' => '0b0110', 'numeric string' => '-1.2E2', 'hexadecimal number string' => '0xFF', 'float string' => '10100.1', 'positive float string' => '+10100.1', 'negative float string' => '-10100.1', ]))
/src/Symfony/Component/DependencyInjection/Tests/Compiler/AutowirePassTest.php:8841$foo = $container->register('foo', NotWireable::class)->setAutowired(true)->addMethodCall('setBar', [ ])->addMethodCall('setOptionalNotAutowireable', [ ])->addMethodCall('setOptionalNoTypeHint', [ ])->addMethodCall('setOptionalArgNoAutowireable', [ ])
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:4231return [new SubscribedService('tagged.iterator', 'iterable', attributes : new TaggedIterator('tag')), new SubscribedService('tagged.locator', PsrContainerInterface::class, attributes : new TaggedLocator('tag')), new SubscribedService('autowired', 'stdClass', attributes : new Autowire(service : 'service.id')), new SubscribedService('autowired.nullable', 'stdClass', nullable : true, attributes : new Autowire(service : 'service.id')), new SubscribedService('autowired.parameter', 'string', attributes : new Autowire('%parameter.1%')), new SubscribedService('autowire.decorated', \stdClass::class, attributes : new AutowireDecorated( )), new SubscribedService('target', \stdClass::class, attributes : new Target('someTarget')), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:4461$expected = ['tagged.iterator' => new ServiceClosureArgument(new TypedReference('iterable', 'iterable', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'tagged.iterator', [new TaggedIterator('tag')])), 'tagged.locator' => new ServiceClosureArgument(new TypedReference(PsrContainerInterface::class, PsrContainerInterface::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'tagged.locator', [new TaggedLocator('tag')])), 'autowired' => new ServiceClosureArgument(new TypedReference('stdClass', 'stdClass', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'autowired', [new Autowire(service : 'service.id')])), 'autowired.nullable' => new ServiceClosureArgument(new TypedReference('stdClass', 'stdClass', ContainerInterface::IGNORE_ON_INVALID_REFERENCE, 'autowired.nullable', [new Autowire(service : 'service.id')])), 'autowired.parameter' => new ServiceClosureArgument(new TypedReference('string', 'string', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'autowired.parameter', [new Autowire(service : '%parameter.1%')])), 'autowire.decorated' => new ServiceClosureArgument(new TypedReference('stdClass', 'stdClass', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'autowire.decorated', [new AutowireDecorated( )])), 'target' => new ServiceClosureArgument(new TypedReference('stdClass', 'stdClass', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'target', [new Target('someTarget')])), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:3951$expected = ['some.service' => new ServiceClosureArgument(new TypedReference('stdClass', 'stdClass', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'some.service')), 'some_service' => new ServiceClosureArgument(new TypedReference('stdClass', 'stdClass', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'some_service')), 'another_service' => new ServiceClosureArgument(new TypedReference('stdClass', 'stdClass', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'anotherService')), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:4041$expected = ['some.service' => new ServiceClosureArgument(new TypedReference('stdClass $someService', 'stdClass')), 'some_service' => new ServiceClosureArgument(new TypedReference('stdClass $some_service', 'stdClass')), 'another_service' => new ServiceClosureArgument(new TypedReference('stdClass $anotherService', 'stdClass')), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:2431$expected = [TestServiceSubscriberChild::class . '::invalidDefinition' => new ServiceClosureArgument(new TypedReference('Symfony\Component\DependencyInjection\Tests\Fixtures\InvalidDefinition', 'Symfony\Component\DependencyInjection\Tests\Fixtures\InvalidDefinition')), TestServiceSubscriberChild::class . '::testDefinition2' => new ServiceClosureArgument(new TypedReference(TestDefinition2::class, TestDefinition2::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE)), TestServiceSubscriberChild::class . '::testDefinition4' => new ServiceClosureArgument(new TypedReference(TestDefinition3::class, TestDefinition3::class)), TestServiceSubscriberParent::class . '::testDefinition1' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class, TestDefinition1::class)), 'custom_name' => new ServiceClosureArgument(new TypedReference(TestDefinition3::class, TestDefinition3::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'custom_name')), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:3331$expected = [TestServiceSubscriberUnionWithTrait::class . '::method1' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class . '|' . TestDefinition2::class . '|null', TestDefinition1::class . '|' . TestDefinition2::class . '|null', ContainerInterface::IGNORE_ON_INVALID_REFERENCE)), TestServiceSubscriberUnionWithTrait::class . '::method2' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class . '|' . TestDefinition2::class, TestDefinition1::class . '|' . TestDefinition2::class)), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:1721$expected = ['string|' . TestDefinition2::class . '|' . TestDefinition1::class => new ServiceClosureArgument(new TypedReference('bar', TestDefinition1::class . '|' . TestDefinition2::class)), 'bar' => new ServiceClosureArgument(new TypedReference('bar', TestDefinition1::class . '|' . TestDefinition2::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'bar')), 'baz' => new ServiceClosureArgument(new TypedReference('bar', TestDefinition1::class . '|' . TestDefinition2::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE, 'baz')), ]
/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php:1981$expected = [TestDefinition1::class . '&' . TestDefinition2::class => new ServiceClosureArgument(new TypedReference(TestDefinition1::class . '&' . TestDefinition2::class, TestDefinition1::class . '&' . TestDefinition2::class)), 'bar' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class . '&' . TestDefinition2::class, TestDefinition1::class . '&' . TestDefinition2::class, ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, 'bar')), 'baz' => new ServiceClosureArgument(new TypedReference(TestDefinition1::class . '&' . TestDefinition2::class, TestDefinition1::class . '&' . TestDefinition2::class, ContainerInterface::IGNORE_ON_INVALID_REFERENCE, 'baz')), ]
/src/Symfony/Component/Console/Tests/Descriptor/ObjectsProvider.php:411return ['input_option_1' => new InputOption('option_name', 'o', InputOption::VALUE_NONE), 'input_option_2' => new InputOption('option_name', 'o', InputOption::VALUE_OPTIONAL, 'option description', 'default_value'), 'input_option_3' => new InputOption('option_name', 'o', InputOption::VALUE_REQUIRED, 'option description'), 'input_option_4' => new InputOption('option_name', 'o', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_OPTIONAL, 'option description', [ ]), 'input_option_5' => new InputOption('option_name', 'o', InputOption::VALUE_REQUIRED, "multiline\noption description"), 'input_option_6' => new InputOption('option_name', ['o', 'O'], InputOption::VALUE_REQUIRED, 'option with multiple shortcuts'), 'input_option_with_style' => new InputOption('option_name', 'o', InputOption::VALUE_REQUIRED, 'option description', '<comment>style</>'), 'input_option_with_style_array' => new InputOption('option_name', 'o', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'option description', ['<comment>Hello</comment>', '<info>world</info>']), 'input_option_with_default_inf_value' => new InputOption('option_name', 'o', InputOption::VALUE_OPTIONAL, 'option description', \INF), ]
/src/Symfony/Component/Console/Tests/Descriptor/ObjectsProvider.php:291return ['input_argument_1' => new InputArgument('argument_name', InputArgument::REQUIRED), 'input_argument_2' => new InputArgument('argument_name', InputArgument::IS_ARRAY, 'argument description'), 'input_argument_3' => new InputArgument('argument_name', InputArgument::OPTIONAL, 'argument description', 'default_value'), 'input_argument_4' => new InputArgument('argument_name', InputArgument::REQUIRED, "multiline\nargument description"), 'input_argument_with_style' => new InputArgument('argument_name', InputArgument::OPTIONAL, 'argument description', '<comment>style</>'), 'input_argument_with_default_inf_value' => new InputArgument('argument_name', InputArgument::OPTIONAL, 'argument description', \INF), ]
/src/Symfony/Component/Console/Tests/Helper/ProcessHelperTest.php:1031return [['', 'php -r "echo 42;"', StreamOutput::VERBOSITY_VERBOSE, null], [$successOutputVerbose, 'php -r "echo 42;"', StreamOutput::VERBOSITY_VERY_VERBOSE, null], [$successOutputDebug, 'php -r "echo 42;"', StreamOutput::VERBOSITY_DEBUG, null], [$successOutputDebugWithTags, 'php -r "echo \'<info>42</info>\';"', StreamOutput::VERBOSITY_DEBUG, null], ['', 'php -r "syntax error"', StreamOutput::VERBOSITY_VERBOSE, null], [$syntaxErrorOutputVerbose, 'php -r "fwrite(STDERR, \'error message\');usleep(50000);fwrite(STDOUT, \'out message\');exit(252);"', StreamOutput::VERBOSITY_VERY_VERBOSE, null], [$syntaxErrorOutputDebug, 'php -r "fwrite(STDERR, \'error message\');usleep(500000);fwrite(STDOUT, \'out message\');exit(252);"', StreamOutput::VERBOSITY_DEBUG, null], [$errorMessage . \PHP_EOL, 'php -r "fwrite(STDERR, \'error message\');usleep(50000);fwrite(STDOUT, \'out message\');exit(252);"', StreamOutput::VERBOSITY_VERBOSE, $errorMessage], [$syntaxErrorOutputVerbose . $errorMessage . \PHP_EOL, 'php -r "fwrite(STDERR, \'error message\');usleep(50000);fwrite(STDOUT, \'out message\');exit(252);"', StreamOutput::VERBOSITY_VERY_VERBOSE, $errorMessage], [$syntaxErrorOutputDebug . $errorMessage . \PHP_EOL, 'php -r "fwrite(STDERR, \'error message\');usleep(500000);fwrite(STDOUT, \'out message\');exit(252);"', StreamOutput::VERBOSITY_DEBUG, $errorMessage], [$successOutputProcessDebug, ['php', '-r', 'echo 42;'], StreamOutput::VERBOSITY_DEBUG, null], [$successOutputDebug, Process::fromShellCommandline('php -r "echo 42;"'), StreamOutput::VERBOSITY_DEBUG, null], [$successOutputProcessDebug, [new Process(['php', '-r', 'echo 42;'])], StreamOutput::VERBOSITY_DEBUG, null], [$successOutputPhp, [Process::fromShellCommandline('php -r ' . $PHP), 'PHP' => 'echo 42;'], StreamOutput::VERBOSITY_DEBUG, null], ]
/src/Symfony/Component/Console/Tests/Descriptor/ObjectsProvider.php:561return ['input_definition_1' => new InputDefinition( ), 'input_definition_2' => new InputDefinition([new InputArgument('argument_name', InputArgument::REQUIRED)]), 'input_definition_3' => new InputDefinition([new InputOption('option_name', 'o', InputOption::VALUE_NONE)]), 'input_definition_4' => new InputDefinition([new InputArgument('argument_name', InputArgument::REQUIRED), new InputOption('option_name', 'o', InputOption::VALUE_NONE), ]), ]
/src/Symfony/Component/Console/Tests/Helper/TableTest.php:17841yield 'With colspans but no header' => [<<<EOTXT +--------------------------------------------------------------------------------+ | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor | |--------------------------------------------------------------------------------| | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor | |--------------------------------------------------------------------------------| | Lorem ipsum dolor sit amet, consectetur | | hello world | |--------------------------------------------------------------------------------| | hello world | | Lorem ipsum dolor sit amet, consectetur adipiscing elit | |--------------------------------------------------------------------------------| | hello | | world | | Lorem ipsum dolor sit amet, consectetur | |--------------------------------------------------------------------------------| | Symfony | | Test | | Lorem ipsum dolor sit amet, consectetur | +--------------------------------------------------------------------------------+ EOTXT, [ ], [[new TableCell('Lorem ipsum dolor sit amet, <fg=white;bg=green>consectetur</> adipiscing elit, <fg=white;bg=red>sed</> do <fg=white;bg=red>eiusmod</> tempor', ['colspan' => 3])], new TableSeparator( ), [new TableCell('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor', ['colspan' => 3])], new TableSeparator( ), [new TableCell('Lorem ipsum <fg=white;bg=red>dolor</> sit amet, consectetur ', ['colspan' => 2]), 'hello world'], new TableSeparator( ), ['hello <fg=white;bg=green>world</>', new TableCell('Lorem ipsum dolor sit amet, <fg=white;bg=green>consectetur</> adipiscing elit', ['colspan' => 2])], new TableSeparator( ), ['hello ', new TableCell('world', ['colspan' => 1]), 'Lorem ipsum dolor sit amet, consectetur'], new TableSeparator( ), ['Symfony ', new TableCell('Test', ['colspan' => 1]), 'Lorem <fg=white;bg=green>ipsum</> dolor sit amet, consectetur'], ], ]
/src/Symfony/Component/Console/Tests/Helper/TableTest.php:1001return [[['ISBN', 'Title', 'Author'], $books, 'default', <<<'TABLE' +---------------+--------------------------+------------------+ | ISBN | Title | Author | +---------------+--------------------------+------------------+ | 99921-58-10-7 | Divine Comedy | Dante Alighieri | | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens | | 960-425-059-0 | The Lord of the Rings | J. R. R. Tolkien | | 80-902734-1-6 | And Then There Were None | Agatha Christie | +---------------+--------------------------+------------------+ TABLE], [['ISBN', 'Title', 'Author'], $books, 'compact', implode("\n", ['ISBN Title Author ', '99921-58-10-7 Divine Comedy Dante Alighieri ', '9971-5-0210-0 A Tale of Two Cities Charles Dickens ', '960-425-059-0 The Lord of the Rings J. R. R. Tolkien ', '80-902734-1-6 And Then There Were None Agatha Christie ', '', ]), ], [['ISBN', 'Title', 'Author'], $books, 'borderless', implode("\n", [' =============== ========================== ================== ', ' ISBN Title Author ', ' =============== ========================== ================== ', ' 99921-58-10-7 Divine Comedy Dante Alighieri ', ' 9971-5-0210-0 A Tale of Two Cities Charles Dickens ', ' 960-425-059-0 The Lord of the Rings J. R. R. Tolkien ', ' 80-902734-1-6 And Then There Were None Agatha Christie ', ' =============== ========================== ================== ', '', ]), ], [['ISBN', 'Title', 'Author'], $books, 'box', <<<'TABLE' ┌───────────────┬──────────────────────────┬──────────────────┐ │ ISBN │ Title │ Author │ ├───────────────┼──────────────────────────┼──────────────────┤ │ 99921-58-10-7 │ Divine Comedy │ Dante Alighieri │ │ 9971-5-0210-0 │ A Tale of Two Cities │ Charles Dickens │ │ 960-425-059-0 │ The Lord of the Rings │ J. R. R. Tolkien │ │ 80-902734-1-6 │ And Then There Were None │ Agatha Christie │ └───────────────┴──────────────────────────┴──────────────────┘ TABLE], [['ISBN', 'Title', 'Author'], [['99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'], ['9971-5-0210-0', 'A Tale of Two Cities', 'Charles Dickens'], new TableSeparator( ), ['960-425-059-0', 'The Lord of the Rings', 'J. R. R. Tolkien'], ['80-902734-1-6', 'And Then There Were None', 'Agatha Christie'], ], 'box-double', <<<'TABLE' ╔═══════════════╤══════════════════════════╤══════════════════╗ ║ ISBN │ Title │ Author ║ ╠═══════════════╪══════════════════════════╪══════════════════╣ ║ 99921-58-10-7 │ Divine Comedy │ Dante Alighieri ║ ║ 9971-5-0210-0 │ A Tale of Two Cities │ Charles Dickens ║ ╟───────────────┼──────────────────────────┼──────────────────╢ ║ 960-425-059-0 │ The Lord of the Rings │ J. R. R. Tolkien ║ ║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie ║ ╚═══════════════╧══════════════════════════╧══════════════════╝ TABLE], [['ISBN', 'Title'], [['99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'], ['9971-5-0210-0'], ['960-425-059-0', 'The Lord of the Rings', 'J. R. R. Tolkien'], ['80-902734-1-6', 'And Then There Were None', 'Agatha Christie'], ], 'default', <<<'TABLE' +---------------+--------------------------+------------------+ | ISBN | Title | | +---------------+--------------------------+------------------+ | 99921-58-10-7 | Divine Comedy | Dante Alighieri | | 9971-5-0210-0 | | | | 960-425-059-0 | The Lord of the Rings | J. R. R. Tolkien | | 80-902734-1-6 | And Then There Were None | Agatha Christie | +---------------+--------------------------+------------------+ TABLE], [[ ], [['99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'], ['9971-5-0210-0'], ['960-425-059-0', 'The Lord of the Rings', 'J. R. R. Tolkien'], ['80-902734-1-6', 'And Then There Were None', 'Agatha Christie'], ], 'default', <<<'TABLE' +---------------+--------------------------+------------------+ | 99921-58-10-7 | Divine Comedy | Dante Alighieri | | 9971-5-0210-0 | | | | 960-425-059-0 | The Lord of the Rings | J. R. R. Tolkien | | 80-902734-1-6 | And Then There Were None | Agatha Christie | +---------------+--------------------------+------------------+ TABLE], [['ISBN', 'Title', 'Author'], [['99921-58-10-7', "Divine\nComedy", 'Dante Alighieri'], ['9971-5-0210-2', "Harry Potter\nand the Chamber of Secrets", "Rowling\nJoanne K."], ['9971-5-0210-2', "Harry Potter\nand the Chamber of Secrets", "Rowling\nJoanne K."], ['960-425-059-0', 'The Lord of the Rings', "J. R. R.\nTolkien"], ], 'default', <<<'TABLE' +---------------+----------------------------+-----------------+ | ISBN | Title | Author | +---------------+----------------------------+-----------------+ | 99921-58-10-7 | Divine | Dante Alighieri | | | Comedy | | | 9971-5-0210-2 | Harry Potter | Rowling | | | and the Chamber of Secrets | Joanne K. | | 9971-5-0210-2 | Harry Potter | Rowling | | | and the Chamber of Secrets | Joanne K. | | 960-425-059-0 | The Lord of the Rings | J. R. R. | | | | Tolkien | +---------------+----------------------------+-----------------+ TABLE], [['ISBN', 'Title'], [ ], 'default', <<<'TABLE' +------+-------+ | ISBN | Title | +------+-------+ TABLE], [[ ], [ ], 'default', '', ], 'Cell text with tags used for Output styling' => [['ISBN', 'Title', 'Author'], [['<info>99921-58-10-7</info>', '<error>Divine Comedy</error>', '<fg=blue;bg=white>Dante Alighieri</fg=blue;bg=white>'], ['9971-5-0210-0', 'A Tale of Two Cities', '<info>Charles Dickens</>'], ], 'default', <<<'TABLE' +---------------+----------------------+-----------------+ | ISBN | Title | Author | +---------------+----------------------+-----------------+ | 99921-58-10-7 | Divine Comedy | Dante Alighieri | | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens | +---------------+----------------------+-----------------+ TABLE], 'Cell text with tags not used for Output styling' => [['ISBN', 'Title', 'Author'], [['<strong>99921-58-10-700</strong>', '<f>Divine Com</f>', 'Dante Alighieri'], ['9971-5-0210-0', 'A Tale of Two Cities', 'Charles Dickens'], ], 'default', <<<'TABLE' +----------------------------------+----------------------+-----------------+ | ISBN | Title | Author | +----------------------------------+----------------------+-----------------+ | <strong>99921-58-10-700</strong> | <f>Divine Com</f> | Dante Alighieri | | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens | +----------------------------------+----------------------+-----------------+ TABLE], 'Cell with colspan' => [['ISBN', 'Title', 'Author'], [['99921-58-10-7', 'Divine Comedy', 'Dante Alighieri'], new TableSeparator( ), [new TableCell('Divine Comedy(Dante Alighieri)', ['colspan' => 3])], new TableSeparator( ), [new TableCell('Arduino: A Quick-Start Guide', ['colspan' => 2]), 'Mark Schmidt', ], new TableSeparator( ), ['9971-5-0210-0', new TableCell("A Tale of \nTwo Cities", ['colspan' => 2]), ], new TableSeparator( ), [new TableCell('Cupìdĭtâte díctá âtquè pôrrò, tèmpórà exercitátìónèm mòdí ânìmí núllà nèmò vèl níhìl!', ['colspan' => 3]), ], ], 'default', <<<'TABLE' +-------------------------------+-------------------------------+-----------------------------+ | ISBN | Title | Author | +-------------------------------+-------------------------------+-----------------------------+ | 99921-58-10-7 | Divine Comedy | Dante Alighieri | +-------------------------------+-------------------------------+-----------------------------+ | Divine Comedy(Dante Alighieri) | +-------------------------------+-------------------------------+-----------------------------+ | Arduino: A Quick-Start Guide | Mark Schmidt | +-------------------------------+-------------------------------+-----------------------------+ | 9971-5-0210-0 | A Tale of | | | Two Cities | +-------------------------------+-------------------------------+-----------------------------+ | Cupìdĭtâte díctá âtquè pôrrò, tèmpórà exercitátìónèm mòdí ânìmí núllà nèmò vèl níhìl! | +-------------------------------+-------------------------------+-----------------------------+ TABLE], 'Cell after colspan contains new line break' => [['Foo', 'Bar', 'Baz'], [[new TableCell("foo\nbar", ['colspan' => 2]), "baz\nqux", ], ], 'default', <<<'TABLE' +-----+-----+-----+ | Foo | Bar | Baz | +-----+-----+-----+ | foo | baz | | bar | qux | +-----+-----+-----+ TABLE], 'Cell after colspan contains multiple new lines' => [['Foo', 'Bar', 'Baz'], [[new TableCell("foo\nbar", ['colspan' => 2]), "baz\nqux\nquux", ], ], 'default', <<<'TABLE' +-----+-----+------+ | Foo | Bar | Baz | +-----+-----+------+ | foo | baz | | bar | qux | | | quux | +-----+-----+------+ TABLE], 'Cell with rowspan' => [['ISBN', 'Title', 'Author'], [[new TableCell('9971-5-0210-0', ['rowspan' => 3]), new TableCell('Divine Comedy', ['rowspan' => 2]), 'Dante Alighieri', ], [ ], ["The Lord of \nthe Rings", "J. R. \nR. Tolkien"], new TableSeparator( ), ['80-902734-1-6', new TableCell("And Then \nThere \nWere None", ['rowspan' => 3]), 'Agatha Christie'], ['80-902734-1-7', 'Test'], ], 'default', <<<'TABLE' +---------------+---------------+-----------------+ | ISBN | Title | Author | +---------------+---------------+-----------------+ | 9971-5-0210-0 | Divine Comedy | Dante Alighieri | | | | | | | The Lord of | J. R. | | | the Rings | R. Tolkien | +---------------+---------------+-----------------+ | 80-902734-1-6 | And Then | Agatha Christie | | 80-902734-1-7 | There | Test | | | Were None | | +---------------+---------------+-----------------+ TABLE], 'Cell with rowspan and colspan' => [['ISBN', 'Title', 'Author'], [[new TableCell('9971-5-0210-0', ['rowspan' => 2, 'colspan' => 2]), 'Dante Alighieri', ], ['Charles Dickens'], new TableSeparator( ), ['Dante Alighieri', new TableCell('9971-5-0210-0', ['rowspan' => 3, 'colspan' => 2]), ], ['J. R. R. Tolkien'], ['J. R. R'], ], 'default', <<<'TABLE' +------------------+---------+-----------------+ | ISBN | Title | Author | +------------------+---------+-----------------+ | 9971-5-0210-0 | Dante Alighieri | | | Charles Dickens | +------------------+---------+-----------------+ | Dante Alighieri | 9971-5-0210-0 | | J. R. R. Tolkien | | | J. R. R | | +------------------+---------+-----------------+ TABLE], 'Cell with rowspan and colspan contains new line break' => [['ISBN', 'Title', 'Author'], [[new TableCell("9971\n-5-\n021\n0-0", ['rowspan' => 2, 'colspan' => 2]), 'Dante Alighieri', ], ['Charles Dickens'], new TableSeparator( ), ['Dante Alighieri', new TableCell("9971\n-5-\n021\n0-0", ['rowspan' => 2, 'colspan' => 2]), ], ['Charles Dickens'], new TableSeparator( ), [new TableCell("9971\n-5-\n021\n0-0", ['rowspan' => 2, 'colspan' => 2]), new TableCell("Dante \nAlighieri", ['rowspan' => 2, 'colspan' => 1]), ], ], 'default', <<<'TABLE' +-----------------+-------+-----------------+ | ISBN | Title | Author | +-----------------+-------+-----------------+ | 9971 | Dante Alighieri | | -5- | Charles Dickens | | 021 | | | 0-0 | | +-----------------+-------+-----------------+ | Dante Alighieri | 9971 | | Charles Dickens | -5- | | | 021 | | | 0-0 | +-----------------+-------+-----------------+ | 9971 | Dante | | -5- | Alighieri | | 021 | | | 0-0 | | +-----------------+-------+-----------------+ TABLE], 'Cell with rowspan and colspan without using TableSeparator' => [['ISBN', 'Title', 'Author'], [[new TableCell("9971\n-5-\n021\n0-0", ['rowspan' => 2, 'colspan' => 2]), 'Dante Alighieri', ], ['Charles Dickens'], ['Dante Alighieri', new TableCell("9971\n-5-\n021\n0-0", ['rowspan' => 2, 'colspan' => 2]), ], ['Charles Dickens'], ], 'default', <<<'TABLE' +-----------------+-------+-----------------+ | ISBN | Title | Author | +-----------------+-------+-----------------+ | 9971 | Dante Alighieri | | -5- | Charles Dickens | | 021 | | | 0-0 | | | Dante Alighieri | 9971 | | Charles Dickens | -5- | | | 021 | | | 0-0 | +-----------------+-------+-----------------+ TABLE], 'Cell with rowspan and colspan with separator inside a rowspan' => [['ISBN', 'Author'], [[new TableCell('9971-5-0210-0', ['rowspan' => 3, 'colspan' => 1]), 'Dante Alighieri', ], [new TableSeparator( )], ['Charles Dickens'], ], 'default', <<<'TABLE' +---------------+-----------------+ | ISBN | Author | +---------------+-----------------+ | 9971-5-0210-0 | Dante Alighieri | | |-----------------| | | Charles Dickens | +---------------+-----------------+ TABLE], 'Multiple header lines' => [[[new TableCell('Main title', ['colspan' => 3])], ['ISBN', 'Title', 'Author'], ], [ ], 'default', <<<'TABLE' +------+-------+--------+ | Main title | +------+-------+--------+ | ISBN | Title | Author | +------+-------+--------+ TABLE], 'Row with multiple cells' => [[ ], [[new TableCell('1', ['colspan' => 3]), new TableCell('2', ['colspan' => 2]), new TableCell('3', ['colspan' => 2]), new TableCell('4', ['colspan' => 2]), ], ], 'default', <<<'TABLE' +---+--+--+---+--+---+--+---+--+ | 1 | 2 | 3 | 4 | +---+--+--+---+--+---+--+---+--+ TABLE], 'Coslpan and table cells with comment style' => [[new TableCell('<comment>Long Title</comment>', ['colspan' => 3]), ], [[new TableCell('9971-5-0210-0', ['colspan' => 3]), ], new TableSeparator( ), ['Dante Alighieri', 'J. R. R. Tolkien', 'J. R. R', ], ], 'default', <<<TABLE +-----------------+------------------+---------+ |\033[32m \033[39m\033[33mLong Title\033[39m\033[32m \033[39m| +-----------------+------------------+---------+ | 9971-5-0210-0 | +-----------------+------------------+---------+ | Dante Alighieri | J. R. R. Tolkien | J. R. R | +-----------------+------------------+---------+ TABLE, true, ], 'Row with formatted cells containing a newline' => [[ ], [[new TableCell('<error>Dont break' . "\n" . 'here</error>', ['colspan' => 2]), ], new TableSeparator( ), ['foo', new TableCell('<error>Dont break' . "\n" . 'here</error>', ['rowspan' => 2]), ], ['bar', ], ], 'default', <<<'TABLE' +-------+------------+ | Dont break | | here | +-------+------------+ | foo | Dont break | | bar | here | +-------+------------+ TABLE, true, ], 'TabeCellStyle with align. Also with rowspan and colspan > 1' => [[new TableCell('ISBN', ['style' => new TableCellStyle(['align' => 'right', ]), ]), 'Title', new TableCell('Author', ['style' => new TableCellStyle(['align' => 'center', ]), ]), ], [[new TableCell('<fg=red>978</>', ['style' => new TableCellStyle(['align' => 'center', ]), ]), 'De Monarchia', new TableCell("Dante Alighieri \nspans multiple rows rows Dante Alighieri \nspans multiple rows rows", ['rowspan' => 2, 'style' => new TableCellStyle(['align' => 'center', ]), ]), ], ['<info>99921-58-10-7</info>', 'Divine Comedy', ], new TableSeparator( ), [new TableCell('<error>test</error>', ['colspan' => 2, 'style' => new TableCellStyle(['align' => 'center', ]), ]), new TableCell('tttt', ['style' => new TableCellStyle(['align' => 'right', ]), ]), ], ], 'default', <<<'TABLE' +---------------+---------------+-------------------------------------------+ | ISBN | Title | Author | +---------------+---------------+-------------------------------------------+ | 978 | De Monarchia | Dante Alighieri | | 99921-58-10-7 | Divine Comedy | spans multiple rows rows Dante Alighieri | | | | spans multiple rows rows | +---------------+---------------+-------------------------------------------+ | test | tttt | +---------------+---------------+-------------------------------------------+ TABLE, ], 'TabeCellStyle with fg,bg. Also with rowspan and colspan > 1' => [[ ], [[new TableCell('<fg=red>978</>', ['style' => new TableCellStyle(['fg' => 'black', 'bg' => 'green', ]), ]), 'De Monarchia', new TableCell("Dante Alighieri \nspans multiple rows rows Dante Alighieri \nspans multiple rows rows", ['rowspan' => 2, 'style' => new TableCellStyle(['fg' => 'red', 'bg' => 'green', 'align' => 'center', ]), ]), ], ['<info>99921-58-10-7</info>', 'Divine Comedy', ], new TableSeparator( ), [new TableCell('<error>test</error>', ['colspan' => 2, 'style' => new TableCellStyle(['fg' => 'red', 'bg' => 'green', 'align' => 'center', ]), ]), new TableCell('tttt', ['style' => new TableCellStyle(['fg' => 'red', 'bg' => 'green', 'align' => 'right', ]), ]), ], ], 'default', <<<'TABLE' +---------------+---------------+-------------------------------------------+ | 978 | De Monarchia | Dante Alighieri | | 99921-58-10-7 | Divine Comedy | spans multiple rows rows Dante Alighieri | | | | spans multiple rows rows | +---------------+---------------+-------------------------------------------+ | test | tttt | +---------------+---------------+-------------------------------------------+ TABLE, true, ], 'TabeCellStyle with cellFormat. Also with rowspan and colspan > 1' => [[new TableCell('ISBN', ['style' => new TableCellStyle(['cellFormat' => '<fg=black;bg=cyan>%s</>', ]), ]), 'Title', 'Author', ], [['978-0521567817', 'De Monarchia', new TableCell("Dante Alighieri\nspans multiple rows", ['rowspan' => 2, 'style' => new TableCellStyle(['cellFormat' => '<info>%s</info>', ]), ]), ], ['978-0804169127', 'Divine Comedy'], [new TableCell('test', ['colspan' => 2, 'style' => new TableCellStyle(['cellFormat' => '<error>%s</error>', ]), ]), 'tttt', ], ], 'default', <<<'TABLE' +----------------+---------------+---------------------+ | ISBN | Title | Author | +----------------+---------------+---------------------+ | 978-0521567817 | De Monarchia | Dante Alighieri | | 978-0804169127 | Divine Comedy | spans multiple rows | | test | tttt | +----------------+---------------+---------------------+ TABLE, true, ], ]
/src/Symfony/Component/Console/Tests/Helper/TableTest.php:20381$table = (new Table($output = $this->getOutputStream( )))->setStyle($tableStyle)->setHeaderTitle('Title')->setHeaders(['Hello', 'World'])->setRows([[1, 2], [3, 4]])->setHorizontal(false)
/src/Symfony/Component/Console/Tests/Helper/TableTest.php:20091$table = (new Table($output = $this->getOutputStream( )))->setStyle($tableStyle)->setHeaderTitle('Title')->setHeaders(['Hello', 'World'])->setRows([[1, 2], [3, 4]])->setHorizontal(true)
/src/Symfony/Component/Console/Descriptor/TextDescriptor.php:691$synopsis = sprintf('%s%s', $option->getShortcut( ) ? sprintf('-%s, ', $option->getShortcut( )) : ' ', sprintf($option->isNegatable( ) ? '--%1$s|--no-%1$s' : '--%1$s%2$s', $option->getName( ), $value))
/src/Symfony/Component/Console/Output/AnsiColorMode.php:1001return 16 + (36 * (int) round($r / 255 * 5)) + (6 * (int) round($g / 255 * 5)) + (int) round($b / 255 * 5)
/src/Symfony/Component/Console/Descriptor/XmlDescriptor.php:2081$defaults = \is_array($option->getDefault( )) ? $option->getDefault( ) : (\is_bool($option->getDefault( )) ? [var_export($option->getDefault( ), true)] : ($option->getDefault( ) ? [$option->getDefault( )] : [ ]))
/src/Symfony/Component/Console/Descriptor/XmlDescriptor.php:1791$defaults = \is_array($argument->getDefault( )) ? $argument->getDefault( ) : (\is_bool($argument->getDefault( )) ? [var_export($argument->getDefault( ), true)] : ($argument->getDefault( ) ? [$argument->getDefault( )] : [ ]))
/src/Symfony/Component/Console/Descriptor/JsonDescriptor.php:1041return $negated ? ['name' => '--no-' . $option->getName( ), 'shortcut' => '', 'accept_value' => false, 'is_value_required' => false, 'is_multiple' => false, 'description' => 'Negate the "--' . $option->getName( ) . '" option', 'default' => false, ] : ['name' => '--' . $option->getName( ), 'shortcut' => $option->getShortcut( ) ? '-' . str_replace('|', '|-', $option->getShortcut( )) : '', 'accept_value' => $option->acceptValue( ), 'is_value_required' => $option->isValueRequired( ), 'is_multiple' => $option->isArray( ), 'description' => preg_replace('/\s*[\r\n]\s*/', ' ', $option->getDescription( )), 'default' => \INF === $option->getDefault( ) ? 'INF' : $option->getDefault( ), ]
/src/Symfony/Component/Console/Descriptor/JsonDescriptor.php:931return ['name' => $argument->getName( ), 'is_required' => $argument->isRequired( ), 'is_array' => $argument->isArray( ), 'description' => preg_replace('/\s*[\r\n]\s*/', ' ', $argument->getDescription( )), 'default' => \INF === $argument->getDefault( ) ? 'INF' : $argument->getDefault( ), ]
/src/Symfony/Component/Console/Helper/TableStyle.php:2131return [$this->crossingChar, $this->crossingTopLeftChar, $this->crossingTopMidChar, $this->crossingTopRightChar, $this->crossingMidRightChar, $this->crossingBottomRightChar, $this->crossingBottomMidChar, $this->crossingBottomLeftChar, $this->crossingMidLeftChar, $this->crossingTopLeftBottomChar, $this->crossingTopMidBottomChar, $this->crossingTopRightBottomChar, ]
/src/Symfony/Component/Console/Descriptor/JsonDescriptor.php:1551$data += ['usage' => array_merge([$command->getSynopsis( )], $command->getUsages( ), $command->getAliases( )), 'help' => $command->getProcessedHelp( ), 'definition' => $this->getInputDefinitionData($command->getDefinition( )), ]
/src/Symfony/Component/Console/Helper/ProgressBar.php:2181return floor($this->max ? $this->percent * $this->barWidth : (null === $this->redrawFreq ? (int) (min(5, $this->barWidth / 15) * $this->writeCount) : $this->step) % $this->barWidth)
/src/Symfony/Component/Console/Event/ConsoleErrorEvent.php:551return $this->exitCode ?? (\is_int($this->error->getCode( )) && 0 !== $this->error->getCode( ) ? $this->error->getCode( ) : 1)
/src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php:611$this->data = ['enabled' => false, 'authenticated' => false, 'impersonated' => false, 'impersonator_user' => null, 'impersonation_exit_path' => null, 'token' => null, 'token_class' => null, 'logout_url' => null, 'user' => '', 'roles' => [ ], 'inherited_roles' => [ ], 'supports_role_hierarchy' => null !== $this->roleHierarchy, ]
/src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php:761$this->data = ['enabled' => true, 'authenticated' => false, 'impersonated' => false, 'impersonator_user' => null, 'impersonation_exit_path' => null, 'token' => null, 'token_class' => null, 'logout_url' => null, 'user' => '', 'roles' => [ ], 'inherited_roles' => [ ], 'supports_role_hierarchy' => null !== $this->roleHierarchy, ]
/src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php:1151$this->data = ['enabled' => true, 'authenticated' => (bool) $token->getUser( ), 'impersonated' => null !== $impersonatorUser, 'impersonator_user' => $impersonatorUser, 'impersonation_exit_path' => null, 'token' => $token, 'token_class' => $this->hasVarDumper ? new ClassStub($token::class) : $token::class, 'logout_url' => $logoutUrl, 'user' => $token->getUserIdentifier( ), 'roles' => $assignedRoles, 'inherited_roles' => array_unique($inheritedRoles), 'supports_role_hierarchy' => null !== $this->roleHierarchy, ]
/src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php:1721$this->data['firewall'] = ['name' => $firewallConfig->getName( ), 'request_matcher' => $firewallConfig->getRequestMatcher( ), 'security_enabled' => $firewallConfig->isSecurityEnabled( ), 'stateless' => $firewallConfig->isStateless( ), 'provider' => $firewallConfig->getProvider( ), 'context' => $firewallConfig->getContext( ), 'entry_point' => $firewallConfig->getEntryPoint( ), 'access_denied_handler' => $firewallConfig->getAccessDeniedHandler( ), 'access_denied_url' => $firewallConfig->getAccessDeniedUrl( ), 'user_checker' => $firewallConfig->getUserChecker( ), 'authenticators' => $firewallConfig->getAuthenticators( ), ]
/src/Symfony/Bundle/SecurityBundle/Tests/DataCollector/SecurityDataCollectorTest.php:2691$expectedDecisionLog = [['attributes' => ['view'], 'object' => new \stdClass( ), 'result' => true, 'voter_details' => [['class' => $voter1::class, 'attributes' => ['view'], 'vote' => VoterInterface::ACCESS_ABSTAIN], ['class' => $voter2::class, 'attributes' => ['view'], 'vote' => VoterInterface::ACCESS_ABSTAIN], ], ]]
/src/Symfony/Bundle/SecurityBundle/Tests/DataCollector/SecurityDataCollectorTest.php:3571$expectedDecisionLog = [['attributes' => ['view', 'edit'], 'object' => new \stdClass( ), 'result' => false, 'voter_details' => [['class' => $voter1::class, 'attributes' => ['view'], 'vote' => VoterInterface::ACCESS_DENIED], ['class' => $voter1::class, 'attributes' => ['edit'], 'vote' => VoterInterface::ACCESS_DENIED], ['class' => $voter2::class, 'attributes' => ['view'], 'vote' => VoterInterface::ACCESS_GRANTED], ['class' => $voter2::class, 'attributes' => ['edit'], 'vote' => VoterInterface::ACCESS_GRANTED], ], ], ['attributes' => ['update'], 'object' => new \stdClass( ), 'result' => true, 'voter_details' => [['class' => $voter1::class, 'attributes' => ['update'], 'vote' => VoterInterface::ACCESS_GRANTED], ['class' => $voter2::class, 'attributes' => ['update'], 'vote' => VoterInterface::ACCESS_GRANTED], ], ], ]
/src/Symfony/Bundle/SecurityBundle/Tests/Security/FirewallConfigTest.php:351$config = new FirewallConfig('foo_firewall', $options['user_checker'], $options['request_matcher'], $options['security'], $options['stateless'], $options['provider'], $options['context'], $options['entry_point'], $options['access_denied_handler'], $options['access_denied_url'], $authenticators, $options['switch_user'])
/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AbstractWebTestCase.php:621return new $class(static::getVarDir( ), $options['test_case'], $options['root_config'] ?? 'config.yml', $options['environment'] ?? strtolower(static::getVarDir( ) . $options['test_case']), $options['debug'] ?? false, )
/src/Symfony/Bundle/SecurityBundle/Tests/Functional/SecurityTest.php:811return [[new InMemoryUser('user1', 'test', ['ROLE_ADMIN']), new InMemoryUser('user1', 'test', ['ROLE_USER']), ], [new UserWithoutEquatable('user1', 'test', ['ROLE_ADMIN']), new UserWithoutEquatable('user1', 'test', ['ROLE_USER']), ], ]
/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php:3631$token = (new CompactSerializer( ))->serialize((new JWSBuilder(new AlgorithmManager([new ES256( ), ])))->create( )->withPayload(json_encode($claims))->addSignature(new JWK(['kty' => 'EC', 'crv' => 'P-256', 'x' => '0QEAsI1wGI-dmYatdUZoWSRWggLEpyzopuhwk-YUnA4', 'y' => 'KYl-qyZ26HobuYwlQh-r0iHX61thfP82qqEku7i0woo', 'd' => 'iA_TV2zvftni_9aFAQwFO_9aypfJFCSpcCyevDvz220', ]), ['alg' => 'ES256'])->build( ))
/src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/AuthenticatorBundle/DummyFormLoginFactory.php:302$authenticator = $container->setDefinition($authenticatorId, new ChildDefinition('security.authenticator.form_login'))->replaceArgument(1, new Reference($userProviderId))->replaceArgument(2, new Reference($this->createAuthenticationSuccessHandler($container, $firewallName, $config)))->replaceArgument(3, new Reference($this->createAuthenticationFailureHandler($container, $firewallName, $config)))->replaceArgument(4, $options)
/src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Controller/LoginController.php:411return new Response($this->container->get('twig')->render('@FormLogin/Login/login.html.twig', ['last_username' => $request->getSession( )->get(SecurityRequestAttributes::LAST_USERNAME), 'error' => $error, ]))
/src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Controller/LocalizedController.php:391return new Response($this->container->get('twig')->render('@FormLogin/Localized/login.html.twig', ['last_username' => $request->getSession( )->get(SecurityRequestAttributes::LAST_USERNAME), 'error' => $error, ]))
/src/Symfony/Bundle/SecurityBundle/Command/DebugFirewallCommand.php:1371$rows = [['Name', $name], ['Context', $context->getConfig( )->getContext( )], ['Lazy', $context instanceof LazyFirewallContext ? 'Yes' : 'No'], ['Stateless', $context->getConfig( )->isStateless( ) ? 'Yes' : 'No'], ['User Checker', $context->getConfig( )->getUserChecker( )], ['Provider', $context->getConfig( )->getProvider( )], ['Entry Point', $context->getConfig( )->getEntryPoint( )], ['Access Denied URL', $context->getConfig( )->getAccessDeniedUrl( )], ['Access Denied Handler', $context->getConfig( )->getAccessDeniedHandler( )], ]
/src/Symfony/Component/HttpFoundation/Tests/AcceptHeaderTest.php:421return [['', [ ]], ['gzip', [new AcceptHeaderItem('gzip')]], ['gzip,deflate,sdch', [new AcceptHeaderItem('gzip'), new AcceptHeaderItem('deflate'), new AcceptHeaderItem('sdch')]], ["gzip, deflate\t,sdch", [new AcceptHeaderItem('gzip'), new AcceptHeaderItem('deflate'), new AcceptHeaderItem('sdch')]], ['"this;should,not=matter"', [new AcceptHeaderItem('this;should,not=matter')]], ]
/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php:3491$request = Request::create('/', 'DELETE', [ ], [ ], [ ], ['HTTP_HOST' => 'example.com', 'HTTPS' => 'on', 'SERVER_PORT' => 443, 'PHP_AUTH_USER' => 'fabien', 'PHP_AUTH_PW' => 'pa$$', 'QUERY_STRING' => 'foo=bar', 'CONTENT_TYPE' => 'application/json', ])
/src/Symfony/Component/HttpFoundation/Tests/FileBagTest.php:1381$bag = new FileBag(['child' => ['name' => ['sub' => ['file' => basename($tmpFile)], ], 'type' => ['sub' => ['file' => 'text/plain'], ], 'tmp_name' => ['sub' => ['file' => $tmpFile], ], 'error' => ['sub' => ['file' => 0], ], 'size' => ['sub' => ['file' => null], ], ], ])
/src/Symfony/Component/HttpFoundation/Tests/FileBagTest.php:1091$bag = new FileBag(['child' => ['name' => ['file' => basename($tmpFile), ], 'type' => ['file' => 'text/plain', ], 'tmp_name' => ['file' => $tmpFile, ], 'error' => ['file' => 0, ], 'size' => ['file' => null, ], ], ])
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php:7471return (\ord($string[3]) << 24) + (\ord($string[2]) << 16) + (\ord($string[1]) << 8) + \ord($string[0])
/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php:551return [["$base/foo", "$base/foo", "$base/foo"], ["5;$base/foo", "5;$base/foo", "$base/foo"], ["5;0600;$base/foo", "5;0600;$base/foo", "$base/foo"], ]
/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/SessionHandlerFactoryTest.php:451return ['native file handler using save_path from php.ini' => ['connectionDSN' => 'file://', 'expectedPath' => \ini_get('session.save_path'), 'expectedHandlerType' => StrictSessionHandler::class], 'native file handler using provided save_path' => ['connectionDSN' => 'file://' . $base . '/session/storage', 'expectedPath' => $base . '/session/storage', 'expectedHandlerType' => StrictSessionHandler::class], ]
/src/Symfony/Component/HttpFoundation/Tests/AcceptHeaderTest.php:621return [[[ ], ''], [[new AcceptHeaderItem('gzip')], 'gzip'], [[new AcceptHeaderItem('gzip'), new AcceptHeaderItem('deflate'), new AcceptHeaderItem('sdch')], 'gzip,deflate,sdch'], [[new AcceptHeaderItem('this;should,not=matter')], 'this;should,not=matter'], ]
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php:8511$mergeSql = "MERGE INTO $this->table WITH (HOLDLOCK) USING (SELECT 1 AS dummy) AS src ON ($this->idCol = ?) " . "WHEN NOT MATCHED THEN INSERT ($this->idCol, $this->dataCol, $this->lifetimeCol, $this->timeCol) VALUES (?, ?, ?, ?) " . "WHEN MATCHED THEN UPDATE SET $this->dataCol = ?, $this->lifetimeCol = ?, $this->timeCol = ?;"
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php:8451$mergeSql = "INSERT INTO $this->table ($this->idCol, $this->dataCol, $this->lifetimeCol, $this->timeCol) VALUES (:id, :data, :expiry, :time) " . "ON DUPLICATE KEY UPDATE $this->dataCol = VALUES($this->dataCol), $this->lifetimeCol = VALUES($this->lifetimeCol), $this->timeCol = VALUES($this->timeCol)"
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php:7511$int2 = (\ord($string[3]) << 24) + (\ord($string[2]) << 16) + (\ord($string[1]) << 8) + \ord($string[0])
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php:7501$int1 = (\ord($string[7]) << 24) + (\ord($string[6]) << 16) + (\ord($string[5]) << 8) + \ord($string[4])
/src/Symfony/Component/Console/Application.php:10861return new InputDefinition([new InputArgument('command', InputArgument::REQUIRED, 'The command to execute'), new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display help for the given command. When no command is given display help for the <info>' . $this->defaultCommand . '</info> command'), new InputOption('--quiet', '-q', InputOption::VALUE_NONE, 'Do not output any message'), new InputOption('--verbose', '-v|vv|vvv', InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'), new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display this application version'), new InputOption('--ansi', '', InputOption::VALUE_NEGATABLE, 'Force (or disable --no-ansi) ANSI output', null), new InputOption('--no-interaction', '-n', InputOption::VALUE_NONE, 'Do not ask any interactive question'), ])
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MongoDbSessionHandler.php:1631$cursor = $this->manager->executeQuery($this->namespace, new Query([$this->options['id_field'] => $sessionId, $this->options['expiry_field'] => ['$gte' => $this->getUTCDateTime( )], ], ['projection' => ['_id' => false, $this->options['data_field'] => true, ], 'limit' => 1, ]))
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MongoDbSessionHandler.php:1231$fields = [$this->options['time_field'] => $this->getUTCDateTime( ), $this->options['expiry_field'] => $expiry, $this->options['data_field'] => new Binary($data, Binary::TYPE_GENERIC), ]
/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php:8591$mergeSql = "INSERT INTO $this->table ($this->idCol, $this->dataCol, $this->lifetimeCol, $this->timeCol) VALUES (:id, :data, :expiry, :time) " . "ON CONFLICT ($this->idCol) DO UPDATE SET ($this->dataCol, $this->lifetimeCol, $this->timeCol) = (EXCLUDED.$this->dataCol, EXCLUDED.$this->lifetimeCol, EXCLUDED.$this->timeCol)"
/src/Symfony/Component/Console/Tests/Logger/ConsoleLoggerTest.php:351return new ConsoleLogger($this->output, [LogLevel::EMERGENCY => OutputInterface::VERBOSITY_NORMAL, LogLevel::ALERT => OutputInterface::VERBOSITY_NORMAL, LogLevel::CRITICAL => OutputInterface::VERBOSITY_NORMAL, LogLevel::ERROR => OutputInterface::VERBOSITY_NORMAL, LogLevel::WARNING => OutputInterface::VERBOSITY_NORMAL, LogLevel::NOTICE => OutputInterface::VERBOSITY_NORMAL, LogLevel::INFO => OutputInterface::VERBOSITY_NORMAL, LogLevel::DEBUG => OutputInterface::VERBOSITY_NORMAL, ])
/src/Symfony/Component/Console/Tests/Logger/ConsoleLoggerTest.php:731return [[LogLevel::EMERGENCY, OutputInterface::VERBOSITY_NORMAL, true], [LogLevel::WARNING, OutputInterface::VERBOSITY_NORMAL, true], [LogLevel::INFO, OutputInterface::VERBOSITY_NORMAL, false], [LogLevel::DEBUG, OutputInterface::VERBOSITY_NORMAL, false], [LogLevel::INFO, OutputInterface::VERBOSITY_VERBOSE, false], [LogLevel::INFO, OutputInterface::VERBOSITY_VERY_VERBOSE, true], [LogLevel::DEBUG, OutputInterface::VERBOSITY_VERY_VERBOSE, false], [LogLevel::DEBUG, OutputInterface::VERBOSITY_DEBUG, true], [LogLevel::ALERT, OutputInterface::VERBOSITY_QUIET, false], [LogLevel::EMERGENCY, OutputInterface::VERBOSITY_QUIET, false], [LogLevel::ALERT, OutputInterface::VERBOSITY_QUIET, false, $quietMap], [LogLevel::EMERGENCY, OutputInterface::VERBOSITY_QUIET, true, $quietMap], ]
/src/Symfony/Component/Console/DataCollector/CommandDataCollector.php:391$this->data = ['command' => $this->cloneVar($command->command), 'exit_code' => $command->exitCode, 'interrupted_by_signal' => $command->interruptedBySignal, 'duration' => $command->duration, 'max_memory_usage' => $command->maxMemoryUsage, 'verbosity_level' => match ($command->output->getVerbosity( )) { /**/ } , 'interactive' => $command->isInteractive, 'validate_input' => !$command->ignoreValidation, 'enabled' => $command->isEnabled( ), 'visible' => !$command->isHidden( ), 'input' => $this->cloneVar($command->input), 'output' => $this->cloneVar($command->output), 'interactive_inputs' => array_map($this->cloneVar(...), $command->interactiveInputs), 'signalable' => $command->getSubscribedSignals( ), 'handled_signals' => $command->handledSignals, 'helper_set' => array_map($this->cloneVar(...), iterator_to_array($command->getHelperSet( ))), ]
/src/Symfony/Component/Console/Input/InputOption.php:2401return $option->getName( ) === $this->getName( ) && $option->getShortcut( ) === $this->getShortcut( ) && $option->getDefault( ) === $this->getDefault( ) && $option->isNegatable( ) === $this->isNegatable( ) && $option->isArray( ) === $this->isArray( ) && $option->isValueRequired( ) === $this->isValueRequired( ) && $option->isValueOptional( ) === $this->isValueOptional( )
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:2454$response = new JsonMockResponse(['ok' => true, 'result' => ['message_id' => 1, 'from' => ['id' => 12345678, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, 'text' => 'Hello from Bot!', ], ])
/src/Symfony/Component/Console/Tests/Input/ArgvInputTest.php:1911return [[['cli.php', '--foo'], [new InputOption('foo', null, InputOption::VALUE_NEGATABLE)], ['foo' => true], '->parse() parses long options without a value', ], [['cli.php', '--foo'], [new InputOption('foo', null, InputOption::VALUE_NONE | InputOption::VALUE_NEGATABLE)], ['foo' => true], '->parse() parses long options without a value', ], [['cli.php', '--no-foo'], [new InputOption('foo', null, InputOption::VALUE_NEGATABLE)], ['foo' => false], '->parse() parses long options without a value', ], [['cli.php', '--no-foo'], [new InputOption('foo', null, InputOption::VALUE_NONE | InputOption::VALUE_NEGATABLE)], ['foo' => false], '->parse() parses long options without a value', ], [['cli.php'], [new InputOption('foo', null, InputOption::VALUE_NEGATABLE)], ['foo' => null], '->parse() parses long options without a value', ], [['cli.php'], [new InputOption('foo', null, InputOption::VALUE_NONE | InputOption::VALUE_NEGATABLE)], ['foo' => null], '->parse() parses long options without a value', ], [['cli.php'], [new InputOption('foo', null, InputOption::VALUE_NEGATABLE, '', false)], ['foo' => false], '->parse() parses long options without a value', ], ]
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:2881return ['photo' => ['messageOptions' => (new TelegramOptions( ))->photo('https://localhost/photo.png')->hasSpoiler(true), 'endpoint' => 'sendPhoto', 'expectedBody' => ['photo' => 'https://localhost/photo.png', 'has_spoiler' => true, 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['photo' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'width' => 90, 'height' => 51, ], 'caption' => 'testMessage', ], ], 'video' => ['messageOptions' => (new TelegramOptions( ))->video('https://localhost/video.mp4'), 'endpoint' => 'sendVideo', 'expectedBody' => ['video' => 'https://localhost/video.mp4', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['video' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'width' => 90, 'height' => 51, ], 'caption' => 'testMessage', ], ], 'animation' => ['messageOptions' => (new TelegramOptions( ))->animation('https://localhost/animation.gif'), 'endpoint' => 'sendAnimation', 'expectedBody' => ['animation' => 'https://localhost/animation.gif', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['animation' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, ], 'caption' => 'testMessage', ], ], 'audio' => ['messageOptions' => (new TelegramOptions( ))->audio('https://localhost/audio.ogg'), 'endpoint' => 'sendAudio', 'expectedBody' => ['audio' => 'https://localhost/audio.ogg', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['audio' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, ], 'caption' => 'testMessage', ], ], 'document' => ['messageOptions' => (new TelegramOptions( ))->document('https://localhost/document.odt'), 'endpoint' => 'sendDocument', 'expectedBody' => ['document' => 'https://localhost/document.odt', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['document' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'file_name' => 'document.odt', 'mime_type' => 'application/vnd.oasis.opendocument.text', ], 'caption' => 'testMessage', ], ], 'sticker' => ['messageOptions' => (new TelegramOptions( ))->sticker('https://localhost/sticker.webp', '🤖'), 'endpoint' => 'sendSticker', 'expectedBody' => ['sticker' => 'https://localhost/sticker.webp', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'emoji' => '🤖', ], 'responseContent' => ['sticker' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'width' => 100, 'height' => 110, 'is_animated' => false, 'is_video' => false, 'emoji' => '🤖', ], 'caption' => 'testMessage', ], ], 'sticker-without-emoji' => ['messageOptions' => (new TelegramOptions( ))->sticker('https://localhost/sticker.webp'), 'endpoint' => 'sendSticker', 'expectedBody' => ['sticker' => 'https://localhost/sticker.webp', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', ], 'responseContent' => ['sticker' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'width' => 100, 'height' => 110, 'is_animated' => false, 'is_video' => false, ], 'caption' => 'testMessage', ], ], ]
/src/Symfony/Component/Console/Tests/Input/ArgvInputTest.php:2611return [[['cli.php', '--foo'], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_REQUIRED)]), 'The "--foo" option requires a value.', ], [['cli.php', '-f'], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_REQUIRED)]), 'The "--foo" option requires a value.', ], [['cli.php', '-ffoo'], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_NONE)]), 'The "-o" option does not exist.', ], [['cli.php', '--foo=bar'], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_NONE)]), 'The "--foo" option does not accept a value.', ], [['cli.php', 'foo', 'bar'], new InputDefinition( ), 'No arguments expected, got "foo".', ], [['cli.php', 'foo', 'bar'], new InputDefinition([new InputArgument('number')]), 'Too many arguments, expected arguments "number".', ], [['cli.php', 'foo', 'bar', 'zzz'], new InputDefinition([new InputArgument('number'), new InputArgument('county')]), 'Too many arguments, expected arguments "number" "county".', ], [['cli.php', '--foo'], new InputDefinition( ), 'The "--foo" option does not exist.', ], [['cli.php', '-f'], new InputDefinition( ), 'The "-f" option does not exist.', ], [['cli.php', '-1'], new InputDefinition([new InputArgument('number')]), 'The "-1" option does not exist.', ], [['cli.php', '-fЩ'], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_NONE)]), 'The "-Щ" option does not exist.', ], [['cli.php', 'acme:foo', 'bar'], new InputDefinition([new InputArgument('command', InputArgument::REQUIRED)]), 'No arguments expected for "acme:foo" command, got "bar"', ], [['cli.php', 'acme:foo', 'bar'], new InputDefinition([new InputArgument('name', InputArgument::REQUIRED)]), 'Too many arguments, expected arguments "name".', ], ]
/src/Symfony/Component/Console/Tests/Logger/ConsoleLoggerTest.php:1692$context = ['bool' => true, 'null' => null, 'string' => 'Foo', 'int' => 0, 'float' => 0.5, 'nested' => ['with object' => new DummyTest( )], 'object' => new \DateTimeImmutable( ), 'resource' => fopen('php://memory', 'r'), ]
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:1994$response = new JsonMockResponse(['ok' => true, 'result' => ['message_id' => 1, 'from' => ['id' => 12345678, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, 'text' => 'Hello from Bot!', ], ])
/src/Symfony/Component/Console/Tests/Input/ArgvInputTest.php:651return [[['cli.php', '--foo'], [new InputOption('foo')], ['foo' => true], '->parse() parses long options without a value', ], [['cli.php', '--foo=bar'], [new InputOption('foo', 'f', InputOption::VALUE_REQUIRED)], ['foo' => 'bar'], '->parse() parses long options with a required value (with a = separator)', ], [['cli.php', '--foo', 'bar'], [new InputOption('foo', 'f', InputOption::VALUE_REQUIRED)], ['foo' => 'bar'], '->parse() parses long options with a required value (with a space separator)', ], [['cli.php', '--foo='], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL)], ['foo' => ''], '->parse() parses long options with optional value which is empty (with a = separator) as empty string', ], [['cli.php', '--foo=', 'bar'], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL), new InputArgument('name', InputArgument::REQUIRED)], ['foo' => ''], '->parse() parses long options with optional value without value specified or an empty string (with a = separator) followed by an argument as empty string', ], [['cli.php', 'bar', '--foo'], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL), new InputArgument('name', InputArgument::REQUIRED)], ['foo' => null], '->parse() parses long options with optional value which is empty (with a = separator) preceded by an argument', ], [['cli.php', '--foo', '', 'bar'], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL), new InputArgument('name', InputArgument::REQUIRED)], ['foo' => ''], '->parse() parses long options with optional value which is empty as empty string even followed by an argument', ], [['cli.php', '--foo'], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL)], ['foo' => null], '->parse() parses long options with optional value specified with no separator and no value as null', ], [['cli.php', '-f'], [new InputOption('foo', 'f')], ['foo' => true], '->parse() parses short options without a value', ], [['cli.php', '-fbar'], [new InputOption('foo', 'f', InputOption::VALUE_REQUIRED)], ['foo' => 'bar'], '->parse() parses short options with a required value (with no separator)', ], [['cli.php', '-f', 'bar'], [new InputOption('foo', 'f', InputOption::VALUE_REQUIRED)], ['foo' => 'bar'], '->parse() parses short options with a required value (with a space separator)', ], [['cli.php', '-f', ''], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL)], ['foo' => ''], '->parse() parses short options with an optional empty value', ], [['cli.php', '-f', '', 'foo'], [new InputArgument('name'), new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL)], ['foo' => ''], '->parse() parses short options with an optional empty value followed by an argument', ], [['cli.php', '-f', '', '-b'], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL), new InputOption('bar', 'b')], ['foo' => '', 'bar' => true], '->parse() parses short options with an optional empty value followed by an option', ], [['cli.php', '-f', '-b', 'foo'], [new InputArgument('name'), new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL), new InputOption('bar', 'b')], ['foo' => null, 'bar' => true], '->parse() parses short options with an optional value which is not present', ], [['cli.php', '-fb'], [new InputOption('foo', 'f'), new InputOption('bar', 'b')], ['foo' => true, 'bar' => true], '->parse() parses short options when they are aggregated as a single one', ], [['cli.php', '-fb', 'bar'], [new InputOption('foo', 'f'), new InputOption('bar', 'b', InputOption::VALUE_REQUIRED)], ['foo' => true, 'bar' => 'bar'], '->parse() parses short options when they are aggregated as a single one and the last one has a required value', ], [['cli.php', '-fb', 'bar'], [new InputOption('foo', 'f'), new InputOption('bar', 'b', InputOption::VALUE_OPTIONAL)], ['foo' => true, 'bar' => 'bar'], '->parse() parses short options when they are aggregated as a single one and the last one has an optional value', ], [['cli.php', '-fbbar'], [new InputOption('foo', 'f'), new InputOption('bar', 'b', InputOption::VALUE_OPTIONAL)], ['foo' => true, 'bar' => 'bar'], '->parse() parses short options when they are aggregated as a single one and the last one has an optional value with no separator', ], [['cli.php', '-fbbar'], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL), new InputOption('bar', 'b', InputOption::VALUE_OPTIONAL)], ['foo' => 'bbar', 'bar' => null], '->parse() parses short options when they are aggregated as a single one and one of them takes a value', ], ]
/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php:3411$definition = new InputDefinition([new InputOption('foo1', null, InputOption::VALUE_NONE), new InputOption('foo2', null, InputOption::VALUE_REQUIRED), new InputOption('foo3', null, InputOption::VALUE_REQUIRED, '', 'default'), new InputOption('foo4', null, InputOption::VALUE_OPTIONAL), new InputOption('foo5', null, InputOption::VALUE_OPTIONAL, '', 'default'), new InputOption('foo6', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY), new InputOption('foo7', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, '', [1, 2]), ])
/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php:3721return [[new InputDefinition([new InputOption('foo')]), '[--foo]', 'puts optional options in square brackets'], [new InputDefinition([new InputOption('foo', 'f')]), '[-f|--foo]', 'separates shortcut with a pipe'], [new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_REQUIRED)]), '[-f|--foo FOO]', 'uses shortcut as value placeholder'], [new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL)]), '[-f|--foo [FOO]]', 'puts optional values in square brackets'], [new InputDefinition([new InputArgument('foo', InputArgument::REQUIRED)]), '<foo>', 'puts arguments in angle brackets'], [new InputDefinition([new InputArgument('foo')]), '[<foo>]', 'puts optional arguments in square brackets'], [new InputDefinition([new InputArgument('foo'), new InputArgument('bar')]), '[<foo> [<bar>]]', 'chains optional arguments inside brackets'], [new InputDefinition([new InputArgument('foo', InputArgument::IS_ARRAY)]), '[<foo>...]', 'uses an ellipsis for array arguments'], [new InputDefinition([new InputArgument('foo', InputArgument::REQUIRED | InputArgument::IS_ARRAY)]), '<foo>...', 'uses an ellipsis for required array arguments'], [new InputDefinition([new InputOption('foo'), new InputArgument('foo', InputArgument::REQUIRED)]), '[--foo] [--] <foo>', 'puts [--] between options and arguments'], ]
/src/Symfony/Component/Console/Tests/Input/ArgvInputTest.php:3321return [[['cli.php', '--no-foo=bar'], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_NEGATABLE)]), 'The "--no-foo" option does not accept a value.', ], [['cli.php', '--no-foo='], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_NEGATABLE)]), 'The "--no-foo" option does not accept a value.', ], [['cli.php', '--no-foo=bar'], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_NONE | InputOption::VALUE_NEGATABLE)]), 'The "--no-foo" option does not accept a value.', ], [['cli.php', '--no-foo='], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_NONE | InputOption::VALUE_NEGATABLE)]), 'The "--no-foo" option does not accept a value.', ], ]
/src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php:1781$definition = new InputDefinition([new InputArgument('foo1', InputArgument::OPTIONAL), new InputArgument('foo2', InputArgument::OPTIONAL, '', 'default'), new InputArgument('foo3', InputArgument::OPTIONAL | InputArgument::IS_ARRAY), ])
/src/Symfony/Component/Console/Tests/Completion/CompletionInputTest.php:271$definition = new InputDefinition([new InputOption('with-required-value', 'r', InputOption::VALUE_REQUIRED), new InputOption('with-optional-value', 'o', InputOption::VALUE_OPTIONAL), new InputOption('without-value', 'n', InputOption::VALUE_NONE), new InputArgument('required-arg', InputArgument::REQUIRED), new InputArgument('optional-arg', InputArgument::OPTIONAL), ])
/src/Symfony/Component/Console/Tests/Question/QuestionTest.php:1091return ['array' => [['a', 'b', 'c', 'd'], ['a', 'b', 'c', 'd'], ], 'associative array' => [['a' => 'c', 'b' => 'd'], ['a', 'b', 'c', 'd'], ], 'iterator' => [new \ArrayIterator(['a', 'b', 'c', 'd']), ['a', 'b', 'c', 'd'], ], 'null' => [null, null], ]
/src/Symfony/Component/Console/Tests/Input/ArrayInputTest.php:791return [[['--foo' => 'bar'], [new InputOption('foo')], ['foo' => 'bar'], '->parse() parses long options', ], [['--foo' => 'bar'], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL, '', 'default')], ['foo' => 'bar'], '->parse() parses long options with a default value', ], [[ ], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL, '', 'default')], ['foo' => 'default'], '->parse() uses the default value for long options with value optional which are not passed', ], [['--foo' => null], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL, '', 'default')], ['foo' => null], '->parse() parses long options with a default value', ], [['-f' => 'bar'], [new InputOption('foo', 'f')], ['foo' => 'bar'], '->parse() parses short options', ], [['--' => null, '-f' => 'bar'], [new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL, '', 'default')], ['foo' => 'default'], '->parse() does not parse opts after an end of options signal', ], [['--' => null], [ ], [ ], '->parse() does not choke on end of options signal', ], ]
/src/Symfony/Component/Console/Tests/Input/ArrayInputTest.php:1381return [[['foo' => 'foo'], new InputDefinition([new InputArgument('name')]), 'The "foo" argument does not exist.', ], [['--foo' => null], new InputDefinition([new InputOption('foo', 'f', InputOption::VALUE_REQUIRED)]), 'The "--foo" option requires a value.', ], [['--foo' => 'foo'], new InputDefinition( ), 'The "--foo" option does not exist.', ], [['-o' => 'foo'], new InputDefinition( ), 'The "-o" option does not exist.', ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:6881$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'preferred_choices' => ['&a', '&b'], 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/JsonDescriptor.php:2501$data = ['class' => (string) $definition->getClass( ), 'public' => $definition->isPublic( ) && !$definition->isPrivate( ), 'synthetic' => $definition->isSynthetic( ), 'lazy' => $definition->isLazy( ), 'shared' => $definition->isShared( ), 'abstract' => $definition->isAbstract( ), 'autowire' => $definition->isAutowired( ), 'autoconfigure' => $definition->isAutoconfigured( ), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:7531$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'required' => false, 'placeholder' => 'Select&Anything&Not&Me', ])
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/MarkdownDescriptor.php:511$output = '- Path: ' . $route->getPath( ) . "\n" . '- Path Regex: ' . $route->compile( )->getRegex( ) . "\n" . '- Host: ' . ('' !== $route->getHost( ) ? $route->getHost( ) : 'ANY') . "\n" . '- Host Regex: ' . ('' !== $route->getHost( ) ? $route->compile( )->getHostRegex( ) : '') . "\n" . '- Scheme: ' . ($route->getSchemes( ) ? implode('|', $route->getSchemes( )) : 'ANY') . "\n" . '- Method: ' . ($route->getMethods( ) ? implode('|', $route->getMethods( )) : 'ANY') . "\n" . '- Class: ' . $route::class . "\n" . '- Defaults: ' . $this->formatRouterConfig($route->getDefaults( )) . "\n" . '- Requirements: ' . ($route->getRequirements( ) ? $this->formatRouterConfig($route->getRequirements( )) : 'NO CUSTOM') . "\n" . '- Options: ' . $this->formatRouterConfig($route->getOptions( ))
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:7781$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'required' => true, 'multiple' => false, 'expanded' => false, 'placeholder' => 'Test&Me', ])
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/MarkdownDescriptor.php:2171$output .= '- Class: `' . $definition->getClass( ) . '`' . "\n" . '- Public: ' . ($definition->isPublic( ) && !$definition->isPrivate( ) ? 'yes' : 'no') . "\n" . '- Synthetic: ' . ($definition->isSynthetic( ) ? 'yes' : 'no') . "\n" . '- Lazy: ' . ($definition->isLazy( ) ? 'yes' : 'no') . "\n" . '- Shared: ' . ($definition->isShared( ) ? 'yes' : 'no') . "\n" . '- Abstract: ' . ($definition->isAbstract( ) ? 'yes' : 'no') . "\n" . '- Autowired: ' . ($definition->isAutowired( ) ? 'yes' : 'no') . "\n" . '- Autoconfigured: ' . ($definition->isAutoconfigured( ) ? 'yes' : 'no')
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:8271$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Group&1' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'Group&2' => ['Choice&C' => '&c'], ], 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bundle/WebProfilerBundle/Tests/Csp/ContentSecurityPolicyHandlerTest.php:681return [[$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse( )], [$nonce, ['csp_script_nonce' => $requestScriptNonce, 'csp_style_nonce' => $requestStyleNonce], self::createRequest($requestNonceHeaders), self::createResponse($responseNonceHeaders)], [$nonce, ['csp_script_nonce' => $requestScriptNonce, 'csp_style_nonce' => $requestStyleNonce], self::createRequest($requestNonceHeaders), self::createResponse( )], [$nonce, ['csp_script_nonce' => $responseScriptNonce, 'csp_style_nonce' => $responseStyleNonce], self::createRequest( ), self::createResponse($responseNonceHeaders)], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:3582$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'attr' => ['class' => 'bar&baz'], ])
/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php:1691$configuratorClass = $configureContainer->getNumberOfParameters( ) > 0 && ($type = $configureContainer->getParameters( )[0]->getType( )) instanceof \ReflectionNamedType && !$type->isBuiltin( ) ? $type->getName( ) : null
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:5151$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'required' => false, 'translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', ])
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php:651$row = [$name, $route->getMethods( ) ? implode('|', $route->getMethods( )) : 'ANY', $route->getSchemes( ) ? implode('|', $route->getSchemes( )) : 'ANY', '' !== $route->getHost( ) ? $route->getHost( ) : 'ANY', $this->formatControllerLink($controller, $route->getPath( ), $options['container'] ?? null), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:5411$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php:1011$tableRows = [['Route Name', $options['name'] ?? ''], ['Path', $route->getPath( )], ['Path Regex', $route->compile( )->getRegex( )], ['Host', '' !== $route->getHost( ) ? $route->getHost( ) : 'ANY'], ['Host Regex', '' !== $route->getHost( ) ? $route->compile( )->getHostRegex( ) : ''], ['Scheme', $route->getSchemes( ) ? implode('|', $route->getSchemes( )) : 'ANY'], ['Method', $route->getMethods( ) ? implode('|', $route->getMethods( )) : 'ANY'], ['Requirements', $route->getRequirements( ) ? $this->formatRouterConfig($route->getRequirements( )) : 'NO CUSTOM'], ['Class', $route::class], ['Defaults', $this->formatRouterConfig($defaults)], ['Options', $this->formatRouterConfig($route->getOptions( ))], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:5891$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'preferred_choices' => ['&b'], 'duplicate_preferred_choices' => false, 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/JsonDescriptor.php:2111$data = ['path' => $route->getPath( ), 'pathRegex' => $route->compile( )->getRegex( ), 'host' => '' !== $route->getHost( ) ? $route->getHost( ) : 'ANY', 'hostRegex' => '' !== $route->getHost( ) ? $route->compile( )->getHostRegex( ) : '', 'scheme' => $route->getSchemes( ) ? implode('|', $route->getSchemes( )) : 'ANY', 'method' => $route->getMethods( ) ? implode('|', $route->getMethods( )) : 'ANY', 'class' => $route::class, 'defaults' => $route->getDefaults( ), 'requirements' => $route->getRequirements( ) ?: 'NO CUSTOM', 'options' => $route->getOptions( ), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:13772$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'choice_label' => function ($choice, $label, $value) { /**/ } , 'multiple' => true, 'expanded' => true, ])
/src/Symfony/Bundle/FrameworkBundle/Command/AboutCommand.php:601$rows = [['<info>Symfony</>'], new TableSeparator( ), ['Version', Kernel::VERSION], ['Long-Term Support', 4 === Kernel::MINOR_VERSION ? 'Yes' : 'No'], ['End of maintenance', Kernel::END_OF_MAINTENANCE . (self::isExpired(Kernel::END_OF_MAINTENANCE) ? ' <error>Expired</>' : ' (<comment>' . self::daysBeforeExpiration(Kernel::END_OF_MAINTENANCE) . '</>)')], ['End of life', Kernel::END_OF_LIFE . (self::isExpired(Kernel::END_OF_LIFE) ? ' <error>Expired</>' : ' (<comment>' . self::daysBeforeExpiration(Kernel::END_OF_LIFE) . '</>)')], new TableSeparator( ), ['<info>Kernel</>'], new TableSeparator( ), ['Type', $kernel::class], ['Environment', $kernel->getEnvironment( )], ['Debug', $kernel->isDebug( ) ? 'true' : 'false'], ['Charset', $kernel->getCharset( )], ['Cache directory', self::formatPath($kernel->getCacheDir( ), $kernel->getProjectDir( )) . ' (<comment>' . self::formatFileSize($kernel->getCacheDir( )) . '</>)'], ['Build directory', self::formatPath($buildDir, $kernel->getProjectDir( )) . ' (<comment>' . self::formatFileSize($buildDir) . '</>)'], ['Log directory', self::formatPath($kernel->getLogDir( ), $kernel->getProjectDir( )) . ' (<comment>' . self::formatFileSize($kernel->getLogDir( )) . '</>)'], new TableSeparator( ), ['<info>PHP</>'], new TableSeparator( ), ['Version', \PHP_VERSION], ['Architecture', (\PHP_INT_SIZE * 8) . ' bits'], ['Intl locale', class_exists(\Locale::class, false) && \Locale::getDefault( ) ? \Locale::getDefault( ) : 'n/a'], ['Timezone', date_default_timezone_get( ) . ' (<comment>' . (new \DateTimeImmutable( ))->format(\DateTimeInterface::W3C) . '</>)'], ['OPcache', \extension_loaded('Zend OPcache') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOL) ? 'true' : 'false'], ['APCu', \extension_loaded('apcu') && filter_var(\ini_get('apc.enabled'), \FILTER_VALIDATE_BOOL) ? 'true' : 'false'], ['Xdebug', \extension_loaded('xdebug') ? 'true' : 'false'], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:14612$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'multiple' => true, 'expanded' => true, 'required' => true, 'choice_translation_domain' => false, ])
/src/Symfony/Bundle/FrameworkBundle/Routing/RedirectableCompiledUrlMatcher.php:261return ['_controller' => 'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction', 'path' => $path, 'permanent' => true, 'scheme' => $scheme, 'httpPort' => $this->context->getHttpPort( ), 'httpsPort' => $this->context->getHttpsPort( ), '_route' => $route, ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:15072$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => true, 'expanded' => true, 'required' => true, ])
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php:19901return $root->arrayNode('retry_failed')->fixXmlConfig('http_code')->canBeEnabled( )->addDefaultsIfNotSet( )->beforeNormalization( )->always(function ($v) { /**/ } )->end( )->children( )->scalarNode('retry_strategy')->defaultNull( )->info('service id to override the retry strategy')->end( )->arrayNode('http_codes')->performNoDeepMerging( )->beforeNormalization( )->ifArray( )->then(static function ($v) { /**/ } )->end( )->useAttributeAsKey('code')->arrayPrototype( )->fixXmlConfig('method')->children( )->integerNode('code')->end( )->arrayNode('methods')->beforeNormalization( )->ifArray( )->then(fn ($v) => array_map('strtoupper', $v))->end( )->prototype('scalar')->end( )->info('A list of HTTP methods that triggers a retry for this status code. When empty, all methods are retried')->end( )->end( )->end( )->info('A list of HTTP status code that triggers a retry')->end( )->integerNode('max_retries')->defaultValue(3)->min(0)->end( )->integerNode('delay')->defaultValue(1000)->min(0)->info('Time in ms to delay (or the initial value when multiplier is used)')->end( )->floatNode('multiplier')->defaultValue(2)->min(1)->info('If greater than 1, delay will grow exponentially for each retry: delay * (multiple ^ retries)')->end( )->integerNode('max_delay')->defaultValue(0)->min(0)->info('Max time in ms that a retry should ever be delayed (0 = infinite)')->end( )->floatNode('jitter')->defaultValue(0.1)->min(0)->max(1)->info('Randomness in percent (between 0 and 1) to apply to the delay')->end( )->end( )
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:27912$form = $this->factory->createNamed('text', 'Symfony\Component\Form\Extension\Core\Type\TextType', 'value', ['required' => true, 'disabled' => true, 'attr' => ['readonly' => true, 'maxlength' => 10, 'pattern' => '\d+', 'class' => 'foobar', 'data-foo' => 'bar'], ])
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php:21771$transportDefinition = (new Definition(TransportInterface::class))->setFactory([new Reference('messenger.transport_factory'), 'createTransport'])->setArguments([$transport['dsn'], $transport['options'] + ['transport_name' => $name], new Reference($serializerId)])->addTag('messenger.receiver', ['alias' => $name, 'is_failure_transport' => \in_array($name, $failureTransports), ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:11342$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => false, 'expanded' => true, ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/ObjectsProvider.php:1541return ['definition_1' => $definition1->setPublic(true)->setSynthetic(false)->setLazy(true)->setAbstract(true)->addArgument(new Reference('.definition_2'))->addArgument('%parameter%')->addArgument(new Definition('inline_service', ['arg1', 'arg2']))->addArgument(['foo', new Reference('.definition_2'), new Definition('inline_service'), ])->addArgument(new IteratorArgument([new Reference('definition_1'), new Reference('.definition_2'), ]))->addArgument(new AbstractArgument('placeholder'))->setFactory(['Full\\Qualified\\FactoryClass', 'get']), '.definition_2' => $definition2->setPublic(false)->setSynthetic(true)->setFile('/path/to/file')->setLazy(false)->setAbstract(false)->addTag('tag1', ['attr1' => 'val1', 'attr2' => 'val2'])->addTag('tag1', ['attr3' => 'val3'])->addTag('tag2')->addTag('tag3', ['array_attr' => ['foo', 'bar', [[[['ccc']]]]]])->addMethodCall('setMailer', [new Reference('mailer')])->setFactory([new Reference('factory.service'), 'get']), '.definition_3' => $definition3->setFile('/path/to/file')->setFactory([new Definition('Full\\Qualified\\FactoryClass'), 'get']), 'definition_without_class' => new Definition( ), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:11702$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'placeholder' => 'Test&Me', 'required' => false, ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/ObjectsProvider.php:2081return ['definition_1' => $definition1->setPublic(true)->setSynthetic(true)->setFile('/path/to/file')->setLazy(false)->setAbstract(false)->addTag('tag1', ['attr1' => 'val1', 'priority' => 30])->addTag('tag1', ['attr2' => 'val2'])->addTag('tag2')->addMethodCall('setMailer', [new Reference('mailer')])->setFactory([new Reference('factory.service'), 'get']), 'definition_2' => $definition2->setPublic(true)->setSynthetic(true)->setFile('/path/to/file')->setLazy(false)->setAbstract(false)->addTag('tag1', ['attr1' => 'val1', 'attr2' => 'val2', 'priority' => -20]), 'definition_3' => $definition3->setPublic(true)->setSynthetic(true)->setFile('/path/to/file')->setLazy(false)->setAbstract(false)->addTag('tag1', ['attr1' => 'val1', 'attr2' => 'val2', 'priority' => 0])->addTag('tag1', ['attr3' => 'val3', 'priority' => 40]), 'definition_4' => $definition4->setPublic(true)->setSynthetic(true)->setFile('/path/to/file')->setLazy(false)->setAbstract(false)->addTag('tag1', ['priority' => 0]), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:12162$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'required' => false, 'choice_translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/ObjectsProvider.php:2661return ['callable_1' => 'array_key_exists', 'callable_2' => ['Symfony\\Bundle\\FrameworkBundle\\Tests\\Console\\Descriptor\\CallableClass', 'staticMethod'], 'callable_3' => [new CallableClass( ), 'method'], 'callable_4' => 'Symfony\\Bundle\\FrameworkBundle\\Tests\\Console\\Descriptor\\CallableClass::staticMethod', 'callable_6' => fn ( ) => 'Closure', 'callable_7' => new CallableClass( ), 'callable_from_callable' => (new CallableClass( ))(...), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:12982$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'multiple' => true, 'expanded' => true, 'required' => true, ])
/src/Symfony/Bundle/FrameworkBundle/Controller/RedirectController.php:1821return $this->urlRedirectAction($request, $p['path'], $p['permanent'] ?? false, $p['scheme'] ?? null, $p['httpPort'] ?? null, $p['httpsPort'] ?? null, $p['keepRequestMethod'] ?? false)
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:7702$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'required' => true, 'multiple' => false, 'expanded' => false, 'placeholder' => 'Test&Me', ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:7452$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'required' => false, 'placeholder' => 'Select&Anything&Not&Me', ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:8742$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'required' => true, 'multiple' => true, 'expanded' => false, ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:8192$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Group&1' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'Group&2' => ['Choice&C' => '&c'], ], 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:5072$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'required' => false, 'translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', ])
/src/Symfony/Bundle/WebProfilerBundle/Twig/WebProfilerExtension.php:601return [new TwigFunction('profiler_dump', $this->dumpData(...), ['is_safe' => ['html'], 'needs_environment' => true]), new TwigFunction('profiler_dump_log', $this->dumpLog(...), ['is_safe' => ['html'], 'needs_environment' => true]), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:4282$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'attr' => ['class' => 'bar&baz'], ])
/src/Symfony/Bundle/WebProfilerBundle/Profiler/CodeExtension.php:411return [new TwigFilter('abbr_class', $this->abbrClass(...), ['is_safe' => ['html'], 'pre_escape' => 'html']), new TwigFilter('abbr_method', $this->abbrMethod(...), ['is_safe' => ['html'], 'pre_escape' => 'html']), new TwigFilter('format_args', $this->formatArgs(...), ['is_safe' => ['html']]), new TwigFilter('format_args_as_text', $this->formatArgsAsText(...)), new TwigFilter('file_excerpt', $this->fileExcerpt(...), ['is_safe' => ['html']]), new TwigFilter('format_file', $this->formatFile(...), ['is_safe' => ['html']]), new TwigFilter('format_file_from_text', $this->formatFileFromText(...), ['is_safe' => ['html']]), new TwigFilter('format_log_message', $this->formatLogMessage(...), ['is_safe' => ['html']]), new TwigFilter('file_link', $this->getFileLink(...)), new TwigFilter('file_relative', $this->getFileRelative(...)), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:5811$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'preferred_choices' => ['&b'], 'duplicate_preferred_choices' => false, 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:5332$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bundle/WebProfilerBundle/EventListener/WebDebugToolbarListener.php:1431$toolbar = "\n" . str_replace("\n", '', $this->twig->render('@WebProfiler/Profiler/toolbar_js.html.twig', ['full_stack' => class_exists(FullStack::class), 'excluded_ajax_paths' => $this->excludedAjaxPaths, 'token' => $response->headers->get('X-Debug-Token'), 'request' => $request, 'csp_script_nonce' => $nonces['csp_script_nonce'] ?? null, 'csp_style_nonce' => $nonces['csp_style_nonce'] ?? null, ])) . "\n"
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:25471$view = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add('firstName', 'Symfony\Component\Form\Extension\Core\Type\TextType', ['attr' => ['title' => 'Foo']])->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType', ['attr' => ['placeholder' => 'Bar']])->getForm( )->createView( )
/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:2841return new RedirectResponse($this->generator->generate('_profiler_search_results', ['token' => $tokens ? $tokens[0]['token'] : 'empty', 'ip' => $ip, 'method' => $method, 'status_code' => $statusCode, 'url' => $url, 'start' => $start, 'end' => $end, 'limit' => $limit, 'type' => $profileType, ]), 302, ['Content-Type' => 'text/html'])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:24422$form = $this->factory->createNamed('text', 'Symfony\Component\Form\Extension\Core\Type\TextType', 'value', ['required' => true, 'disabled' => true, 'attr' => ['readonly' => true, 'maxlength' => 10, 'pattern' => '\d+', 'class' => 'foobar', 'data-foo' => 'bar'], ])
/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:2281return $this->renderWithCspNonces($request, '@WebProfiler/Profiler/results.html.twig', ['request' => $request, 'token' => $token, 'profile' => $profile, 'tokens' => $this->profiler->find($ip, $url, $limit, $method, $start, $end, $statusCode, fn ($profile) => $profileType === $profile['virtual_type']), 'ip' => $ip, 'method' => $method, 'status_code' => $statusCode, 'url' => $url, 'start' => $start, 'end' => $end, 'limit' => $limit, 'panel' => null, 'profile_type' => $profileType, ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php:4052$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'attr' => ['class' => 'bar&baz'], ])
/src/Symfony/Bundle/WebProfilerBundle/Controller/RouterController.php:861$traceRequest = Request::create($request->getPathInfo( ), $request->getRequestServer(true)->get('REQUEST_METHOD'), \in_array($request->getMethod( ), ['DELETE', 'PATCH', 'POST', 'PUT'], true) ? $request->getRequestRequest( )->all( ) : $request->getRequestQuery( )->all( ), $request->getRequestCookies(true)->all( ), [ ], $request->getRequestServer(true)->all( ))
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:25611$view = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType', null, ['translation_domain' => false, ])->add('firstName', 'Symfony\Component\Form\Extension\Core\Type\TextType', ['attr' => ['title' => 'Foo']])->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType', ['attr' => ['placeholder' => 'Bar']])->getForm( )->createView( )
/src/Symfony/Bundle/WebProfilerBundle/Controller/RouterController.php:741return new Response($this->twig->render('@WebProfiler/Router/panel.html.twig', ['request' => $request, 'router' => $profile->getCollector('router'), 'traces' => $this->getTraces($request, $profile->getMethod( )), ]), 200, ['Content-Type' => 'text/html'])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:11832$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'multiple' => true, 'expanded' => true, 'required' => true, 'choice_translation_domain' => false, ])
/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:1111return $this->renderWithCspNonces($request, $this->getTemplateManager( )->getName($profile, $panel), ['token' => $token, 'profile' => $profile, 'collector' => $profile->getCollector($panel), 'panel' => $panel, 'page' => $page, 'request' => $request, 'templates' => $this->getTemplateManager( )->getNames($profile), 'is_ajax' => $request->isXmlHttpRequest( ), 'profiler_markup_version' => 3, 'profile_type' => $profileType, ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:11582$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'multiple' => true, 'expanded' => true, 'required' => true, ])
/src/Symfony/Bundle/WebProfilerBundle/Tests/Csp/ContentSecurityPolicyHandlerTest.php:951return [[$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse( ), ['Content-Security-Policy' => null, 'Content-Security-Policy-Report-Only' => null, 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $requestScriptNonce, 'csp_style_nonce' => $requestStyleNonce], self::createRequest($requestNonceHeaders), self::createResponse($responseNonceHeaders), ['Content-Security-Policy' => null, 'Content-Security-Policy-Report-Only' => null, 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $requestScriptNonce, 'csp_style_nonce' => $requestStyleNonce], self::createRequest($requestNonceHeaders), self::createResponse( ), ['Content-Security-Policy' => null, 'Content-Security-Policy-Report-Only' => null, 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $responseScriptNonce, 'csp_style_nonce' => $responseStyleNonce], self::createRequest( ), self::createResponse($responseNonceHeaders), ['Content-Security-Policy' => null, 'Content-Security-Policy-Report-Only' => null, 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['Content-Security-Policy' => 'frame-ancestors https: ; form-action: https:', 'Content-Security-Policy-Report-Only' => 'frame-ancestors http: ; form-action: http:']), ['Content-Security-Policy' => 'frame-ancestors https: ; form-action: https:', 'Content-Security-Policy-Report-Only' => 'frame-ancestors http: ; form-action: http:', 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['Content-Security-Policy' => 'default-src \'self\' domain.com; script-src \'self\' \'unsafe-inline\'', 'Content-Security-Policy-Report-Only' => 'default-src \'self\' domain-report-only.com; script-src \'self\' \'unsafe-inline\'']), ['Content-Security-Policy' => 'default-src \'self\' domain.com; script-src \'self\' \'unsafe-inline\'; style-src \'self\' domain.com \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'Content-Security-Policy-Report-Only' => 'default-src \'self\' domain-report-only.com; script-src \'self\' \'unsafe-inline\'; style-src \'self\' domain-report-only.com \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['Content-Security-Policy' => 'default-src \'self\' domain.com; script-src \'self\' \'unsafe-inline\'; script-src-elem \'self\'; style-src \'self\' \'unsafe-inline\'; style-src-elem \'self\'', 'Content-Security-Policy-Report-Only' => 'default-src \'self\' domain-report-only.com; script-src \'self\' \'unsafe-inline\'; script-src-elem \'self\'; style-src \'self\' \'unsafe-inline\'; style-src-elem \'self\'']), ['Content-Security-Policy' => 'default-src \'self\' domain.com; script-src \'self\' \'unsafe-inline\'; script-src-elem \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'; style-src \'self\' \'unsafe-inline\'; style-src-elem \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'Content-Security-Policy-Report-Only' => 'default-src \'self\' domain-report-only.com; script-src \'self\' \'unsafe-inline\'; script-src-elem \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'; style-src \'self\' \'unsafe-inline\'; style-src-elem \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['Content-Security-Policy' => 'default-src \'none\'', 'Content-Security-Policy-Report-Only' => 'default-src \'none\'']), ['Content-Security-Policy' => 'default-src \'none\'; script-src \'unsafe-inline\' \'nonce-' . $nonce . '\'; style-src \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'Content-Security-Policy-Report-Only' => 'default-src \'none\'; script-src \'unsafe-inline\' \'nonce-' . $nonce . '\'; style-src \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\'']), ['Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\'', 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['Content-Security-Policy' => 'script-src \'self\'; style-src \'self\'']), ['Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'; style-src \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'X-Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['X-Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\'']), ['X-Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\'', 'Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['X-Content-Security-Policy' => 'script-src \'self\'']), ['X-Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['X-Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\' \'sha384-LALALALALAAL\'']), ['X-Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\' \'sha384-LALALALALAAL\' \'nonce-' . $nonce . '\'', 'Content-Security-Policy' => null], ], [$nonce, ['csp_script_nonce' => $nonce, 'csp_style_nonce' => $nonce], self::createRequest( ), self::createResponse(['Content-Security-Policy' => 'script-src \'self\'; style-src \'self\'', 'X-Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\'; style-src \'self\'']), ['Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'; style-src \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\'', 'X-Content-Security-Policy' => 'script-src \'self\' \'unsafe-inline\'; style-src \'self\' \'unsafe-inline\' \'nonce-' . $nonce . '\''], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:22971$form = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType', ['items' => ['one', 'two', 'three']])->add('items', 'Symfony\Component\Form\Extension\Core\Type\CollectionType', ['allow_add' => true])->getForm( )->createView( )
/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:1871return new Response($this->twig->render('@WebProfiler/Profiler/search.html.twig', ['token' => $request->query->get('token', $session?->get('_profiler_search_token')), 'ip' => $request->query->get('ip', $session?->get('_profiler_search_ip')), 'method' => $request->query->get('method', $session?->get('_profiler_search_method')), 'status_code' => $request->query->get('status_code', $session?->get('_profiler_search_status_code')), 'url' => $request->query->get('url', $session?->get('_profiler_search_url')), 'start' => $request->query->get('start', $session?->get('_profiler_search_start')), 'end' => $request->query->get('end', $session?->get('_profiler_search_end')), 'limit' => $request->query->get('limit', $session?->get('_profiler_search_limit')), 'request' => $request, 'render_hidden_by_default' => false, 'profile_type' => $request->query->get('type', $session?->get('_profiler_search_type', 'request')), ]), 200, ['Content-Type' => 'text/html'])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:12092$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => true, 'expanded' => true, 'required' => true, ])
/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:1601return $this->renderWithCspNonces($request, '@WebProfiler/Profiler/toolbar.html.twig', ['full_stack' => class_exists(FullStack::class), 'request' => $request, 'profile' => $profile, 'templates' => $this->getTemplateManager( )->getNames($profile), 'profiler_url' => $url, 'token' => $token, 'profiler_markup_version' => 3, ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:10832$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'placeholder' => 'Test&Me', 'required' => false, ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/RedirectControllerTest.php:3631return new Request($query, [ ], [ ], [ ], [ ], ['HTTPS' => 'https' === $scheme, 'HTTP_HOST' => $host . ($port ? ':' . $port : ''), 'SERVER_PORT' => $port, 'SCRIPT_FILENAME' => $baseUrl, 'REQUEST_URI' => $baseUrl, 'QUERY_STRING' => $queryString, ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:11092$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'required' => false, 'choice_translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Messenger/DummySchedule.php:201return (new Schedule( ))->add(...self::$recurringMessages)->stateful(new ArrayAdapter( ))->lock(new Lock(new Key('dummy'), new InMemoryStore( )))
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:10361$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'choice_translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', ])
/src/Symfony/Bundle/FrameworkBundle/Tests/CacheWarmer/SerializerCacheWarmerTest.php:451return [[[new LoaderChain([new XmlFileLoader(__DIR__ . '/../Fixtures/Serialization/Resources/person.xml'), new YamlFileLoader(__DIR__ . '/../Fixtures/Serialization/Resources/author.yml'), ]), ], ], [[new XmlFileLoader(__DIR__ . '/../Fixtures/Serialization/Resources/person.xml'), new YamlFileLoader(__DIR__ . '/../Fixtures/Serialization/Resources/author.yml'), ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:10602$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => false, 'expanded' => true, ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Controller/RedirectControllerTest.php:721$attributes = ['route' => $route, 'permanent' => $permanent, '_route' => 'current-route', '_route_params' => ['route' => $route, 'permanent' => $permanent, 'additional-parameter' => 'value', 'ignoreAttributes' => $ignoreAttributes, 'keepRequestMethod' => $keepRequestMethod, 'keepQueryParams' => $keepQueryParams, ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:8932$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Group&1' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'Group&2' => ['Choice&C' => '&c'], ], 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Translation/TranslatorTest.php:2371$translator = $this->getTranslator(new YamlFileLoader( ), ['cache_dir' => $this->tmpDir, 'resource_files' => ['fr' => [__DIR__ . '/../Fixtures/Resources/translations/messages.fr.yml', __DIR__ . '/../Fixtures/Resources/translations2/ccc.fr.yml', ], ], 'cache_vary' => ['scanned_directories' => ['/Fixtures/Resources/translations/', '/Fixtures/Resources/translations2/', ], ], ], 'yml')
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:9462$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'required' => true, 'multiple' => true, 'expanded' => false, ])
/src/Symfony/Bundle/FrameworkBundle/Tests/CacheWarmer/ConfigBuilderCacheWarmerTest.php:4131$firewallNodeBuilder = $rootNode->fixXmlConfig('firewall')->children( )->arrayNode('firewalls')->isRequired( )->requiresAtLeastOneElement( )->useAttributeAsKey('name')->prototype('array')->children( )
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:8162$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'required' => false, 'placeholder' => 'Select&Anything&Not&Me', ])
/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/TwigExtensionTest.php:2951$container = new ContainerBuilder(new ParameterBag(['kernel.cache_dir' => __DIR__, 'kernel.project_dir' => __DIR__, 'kernel.charset' => 'UTF-8', 'kernel.debug' => false, 'kernel.bundles' => ['AcmeBundle' => AcmeBundle::class, ], 'kernel.bundles_metadata' => ['AcmeBundle' => ['namespace' => 'Symfony\Bundle\TwigBundle\Tests\DependencyInjection\AcmeBundle', 'path' => __DIR__ . '/AcmeBundle', ], ], ]))
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:8402$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'required' => true, 'multiple' => false, 'expanded' => false, 'placeholder' => 'Test&Me', ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Translation/TranslatorTest.php:2201$translator = $this->getTranslator(new YamlFileLoader( ), ['cache_dir' => $this->tmpDir, 'resource_files' => ['fr' => [__DIR__ . '/../Fixtures/Resources/translations/messages.fr.yml', ], ], 'cache_vary' => ['scanned_directories' => ['/Fixtures/Resources/translations/', ], ], ], 'yml')
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:6282$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'attr' => ['class' => 'bar&baz'], ])
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/FormLoginFactory.php:552$authenticator = $container->setDefinition($authenticatorId, new ChildDefinition('security.authenticator.form_login'))->replaceArgument(1, new Reference($userProviderId))->replaceArgument(2, new Reference($this->createAuthenticationSuccessHandler($container, $firewallName, $config)))->replaceArgument(3, new Reference($this->createAuthenticationFailureHandler($container, $firewallName, $config)))->replaceArgument(4, $options)
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:6512$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'attr' => ['class' => 'bar&baz'], ])
/src/Symfony/Bundle/SecurityBundle/Debug/TraceableListenerTrait.php:451return ['response' => $this->response, 'time' => $this->time, 'stub' => $this->stub ??= ClassStub::wrapCallable($this->listener instanceof TraceableAuthenticatorManagerListener ? $this->listener->getAuthenticatorManagerListener( ) : $this->listener), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:5812$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'required' => false, 'translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', ])
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/HttpBasicLdapFactory.php:361$definition = $container->setDefinition($provider, new ChildDefinition('security.authentication.provider.ldap_bind'))->replaceArgument(0, new Reference($userProvider))->replaceArgument(1, new Reference('security.user_checker.' . $id))->replaceArgument(2, $id)->replaceArgument(3, new Reference($config['service']))->replaceArgument(4, $config['dn_string'])->replaceArgument(6, $config['search_dn'])->replaceArgument(7, $config['search_password'])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractLayoutTestCase.php:6062$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => false, 'expanded' => false, ])
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AccessTokenFactory.php:631$tokenHandlerNodeBuilder = $builder->arrayNode('token_handler')->example(['id' => 'App\Security\CustomTokenHandler', ])->beforeNormalization( )->ifString( )->then(fn ($v) => ['id' => $v])->end( )->beforeNormalization( )->ifTrue(fn ($v) => \is_array($v) && 1 < \count($v))->then(fn ( ) => throw new InvalidConfigurationException('You cannot configure multiple token handlers.'))->end( )->isRequired( )->beforeNormalization( )->ifTrue(fn ($v) => \is_array($v) && !$v)->then(fn ( ) => throw new InvalidConfigurationException('You must set a token handler.'))->end( )->children( )
/src/Symfony/Bridge/Twig/Extension/RoutingExtension.php:371return [new TwigFunction('url', $this->getUrl(...), ['is_safe_callback' => $this->isUrlGenerationSafe(...)]), new TwigFunction('path', $this->getPath(...), ['is_safe_callback' => $this->isUrlGenerationSafe(...)]), ]
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php:7751return ['class' => NativePasswordHasher::class, 'arguments' => [$config['time_cost'], (($config['memory_cost'] ?? 0) << 10) ?: null, $config['cost'], ] + (isset($config['native_algorithm']) ? [3 => $config['native_algorithm']] : [ ]), ]
/src/Symfony/Bridge/Twig/Extension/WorkflowExtension.php:371return [new TwigFunction('workflow_can', $this->canTransition(...)), new TwigFunction('workflow_transitions', $this->getEnabledTransitions(...)), new TwigFunction('workflow_transition', $this->getEnabledTransition(...)), new TwigFunction('workflow_has_marked_place', $this->hasMarkedPlace(...)), new TwigFunction('workflow_marked_places', $this->getMarkedPlaces(...)), new TwigFunction('workflow_metadata', $this->getMetadata(...)), new TwigFunction('workflow_transition_blockers', $this->buildTransitionBlockerList(...)), ]
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php:281$tokenHandlerDefinition = $container->setDefinition($id, (new ChildDefinition('security.access_token_handler.oidc'))->replaceArgument(2, $config['audience'])->replaceArgument(3, $config['issuers'])->replaceArgument(4, $config['claim']))
/src/Symfony/Bridge/Twig/Extension/SecurityExtension.php:921return [new TwigFunction('is_granted', $this->isGranted(...)), new TwigFunction('impersonation_exit_url', $this->getImpersonateExitUrl(...)), new TwigFunction('impersonation_exit_path', $this->getImpersonateExitPath(...)), new TwigFunction('impersonation_url', $this->getImpersonateUrl(...)), new TwigFunction('impersonation_path', $this->getImpersonatePath(...)), ]
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php:1791$firewallNodeBuilder = $rootNode->fixXmlConfig('firewall')->children( )->arrayNode('firewalls')->isRequired( )->requiresAtLeastOneElement( )->disallowNewKeysInSubsequentConfigs( )->useAttributeAsKey('name')->prototype('array')->fixXmlConfig('required_badge')->children( )
/src/Symfony/Bridge/Twig/Extension/FormExtension.php:531return [new TwigFunction('form_widget', null, ['node_class' => SearchAndRenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('form_errors', null, ['node_class' => SearchAndRenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('form_label', null, ['node_class' => SearchAndRenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('form_help', null, ['node_class' => SearchAndRenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('form_row', null, ['node_class' => SearchAndRenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('form_rest', null, ['node_class' => SearchAndRenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('form', null, ['node_class' => RenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('form_start', null, ['node_class' => RenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('form_end', null, ['node_class' => RenderBlockNode::class, 'is_safe' => ['html']]), new TwigFunction('csrf_token', [FormRenderer::class, 'renderCsrfToken']), new TwigFunction('form_parent', 'Symfony\Bridge\Twig\Extension\twig_get_form_parent'), new TwigFunction('field_name', $this->getFieldName(...)), new TwigFunction('field_value', $this->getFieldValue(...)), new TwigFunction('field_label', $this->getFieldLabel(...)), new TwigFunction('field_help', $this->getFieldHelp(...)), new TwigFunction('field_errors', $this->getFieldErrors(...)), new TwigFunction('field_choices', $this->getFieldChoices(...)), ]
/src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php:3461$providerNodeBuilder = $rootNode->fixXmlConfig('provider')->children( )->arrayNode('providers')->example(['my_memory_provider' => ['memory' => ['users' => ['foo' => ['password' => 'foo', 'roles' => 'ROLE_USER'], 'bar' => ['password' => 'bar', 'roles' => '[ROLE_USER, ROLE_ADMIN]'], ], ], ], 'my_entity_provider' => ['entity' => ['class' => 'SecurityBundle:User', 'property' => 'username']], ])->requiresAtLeastOneElement( )->useAttributeAsKey('name')->prototype('array')
/src/Symfony/Bridge/Twig/Extension/WebLinkExtension.php:361return [new TwigFunction('link', $this->link(...)), new TwigFunction('preload', $this->preload(...)), new TwigFunction('dns_prefetch', $this->dnsPrefetch(...)), new TwigFunction('preconnect', $this->preconnect(...)), new TwigFunction('prefetch', $this->prefetch(...)), new TwigFunction('prerender', $this->prerender(...)), ]
/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/ObjectsProvider.php:741yield 'parameters_enums' => new ParameterBag(['unit_enum' => FooUnitEnum::BAR, 'backed_enum' => Suit::Hearts, 'array_of_enums' => Suit::cases( ), 'map' => ['mixed' => [Suit::Hearts, FooUnitEnum::BAR], 'single' => FooUnitEnum::BAR, ], ])
/src/Symfony/Bridge/Twig/Extension/HttpKernelExtension.php:271return [new TwigFunction('render', [HttpKernelRuntime::class, 'renderFragment'], ['is_safe' => ['html']]), new TwigFunction('render_*', [HttpKernelRuntime::class, 'renderFragmentStrategy'], ['is_safe' => ['html']]), new TwigFunction('fragment_uri', [HttpKernelRuntime::class, 'generateFragmentUri']), new TwigFunction('controller', [self::class, 'controller']), ]
/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/ObjectsProvider.php:421return ['route_1' => new RouteStub('/hello/{name}', ['name' => 'Joseph'], ['name' => '[a-z]+'], ['opt1' => 'val1', 'opt2' => 'val2'], 'localhost', ['http', 'https'], ['get', 'head']), 'route_2' => new RouteStub('/name/add', [ ], [ ], ['opt1' => 'val1', 'opt2' => 'val2'], 'localhost', ['http', 'https'], ['put', 'post'], "context.getMethod() in ['GET', 'HEAD', 'POST']"), ]
/src/Symfony/Bridge/Monolog/Command/ServerLogCommand.php:1571$record = new LogRecord($record['datetime'], $record['channel'], Level::fromValue($record['level']), $record['message'], ['data' => $record['context']], ['data' => $record['extra']], )
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ApiAttributesTest.php:961[$acceptHeader, $assertion] = ['html' => ['text/html', self::assertStringContainsString(...)], 'json' => ['application/json', self::assertJsonStringEqualsJsonString(...)], 'xml' => ['text/xml', self::assertXmlStringEqualsXmlString(...)], 'dummy' => ['application/dummy', self::assertStringContainsString(...)], ][$format]
/src/Symfony/Bridge/Monolog/Formatter/ConsoleFormatter.php:1171$formatted = strtr($this->options['format'], ['%datetime%' => $record->datetime->format($this->options['date_format']), '%start_tag%' => sprintf('<%s>', self::LEVEL_COLOR_MAP[$record->level->value]), '%level_name%' => sprintf($this->options['level_name_format'], $record->level->getName( )), '%end_tag%' => '</>', '%channel%' => $record->channel, '%message%' => $this->replacePlaceHolder($record)->message, '%context%' => $context, '%extra%' => $extra, ])
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/SchedulerTest.php:291$scheduledMessages = [RecurringMessage::every('5 minutes', $foo = new FooMessage( ), new \DateTimeImmutable('2020-01-01T00:00:00Z')), RecurringMessage::every('5 minutes', $bar = new BarMessage( ), new \DateTimeImmutable('2020-01-01T00:01:00Z')), ]
/src/Symfony/Bridge/Monolog/Tests/Formatter/ConsoleFormatterTest.php:461$tests['record with string in datetime field'] = ['record' => ['message' => 'test', 'context' => [ ], 'level' => Level::Warning, 'level_name' => Logger::getLevelName(Level::Warning), 'channel' => 'test', 'datetime' => '2019-01-01T00:42:00+00:00', 'extra' => [ ], ], 'expectedMessage' => "2019-01-01T00:42:00+00:00 <fg=cyan>WARNING </> <comment>[test]</> test\n", ]
/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AbstractWebTestCase.php:621return new $class(static::getVarDir( ), $options['test_case'], $options['root_config'] ?? 'config.yml', $options['environment'] ?? strtolower(static::getVarDir( ) . $options['test_case']), $options['debug'] ?? false)
/src/Symfony/Bridge/Monolog/Tests/Handler/FingersCrossed/HttpCodeActivationStrategyTest.php:611return [['/test', RecordFactory::create(Level::Error), true], ['/400', RecordFactory::create(Level::Error, context : self::getContextException(400)), true], ['/400/a', RecordFactory::create(Level::Error, context : self::getContextException(400)), false], ['/400/b', RecordFactory::create(Level::Error, context : self::getContextException(400)), false], ['/400/c', RecordFactory::create(Level::Error, context : self::getContextException(400)), true], ['/401', RecordFactory::create(Level::Error, context : self::getContextException(401)), true], ['/403', RecordFactory::create(Level::Error, context : self::getContextException(403)), false], ['/404', RecordFactory::create(Level::Error, context : self::getContextException(404)), false], ['/405', RecordFactory::create(Level::Error, context : self::getContextException(405)), false], ['/500', RecordFactory::create(Level::Error, context : self::getContextException(500)), true], ]
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/TestServiceContainerRefPassesTest.php:621$expected = ['Test\private_used_shared_service' => new ServiceClosureArgument(new Reference('Test\private_used_shared_service')), 'Test\private_used_non_shared_service' => new ServiceClosureArgument(new Reference('Test\private_used_non_shared_service')), 'Test\soon_private_service' => new ServiceClosureArgument(new Reference('.container.private.Test\soon_private_service')), 'Test\soon_private_service_decorator' => new ServiceClosureArgument(new Reference('.container.private.Test\soon_private_service_decorated')), 'Test\soon_private_service_decorated' => new ServiceClosureArgument(new Reference('.container.private.Test\soon_private_service_decorated')), ]
/src/Symfony/Bridge/Monolog/Tests/Handler/FingersCrossed/HttpCodeActivationStrategyTest.php:451$strategy = new HttpCodeActivationStrategy($requestStack, [['code' => 403, 'urls' => [ ]], ['code' => 404, 'urls' => [ ]], ['code' => 405, 'urls' => [ ]], ['code' => 400, 'urls' => ['^/400/a', '^/400/b']], ], new ErrorLevelActivationStrategy(Level::Warning))
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php:5711return ['http_method_override' => false, 'handle_all_throwables' => true, 'trust_x_sendfile_type_header' => false, 'ide' => '%env(default::SYMFONY_IDE)%', 'default_locale' => 'en', 'enabled_locales' => [ ], 'set_locale_from_accept_language' => false, 'set_content_language_from_locale' => false, 'secret' => 's3cr3t', 'trusted_hosts' => [ ], 'trusted_headers' => ['x-forwarded-for', 'x-forwarded-port', 'x-forwarded-proto', ], 'csrf_protection' => ['enabled' => false, ], 'form' => ['enabled' => !class_exists(FullStack::class), 'csrf_protection' => ['enabled' => null, 'field_name' => '_token', ], ], 'esi' => ['enabled' => false], 'ssi' => ['enabled' => false], 'fragments' => ['enabled' => false, 'path' => '/_fragment', 'hinclude_default_template' => null, ], 'profiler' => ['enabled' => false, 'only_exceptions' => false, 'only_main_requests' => false, 'dsn' => 'file:%kernel.cache_dir%/profiler', 'collect' => true, 'collect_parameter' => null, 'collect_serializer_data' => false, ], 'translator' => ['enabled' => !class_exists(FullStack::class), 'fallbacks' => [ ], 'cache_dir' => '%kernel.cache_dir%/translations', 'logging' => false, 'formatter' => 'translator.formatter.default', 'paths' => [ ], 'default_path' => '%kernel.project_dir%/translations', 'pseudo_localization' => ['enabled' => false, 'accents' => true, 'expansion_factor' => 1.0, 'brackets' => true, 'parse_html' => false, 'localizable_html_attributes' => [ ], ], 'providers' => [ ], ], 'validation' => ['enabled' => !class_exists(FullStack::class), 'enable_attributes' => !class_exists(FullStack::class), 'static_method' => ['loadValidatorMetadata'], 'translation_domain' => 'validators', 'mapping' => ['paths' => [ ], ], 'auto_mapping' => [ ], 'not_compromised_password' => ['enabled' => true, 'endpoint' => null, ], 'email_validation_mode' => 'html5', ], 'annotations' => ['enabled' => false, ], 'serializer' => ['default_context' => ['foo' => 'bar', JsonDecode::DETAILED_ERROR_MESSAGES => true], 'enabled' => true, 'enable_attributes' => !class_exists(FullStack::class), 'mapping' => ['paths' => [ ]], ], 'property_access' => ['enabled' => true, 'magic_call' => false, 'magic_get' => true, 'magic_set' => true, 'throw_exception_on_invalid_index' => false, 'throw_exception_on_invalid_property_path' => true, ], 'property_info' => ['enabled' => !class_exists(FullStack::class), ], 'router' => ['enabled' => false, 'default_uri' => null, 'http_port' => 80, 'https_port' => 443, 'strict_requirements' => true, 'utf8' => true, 'cache_dir' => '%kernel.cache_dir%', ], 'session' => ['enabled' => false, 'storage_factory_id' => 'session.storage.factory.native', 'cookie_httponly' => true, 'cookie_samesite' => 'lax', 'cookie_secure' => 'auto', 'gc_probability' => 1, 'metadata_update_threshold' => 0, ], 'request' => ['enabled' => false, 'formats' => [ ], ], 'assets' => ['enabled' => !class_exists(FullStack::class), 'version_strategy' => null, 'version' => null, 'version_format' => '%%s?%%s', 'base_path' => '', 'base_urls' => [ ], 'packages' => [ ], 'json_manifest_path' => null, 'strict_mode' => false, ], 'asset_mapper' => ['enabled' => !class_exists(FullStack::class), 'paths' => [ ], 'excluded_patterns' => [ ], 'server' => true, 'public_prefix' => '/assets/', 'missing_import_mode' => 'warn', 'extensions' => [ ], 'importmap_path' => '%kernel.project_dir%/importmap.php', 'importmap_polyfill' => 'es-module-shims', 'vendor_dir' => '%kernel.project_dir%/assets/vendor', 'importmap_script_attributes' => [ ], 'exclude_dotfiles' => true, ], 'cache' => ['pools' => [ ], 'app' => 'cache.adapter.filesystem', 'system' => 'cache.adapter.system', 'directory' => '%kernel.cache_dir%/pools/app', 'default_redis_provider' => 'redis://localhost', 'default_memcached_provider' => 'memcached://localhost', 'default_doctrine_dbal_provider' => 'database_connection', 'default_pdo_provider' => ContainerBuilder::willBeAvailable('doctrine/dbal', Connection::class, ['symfony/framework-bundle']) && class_exists(DoctrineAdapter::class) ? 'database_connection' : null, 'prefix_seed' => '_%kernel.project_dir%.%kernel.container_class%', ], 'workflows' => ['enabled' => false, 'workflows' => [ ], ], 'php_errors' => ['log' => true, 'throw' => true, ], 'web_link' => ['enabled' => !class_exists(FullStack::class), ], 'lock' => ['enabled' => !class_exists(FullStack::class), 'resources' => ['default' => [class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported( ) ? 'semaphore' : 'flock', ], ], ], 'semaphore' => ['enabled' => !class_exists(FullStack::class), 'resources' => [ ], ], 'messenger' => ['enabled' => !class_exists(FullStack::class) && interface_exists(MessageBusInterface::class), 'routing' => [ ], 'transports' => [ ], 'failure_transport' => null, 'serializer' => ['default_serializer' => 'messenger.transport.native_php_serializer', 'symfony_serializer' => ['format' => 'json', 'context' => [ ], ], ], 'default_bus' => null, 'buses' => ['messenger.bus.default' => ['default_middleware' => ['enabled' => true, 'allow_no_handlers' => false, 'allow_no_senders' => true], 'middleware' => [ ]]], 'stop_worker_on_signals' => [ ], ], 'disallow_search_engine_index' => true, 'http_client' => ['enabled' => !class_exists(FullStack::class) && class_exists(HttpClient::class), 'scoped_clients' => [ ], ], 'mailer' => ['dsn' => null, 'transports' => [ ], 'enabled' => !class_exists(FullStack::class) && class_exists(Mailer::class), 'message_bus' => null, 'headers' => [ ], ], 'notifier' => ['enabled' => !class_exists(FullStack::class) && class_exists(Notifier::class), 'message_bus' => null, 'chatter_transports' => [ ], 'texter_transports' => [ ], 'channel_policy' => [ ], 'admin_recipients' => [ ], 'notification_on_failed_messages' => false, ], 'error_controller' => 'error_controller', 'secrets' => ['enabled' => true, 'vault_directory' => '%kernel.project_dir%/config/secrets/%kernel.runtime_environment%', 'local_dotenv_file' => '%kernel.project_dir%/.env.%kernel.environment%.local', 'decryption_env_var' => 'base64:default::SYMFONY_DECRYPTION_SECRET', ], 'http_cache' => ['enabled' => false, 'debug' => '%kernel.debug%', 'private_headers' => [ ], 'skip_response_headers' => [ ], ], 'rate_limiter' => ['enabled' => !class_exists(FullStack::class) && class_exists(TokenBucketLimiter::class), 'limiters' => [ ], ], 'uid' => ['enabled' => !class_exists(FullStack::class) && class_exists(UuidFactory::class), 'default_uuid_version' => 7, 'name_based_uuid_version' => 5, 'time_based_uuid_version' => 7, ], 'html_sanitizer' => ['enabled' => !class_exists(FullStack::class) && class_exists(HtmlSanitizer::class), 'sanitizers' => [ ], ], 'scheduler' => ['enabled' => !class_exists(FullStack::class) && class_exists(SchedulerTransportFactory::class), ], 'exceptions' => [ ], 'webhook' => ['enabled' => false, 'routing' => [ ], 'message_bus' => 'messenger.default_bus', ], 'remote-event' => ['enabled' => false, ], ]
/src/Symfony/Bridge/Monolog/Tests/Handler/FingersCrossed/NotFoundActivationStrategyTest.php:411return [['/test', RecordFactory::create(Level::Debug), false], ['/foo', RecordFactory::create(Level::Debug, context : self::getContextException(404)), false], ['/baz/bar', RecordFactory::create(Level::Error, context : self::getContextException(404)), false], ['/foo', RecordFactory::create(Level::Error, context : self::getContextException(404)), false], ['/foo', RecordFactory::create(Level::Error, context : self::getContextException(500)), true], ['/test', RecordFactory::create(Level::Error), true], ['/baz', RecordFactory::create(Level::Error, context : self::getContextException(404)), true], ['/baz', RecordFactory::create(Level::Error, context : self::getContextException(500)), true], ]
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php:4501$config = $processor->processConfiguration($configuration, [['http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'messenger' => ['default_bus' => 'existing_bus', 'buses' => ['existing_bus' => ['middleware' => 'existing_bus.middleware', ], 'common_bus' => ['default_middleware' => false, 'middleware' => 'common_bus.old_middleware', ], ], ], ], ['http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'messenger' => ['buses' => ['common_bus' => ['middleware' => 'common_bus.new_middleware', ], 'new_bus' => ['middleware' => 'new_bus.middleware', ], ], ], ], ])
/src/Symfony/Bridge/Monolog/Tests/Handler/MailerHandlerTest.php:971return [$this->getRecord(Level::Debug, 'debug message 1'), $this->getRecord(Level::Debug, 'debug message 2'), $this->getRecord(Level::Info, 'information'), $this->getRecord(Level::Warning, 'warning'), $this->getRecord(Level::Error, 'error'), ]
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php:3381$config = $processor->processConfiguration($configuration, [['http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'lock' => ['payload' => 'flock', ], ], ['http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'lock' => ['payload' => 'semaphore', ], ], ])
/src/Symfony/Bridge/Monolog/Processor/DebugProcessor.php:361$this->records[$key][] = ['timestamp' => $record->datetime->getTimestamp( ), 'timestamp_rfc3339' => $record->datetime->format(\DateTimeInterface::RFC3339_EXTENDED), 'message' => $record->message, 'priority' => $record->level->value, 'priorityName' => $record->level->getName( ), 'context' => $record->context, 'channel' => $record->channel ?? '', ]
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php:1591$config = $processor->processConfiguration($configuration, [['http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'asset_mapper' => null === $polyfillValue ? [ ] : ['importmap_polyfill' => $polyfillValue, ], ]])
/src/Symfony/Bridge/Monolog/Handler/ConsoleHandler.php:1511return new ConsoleFormatter(array_replace(['colors' => $this->output->isDecorated( ), 'multiline' => OutputInterface::VERBOSITY_DEBUG <= $this->output->getVerbosity( ), ], $this->consoleFormatterOptions))
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php:381$config = $processor->processConfiguration(new Configuration(true), [['http_method_override' => false, 'handle_all_throwables' => true, 'php_errors' => ['log' => true], 'secret' => 's3cr3t', 'serializer' => ['default_context' => ['foo' => 'bar']], ]])
/src/Symfony/Bridge/PsrHttpMessage/Factory/PsrHttpFactory.php:1421return $this->uploadedFileFactory->createUploadedFile($this->streamFactory->createStreamFromFile($symfonyUploadedFile->getRealPath( )), (int) $symfonyUploadedFile->getSize( ), $symfonyUploadedFile->getError( ), $symfonyUploadedFile->getClientOriginalName( ), $symfonyUploadedFile->getClientMimeType( ))
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php:23081return new ContainerBuilder(new EnvPlaceholderParameterBag(array_merge(['kernel.bundles' => ['FrameworkBundle' => FrameworkBundle::class], 'kernel.bundles_metadata' => ['FrameworkBundle' => ['namespace' => 'Symfony\\Bundle\\FrameworkBundle', 'path' => __DIR__ . '/../..']], 'kernel.cache_dir' => __DIR__, 'kernel.build_dir' => __DIR__, 'kernel.project_dir' => __DIR__, 'kernel.debug' => false, 'kernel.environment' => 'test', 'kernel.runtime_mode.web' => true, 'kernel.name' => 'kernel', 'kernel.container_class' => 'testContainer', 'container.build_hash' => 'Abc1234', 'container.build_id' => hash('crc32', 'Abc123423456789'), 'container.build_time' => 23456789, ], $data)))
/src/Symfony/Bridge/PsrHttpMessage/Factory/PsrHttpFactory.php:1001$request = $request->withBody($body)->withUploadedFiles($this->getFiles($symfonyRequest->files->all( )))->withCookieParams($symfonyRequest->cookies->all( ))->withQueryParams($symfonyRequest->query->all( ))->withParsedBody($parsedBody)
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php:16891$expected = [[(new ChildDefinition('cache.adapter.array'))->replaceArgument(0, 12), (new ChildDefinition('cache.adapter.filesystem'))->replaceArgument(0, $expectedSeed)->replaceArgument(1, 12), (new ChildDefinition('cache.adapter.redis'))->replaceArgument(0, new Reference('.cache_connection.' . (\count((new \ReflectionMethod(ContainerConfigurator::class, 'extension'))->getParameters( )) > 2 ? 'U5HliuY' : 'kYdiLgf')))->replaceArgument(1, $expectedSeed)->replaceArgument(2, 12), ], 12, ]
/src/Symfony/Bridge/PsrHttpMessage/Factory/HttpFoundationFactory.php:651$request = new Request($psrRequest->getQueryParams( ), $parsedBody, $psrRequest->getAttributes( ), $psrRequest->getCookieParams( ), $this->getFiles($psrRequest->getUploadedFiles( )), $server, $streamed ? $psrRequest->getBody( )->detach( ) : $psrRequest->getBody( )->__toString( ))
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php:15791$expectedLoaders = [new Definition(XmlFileLoader::class, [$configDir . '/serialization.xml']), new Definition(YamlFileLoader::class, [$configDir . '/serialization.yml']), new Definition(YamlFileLoader::class, [$projectDir . '/config/serializer/foo.yml']), new Definition(XmlFileLoader::class, [$configDir . '/serializer_mapping/files/foo.xml']), new Definition(YamlFileLoader::class, [$configDir . '/serializer_mapping/files/foo.yml']), new Definition(YamlFileLoader::class, [$configDir . '/serializer_mapping/serialization.yml']), new Definition(YamlFileLoader::class, [$configDir . '/serializer_mapping/serialization.yaml']), ]
/src/Symfony/Bridge/PsrHttpMessage/Tests/Factory/PsrHttpFactoryTest.php:2161$request = new Request([ ], [ ], [ ], [ ], ['f1' => $file, 'f2' => ['name' => null, 'type' => null, 'tmp_name' => null, 'error' => \UPLOAD_ERR_NO_FILE, 'size' => 0], ], ['REQUEST_METHOD' => 'POST', 'HTTP_HOST' => 'dunglas.fr', 'HTTP_X_SYMFONY' => '2.8', ], 'Content')
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php:9851$expectedTransportsByFailureTransports = ['beanstalkd' => new Reference('messenger.transport.failed'), 'customised' => new Reference('messenger.transport.failed'), 'default' => new Reference('messenger.transport.failed'), 'failed' => new Reference('messenger.transport.failed'), 'redis' => new Reference('messenger.transport.failed'), 'schedule' => new Reference('messenger.transport.failed'), ]
/src/Symfony/Bridge/PsrHttpMessage/Tests/Factory/PsrHttpFactoryTest.php:441$request = new Request(['bar' => ['baz' => '42'], 'foo' => '1', ], ['twitter' => ['@dunglas' => 'Kévin Dunglas', '@coopTilleuls' => 'Les-Tilleuls.coop', ], 'baz' => '2', ], ['a1' => $stdClass, 'a2' => ['foo' => 'bar'], ], ['c1' => 'foo', 'c2' => ['c3' => 'bar'], ], ['f1' => $this->createUploadedFile('F1', 'f1.txt', 'text/plain', \UPLOAD_ERR_OK), 'foo' => ['f2' => $this->createUploadedFile('F2', 'f2.txt', 'text/plain', \UPLOAD_ERR_OK)], ], ['REQUEST_METHOD' => 'POST', 'HTTP_HOST' => 'dunglas.fr', 'HTTP_X_SYMFONY' => '2.8', 'REQUEST_URI' => '/testCreateRequest?bar[baz]=42&foo=1', 'QUERY_STRING' => 'bar[baz]=42&foo=1', ], 'Content')
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTestCase.php:9111$expectedTransportsByFailureTransports = ['failure_transport_1' => new Reference('messenger.transport.failure_transport_global'), 'failure_transport_3' => new Reference('messenger.transport.failure_transport_global'), 'failure_transport_global' => new Reference('messenger.transport.failure_transport_global'), 'transport_1' => new Reference('messenger.transport.failure_transport_1'), 'transport_2' => new Reference('messenger.transport.failure_transport_global'), 'transport_3' => new Reference('messenger.transport.failure_transport_3'), ]
/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:1551$COMPOSER = ($COMPOSER = getenv('COMPOSER_BINARY')) || file_exists($COMPOSER = $oldPwd . '/composer.phar') || ($COMPOSER = rtrim((string) ('\\' === \DIRECTORY_SEPARATOR ? preg_replace('/[\r\n].*/', '', shell_exec('where.exe composer.phar 2> NUL')) : shell_exec('which composer.phar 2> /dev/null')))) || ($COMPOSER = rtrim((string) ('\\' === \DIRECTORY_SEPARATOR ? preg_replace('/[\r\n].*/', '', shell_exec('where.exe composer 2> NUL')) : shell_exec('which composer 2> /dev/null')))) || file_exists($COMPOSER = rtrim((string) ('\\' === \DIRECTORY_SEPARATOR ? shell_exec('git rev-parse --show-toplevel 2> NUL') : shell_exec('git rev-parse --show-toplevel 2> /dev/null'))) . \DIRECTORY_SEPARATOR . 'composer.phar') ? ('#!/usr/bin/env php' === file_get_contents($COMPOSER, false, null, 0, 18) ? $PHP : '') . ' ' . escapeshellarg($COMPOSER) : 'composer'
/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php:1521return ['not_from_vendors_file' => [Deprecation::TYPE_SELF, '', 'MyClass1', __FILE__], 'nonexistent_file' => [Deprecation::TYPE_UNDETERMINED, '', 'MyClass1', 'dummy_vendor_path'], 'serialized_trace_with_nonexistent_triggering_file' => [Deprecation::TYPE_UNDETERMINED, serialize(['class' => '', 'method' => '', 'deprecation' => '', 'triggering_file' => 'dummy_vendor_path', 'files_stack' => [ ], ]), SymfonyTestsListenerForV7::class, '', ], ]
/src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php:1941return ['no_file_in_stack' => [Deprecation::TYPE_DIRECT, '', [['function' => 'myfunc1'], ['function' => 'myfunc2']]], 'files_in_stack_from_various_packages' => [Deprecation::TYPE_INDIRECT, '', [['function' => 'myfunc1', 'file' => $vendorDir . '/myfakevendor/myfakepackage1/MyFakeFile1.php'], ['function' => 'myfunc2', 'file' => $vendorDir . '/myfakevendor/myfakepackage2/MyFakeFile.php'], ], ], 'serialized_stack_files_from_same_package' => [Deprecation::TYPE_DIRECT, serialize(['deprecation' => 'My deprecation message', 'class' => 'MyClass', 'method' => 'myMethod', 'files_stack' => [$vendorDir . '/myfakevendor/myfakepackage1/MyFakeFile1.php', $vendorDir . '/myfakevendor/myfakepackage1/MyFakeFile2.php', ], ]), $fakeTrace, ], 'serialized_stack_files_from_various_packages' => [Deprecation::TYPE_INDIRECT, serialize(['deprecation' => 'My deprecation message', 'class' => 'MyClass', 'method' => 'myMethod', 'files_stack' => [$vendorDir . '/myfakevendor/myfakepackage1/MyFakeFile1.php', $vendorDir . '/myfakevendor/myfakepackage2/MyFakeFile.php', ], ]), $fakeTrace, ], ]
/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerTrait.php:2831$error = serialize(['deprecation' => $deprecation[1], 'class' => $className, 'method' => $test->getName(false), 'triggering_file' => $deprecation[2] ?? null, 'files_stack' => $deprecation[3] ?? [ ]])
/src/Symfony/Bridge/PsrHttpMessage/Tests/Fixtures/App/Controller/PsrRequestController.php:291return $this->responseFactory->createResponse( )->withStatus(403)->withBody($this->streamFactory->createStream(sprintf('<html><body>%s %s</body></html>', $request->getMethod( ), $request->getBody( )->getContents( ))))
/src/Symfony/Bridge/PsrHttpMessage/Tests/Functional/CovertTest.php:991$sfRequest = new Request(['foo' => '1', 'bar' => ['baz' => '42'], ], ['twitter' => ['@dunglas' => 'Kévin Dunglas', '@coopTilleuls' => 'Les-Tilleuls.coop', ], 'baz' => '2', ], ['a2' => ['foo' => 'bar'], ], ['c1' => 'foo', 'c2' => ['c3' => 'bar'], ], ['f1' => self::createUploadedFile('F1', 'f1.txt', 'text/plain', \UPLOAD_ERR_OK), 'foo' => ['f2' => self::createUploadedFile('F2', 'f2.txt', 'text/plain', \UPLOAD_ERR_OK)], ], ['REQUEST_METHOD' => 'POST', 'HTTP_HOST' => 'dunglas.fr', 'SERVER_NAME' => 'dunglas.fr', 'SERVER_PORT' => null, 'HTTP_X_SYMFONY' => '2.8', 'REQUEST_URI' => '/testCreateRequest?foo=1&bar%5Bbaz%5D=42', 'QUERY_STRING' => 'foo=1&bar%5Bbaz%5D=42', ], 'Content')
/src/Symfony/Bridge/PsrHttpMessage/Tests/Functional/CovertTest.php:1341$psr7Requests = [(new Psr7Request('POST', 'http://tnyholm.se/foo/?bar=biz'))->withQueryParams(['bar' => 'biz']), new Psr7Request('GET', 'https://hey-octave.com/'), new Psr7Request('GET', 'https://hey-octave.com:443/'), new Psr7Request('GET', 'https://hey-octave.com:4242/'), new Psr7Request('GET', 'http://hey-octave.com:80/'), ]
/src/Symfony/Bridge/PsrHttpMessage/Tests/Factory/HttpFoundationFactoryTest.php:461$serverRequest = new ServerRequest('1.1', ['X-Dunglas-API-Platform' => '1.0', 'X-data' => ['a', 'b'], ], new Stream('The body'), '/about/kevin', 'GET', 'http://les-tilleuls.coop/about/kevin', ['country' => 'France'], ['city' => 'Lille'], ['url' => 'http://les-tilleuls.coop'], ['doc1' => $this->createUploadedFile('Doc 1', \UPLOAD_ERR_OK, 'doc1.txt', 'text/plain'), 'nested' => ['docs' => [$this->createUploadedFile('Doc 2', \UPLOAD_ERR_OK, 'doc2.txt', 'text/plain'), $this->createUploadedFile('Doc 3', \UPLOAD_ERR_OK, 'doc3.txt', 'text/plain'), ], ], ], ['url' => 'http://dunglas.fr'], ['custom' => $stdClass])
/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php:981$this->triggeringFile = isset($trace[1 + $j]['args'][1]) ? realpath($trace[1 + $j]['args'][1]) : (new \ReflectionClass($class))->getFileName( )
/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php:2201return 0 === strpos($method, 'testLegacy') || 0 === strpos($method, 'provideLegacy') || 0 === strpos($method, 'getLegacy') || strpos($this->originClass, '\Legacy') || \in_array('legacy', $groups($this->originClass, $method), true)
/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php:3971return ($this->originatesFromAnObject( ) ? 'deprecation triggered by ' . $this->originatingClass( ) . '::' . $this->originatingMethod( ) . ":\n" : '') . $this->message . "\n" . "Stack trace:\n" . str_replace(' ' . getcwd( ) . \DIRECTORY_SEPARATOR, ' ', $exception->getTraceAsString( )) . "\n"
/src/Symfony/Component/Notifier/Bridge/Mailjet/MailjetTransport.php:601$response = $this->client->request('POST', $endpoint, ['auth_bearer' => $this->authToken, 'json' => ['From' => $message->getFrom( ) ?: $this->from, 'To' => $message->getPhone( ), 'Text' => $message->getSubject( ), ], ])
/src/Symfony/Component/Notifier/Bridge/Esendex/EsendexTransport.php:701$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/v1.0/messagedispatcher', ['auth_basic' => [$this->email, $this->password], 'headers' => ['Accept' => 'application/json', ], 'json' => array_filter($options), ])
/src/Symfony/Component/Notifier/Bridge/Ntfy/Tests/NtfyOptionsTest.php:251$ntfyOptions = (new NtfyOptions( ))->setMessage('test message')->setTitle('message title')->setPriority(NtfyOptions::PRIORITY_URGENT)->setTags(['tag1', 'tag2'])->addTag('tag3')->setDelay($delay)->setActions([['action' => 'view', 'label' => 'View', 'url' => 'https://test.com']])->addAction(['action' => 'http', 'label' => 'Open', 'url' => 'https://test2.com'])->setClick('https://test3.com')->setAttachment('https://filesrv.lan/space.jpg')->setFilename('diskspace.jpg')->setEmail('me@mail.com')->setCache(false)->setFirebase(false)
/src/Symfony/Component/Notifier/Bridge/OvhCloud/OvhCloudTransport.php:861$content = ['charset' => 'UTF-8', 'class' => 'flash', 'coding' => '8bit', 'message' => $message->getSubject( ), 'receivers' => [$message->getPhone( )], 'noStopClause' => $this->noStopClause, 'priority' => 'medium', ]
/src/Symfony/Component/Notifier/Bridge/Smsapi/SmsapiTransport.php:881$body = ['to' => $message->getPhone( ), 'message' => $message->getSubject( ), 'fast' => $this->fast, 'format' => 'json', 'encoding' => 'utf-8', 'test' => $this->test, ]
/src/Symfony/Component/Notifier/Bridge/Octopush/OctopushTransport.php:661$response = $this->client->request('POST', $endpoint, ['body' => ['user_login' => $this->userLogin, 'api_key' => $this->apiKey, 'sms_text' => $message->getSubject( ), 'sms_recipients' => $message->getPhone( ), 'sms_sender' => $from, 'sms_type' => $this->type, ], ])
/src/Symfony/Component/Notifier/Bridge/Redlink/RedlinkTransport.php:711$response = $this->client->request('POST', $endpoint, ['headers' => ['Authorization' => $this->apiToken, 'Application-Key' => $this->appToken, ], 'json' => array_merge(['sender' => $from, 'message' => $message->getSubject( ), 'phoneNumbers' => [$message->getPhone( ), ], ], array_filter($options)), ])
/src/Symfony/Component/Notifier/Bridge/Novu/NovuTransport.php:591$body = ['name' => $message->getSubject( ), 'to' => ['subscriberId' => $message->getRecipientId( ), 'firstName' => $options['firstName'], 'lastName' => $options['lastName'], 'email' => $options['email'], 'phone' => $options['phone'], 'avatar' => $options['avatar'], 'locale' => $options['locale'], ], 'payload' => json_decode($message->getContent( )), 'overrides' => $options['overrides'] ?? [ ], ]
/src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php:1031$data = ['login' => $this->login, 'phone' => $phone = $this->escapePhoneNumber($message->getPhone( )), 'sender' => $message->getFrom( ) ?: $this->from, 'text' => $message->getSubject( ), 'timestamp' => time( ), ]
/src/Symfony/Component/Notifier/Bridge/Vonage/VonageTransport.php:611$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/sms/json', ['body' => ['from' => $message->getFrom( ) ?: $this->from, 'to' => $message->getPhone( ), 'text' => $message->getSubject( ), 'api_key' => $this->apiKey, 'api_secret' => $this->apiSecret, ], ])
/src/Symfony/Component/Notifier/Bridge/Novu/NovuOptions.php:491return array_merge($this->options, ['firstName' => $this->firstName, 'lastName' => $this->lastName, 'email' => $this->email, 'phone' => $this->phone, 'avatar' => $this->avatar, 'locale' => $this->locale, 'overrides' => $this->overrides, ])
/src/Symfony/Component/Notifier/Bridge/FakeSms/FakeSmsEmailTransport.php:671$email = (new Email( ))->from($message->getFrom( ) ?: $this->from)->to($this->to)->subject(sprintf('New SMS on phone number: %s', $message->getPhone( )))->html($message->getSubject( ))->text($message->getSubject( ))
/src/Symfony/Component/Notifier/Bridge/AllMySms/Tests/AllMySmsOptionsTest.php:211$allMySmsOptions = (new AllMySmsOptions( ))->alerting(1)->date('test_date')->campaignName('test_campaign_name')->cliMsgId('test_cli_msg_id')->simulate(1)->uniqueIdentifier('test_unique_identifier')->verbose(1)
/src/Symfony/Component/Notifier/Bridge/OneSignal/Tests/OneSignalOptionsTest.php:211$oneSignalOptions = (new OneSignalOptions( ))->headings(['en' => 'English Heading', 'fr' => 'French Heading'])->contents(['en' => 'English Content', 'fr' => 'French Content'])->url('https://example.com')->data(['foo' => 'bar'])->sendAfter(new \DateTimeImmutable('Thu Sep 24 2015 14:00:00 GMT-0700 (PDT)'))->externalId('d637f30d-f709-4bed-9e2c-63637cb91894')
/src/Symfony/Component/Notifier/Bridge/OneSignal/OneSignalTransport.php:841$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/api/v1/notifications', ['headers' => ['Accept' => 'application/json', 'Authorization' => 'Basic ' . $this->apiKey, ], 'json' => $options, ])
/src/Symfony/Component/Notifier/Bridge/SpotHit/SpotHitTransport.php:941$response = $this->client->request('POST', $endpoint, ['body' => ['key' => $this->token, 'destinataires' => $message->getPhone( ), 'type' => 'premium', 'message' => $message->getSubject( ), 'expediteur' => $message->getFrom( ) ?: $this->from, 'smslong' => $this->smsLong, 'smslongnbr' => $this->smsLongNBr, ], ])
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:974$response = new JsonMockResponse(['ok' => true, 'result' => ['message_id' => 1, 'from' => ['id' => 12345678, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, 'text' => 'Hello from Bot!', ], ])
/src/Symfony/Component/Notifier/Bridge/FakeChat/FakeChatEmailTransport.php:711$email = (new Email( ))->from($this->from)->to($this->to)->subject($subject)->html($message->getSubject( ))->text($message->getSubject( ))
/src/Symfony/Component/Notifier/Bridge/Plivo/Tests/PlivoOptionsTest.php:211$plivoOptions = (new PlivoOptions( ))->log(true)->method('test_method')->url('test_url')->mediaUrls('test_media_urls')->powerpackUuid('test_powerpack_uuid')->trackable(true)->type('test_type')
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:1414$response = new JsonMockResponse(['ok' => true, 'result' => ['message_id' => 1, 'from' => ['id' => 12345678, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, 'text' => 'Hello from Bot!', ], ])
/src/Symfony/Component/Cache/Adapter/MemcachedAdapter.php:2711return false !== $this->getClient( )->get(self::encodeKey($id)) || $this->checkResultCode(\Memcached::RES_SUCCESS === $this->client->getResultCode( ))
/src/Symfony/Component/Cache/Marshaller/TagAwareMarshaller.php:771return ['value' => $this->marshaller->unmarshall(substr($value, 13 + $tagLen)), 'tags' => $tagLen ? $this->marshaller->unmarshall(substr($value, 13, $tagLen)) : [ ], 'meta' => "\0\0\0\0\0\0\0\0" === $meta ? null : $meta, ]
/src/Symfony/Component/Intl/Timezones.php:811return sprintf(self::readEntry(['Meta', 'GmtFormat'], $displayLocale), sprintf(self::readEntry(['Meta', 'HourFormat' . (0 <= $offset ? 'Pos' : 'Neg')], $displayLocale), $abs / 3600, $abs / 60 % 60))
/src/Symfony/Component/Translation/PseudoLocalizationTranslator.php:1771$trans .= $this->accents ? strtr($text, [' ' => ' ', '!' => '¡', '"' => '″', '#' => '♯', '$' => '€', '%' => '‰', '&' => '⅋', '\'' => '´', '(' => '{', ')' => '}', '*' => '⁎', '+' => '⁺', ',' => '،', '-' => '‐', '.' => '·', '/' => '⁄', '0' => '⓪', '1' => '①', '2' => '②', '3' => '③', '4' => '④', '5' => '⑤', '6' => '⑥', '7' => '⑦', '8' => '⑧', '9' => '⑨', ':' => '∶', ';' => '⁏', '<' => '≤', '=' => '≂', '>' => '≥', '?' => '¿', '@' => '՞', 'A' => 'Å', 'B' => 'Ɓ', 'C' => 'Ç', 'D' => 'Ð', 'E' => 'É', 'F' => 'Ƒ', 'G' => 'Ĝ', 'H' => 'Ĥ', 'I' => 'Î', 'J' => 'Ĵ', 'K' => 'Ķ', 'L' => 'Ļ', 'M' => 'Ṁ', 'N' => 'Ñ', 'O' => 'Ö', 'P' => 'Þ', 'Q' => 'Ǫ', 'R' => 'Ŕ', 'S' => 'Š', 'T' => 'Ţ', 'U' => 'Û', 'V' => 'Ṽ', 'W' => 'Ŵ', 'X' => 'Ẋ', 'Y' => 'Ý', 'Z' => 'Ž', '[' => '⁅', '\\' => '∖', ']' => '⁆', '^' => '˄', '_' => '‿', '`' => '‵', 'a' => 'å', 'b' => 'ƀ', 'c' => 'ç', 'd' => 'ð', 'e' => 'é', 'f' => 'ƒ', 'g' => 'ĝ', 'h' => 'ĥ', 'i' => 'î', 'j' => 'ĵ', 'k' => 'ķ', 'l' => 'ļ', 'm' => 'ɱ', 'n' => 'ñ', 'o' => 'ö', 'p' => 'þ', 'q' => 'ǫ', 'r' => 'ŕ', 's' => 'š', 't' => 'ţ', 'u' => 'û', 'v' => 'ṽ', 'w' => 'ŵ', 'x' => 'ẋ', 'y' => 'ý', 'z' => 'ž', '{' => '(', '|' => '¦', '}' => ')', '~' => '˞', ]) : $text
/src/Symfony/Component/Translation/DataCollectorTranslator.php:1261$this->messages[] = ['locale' => $locale, 'fallbackLocale' => $fallbackLocale, 'domain' => $domain, 'id' => $id, 'translation' => $translation, 'parameters' => $parameters, 'state' => $state, 'transChoiceNumber' => isset($parameters['%count%']) && is_numeric($parameters['%count%']) ? $parameters['%count%'] : null, ]
/src/Symfony/Component/Translation/Util/XliffUtils.php:1761$errors[] = ['level' => \LIBXML_ERR_WARNING == $error->level ? 'WARNING' : 'ERROR', 'code' => $error->code, 'message' => trim($error->message), 'file' => $error->file ?: 'n/a', 'line' => $error->line, 'column' => $error->column, ]
/src/Symfony/Component/Translation/Bridge/Lokalise/LokaliseProvider.php:1441$response = $this->client->request('POST', 'files/export', ['json' => ['format' => 'symfony_xliff', 'original_filenames' => true, 'filter_langs' => array_values($locales), 'filter_filenames' => array_map($this->getLokaliseFilenameFromDomain(...), $domains), 'export_empty_as' => 'skip', 'replace_breaks' => false, ], ])
/src/Symfony/Component/Translation/Bridge/Lokalise/LokaliseProvider.php:2371$keysToUpdate[] = ['key_id' => $keyId, 'platforms' => ['web'], 'filenames' => ['web' => $this->getLokaliseFilenameFromDomain($domain), 'ios' => null, 'android' => null, 'other' => null, ], 'translations' => array_reduce($translatorBag->getCatalogues( ), static function ($carry, MessageCatalogueInterface $catalogue) use ($keyName, $domain) { /**/ } , [ ]), ]
/src/Symfony/Component/Translation/Bridge/Lokalise/LokaliseProvider.php:2771$response = $this->client->request('GET', 'keys', ['query' => ['filter_keys' => implode(',', $keys), 'filter_filenames' => $this->getLokaliseFilenameFromDomain($domain), 'limit' => self::LOKALISE_GET_KEYS_LIMIT, 'page' => $page, ], ])
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:6321$provider = self::createProvider((new MockHttpClient($response))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), $loader, $this->getLogger( ), $this->getDefaultLocale( ), 'api.lokalise.com')
/src/Symfony/Component/Cache/Adapter/PdoAdapter.php:2562$sql = "MERGE INTO $this->table USING DUAL ON ($this->idCol = ?) " . "WHEN NOT MATCHED THEN INSERT ($this->idCol, $this->dataCol, $this->lifetimeCol, $this->timeCol) VALUES (?, ?, ?, ?) " . "WHEN MATCHED THEN UPDATE SET $this->dataCol = ?, $this->lifetimeCol = ?, $this->timeCol = ?"
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:8431yield [['en', 'fr'], ['messages', 'validators'], ['en' => ['messages' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="" datatype="plaintext" xml:space="preserve" source-language="en" target-language="en"> <header> <tool tool-id="lokalise.com" tool-name="Lokalise"/> </header> <body> <trans-unit id="index.greetings" resname="index.greetings"> <source>index.greetings</source> <target>Welcome, {firstname}!</target> </trans-unit> <trans-unit id="index.hello" resname="index.hello"> <source>index.hello</source> <target>Hello</target> </trans-unit> </body> </file> </xliff> XLIFF, 'validators' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="" datatype="plaintext" xml:space="preserve" source-language="en" target-language="en"> <header> <tool tool-id="lokalise.com" tool-name="Lokalise"/> </header> <body> <trans-unit id="lastname.error" resname="lastname.error"> <source>lastname.error</source> <target>Lastname must contains only letters.</target> </trans-unit> <trans-unit id="firstname.error" resname="firstname.error"> <source>firstname.error</source> <target>Firstname must contains only letters.</target> </trans-unit> </body> </file> </xliff> XLIFF, ], 'fr' => ['messages' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="" datatype="plaintext" xml:space="preserve" source-language="en" target-language="fr"> <header> <tool tool-id="lokalise.com" tool-name="Lokalise"/> </header> <body> <trans-unit id="index.greetings" resname="index.greetings"> <source>index.greetings</source> <target>Bienvenue, {firstname} !</target> </trans-unit> <trans-unit id="index.hello" resname="index.hello"> <source>index.hello</source> <target>Bonjour</target> </trans-unit> </body> </file> </xliff> XLIFF, 'validators' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="" datatype="plaintext" xml:space="preserve" source-language="en" target-language="fr"> <header> <tool tool-id="lokalise.com" tool-name="Lokalise"/> </header> <body> <trans-unit id="lastname.error" resname="lastname.error"> <source>lastname.error</source> <target>Le nom de famille ne peut contenir que des lettres.</target> </trans-unit> <trans-unit id="firstname.error" resname="firstname.error"> <source>firstname.error</source> <target>Le prénom ne peut contenir que des lettres.</target> </trans-unit> </body> </file> </xliff> XLIFF, ], ], $expectedTranslatorBag, ]
/src/Symfony/Component/Cache/Adapter/PdoAdapter.php:2632$sql = "MERGE INTO $this->table WITH (HOLDLOCK) USING (SELECT 1 AS dummy) AS src ON ($this->idCol = ?) " . "WHEN NOT MATCHED THEN INSERT ($this->idCol, $this->dataCol, $this->lifetimeCol, $this->timeCol) VALUES (?, ?, ?, ?) " . "WHEN MATCHED THEN UPDATE SET $this->dataCol = ?, $this->lifetimeCol = ?, $this->timeCol = ?;"
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProviderFactory.php:651$client = $this->httpClient->withOptions(['base_uri' => 'https://' . $endpoint . '/v2/projects/' . $this->getUser($dsn) . '/', 'headers' => ['Authorization' => 'token ' . $this->getPassword($dsn), 'User-Agent' => $dsn->getRequiredOption('userAgent'), ], ])
/src/Symfony/Component/Cache/Adapter/PdoAdapter.php:2712$sql = $insertSql . " ON CONFLICT ($this->idCol) DO UPDATE SET ($this->dataCol, $this->lifetimeCol, $this->timeCol) = (EXCLUDED.$this->dataCol, EXCLUDED.$this->lifetimeCol, EXCLUDED.$this->timeCol)"
/src/Symfony/Component/Translation/Bridge/Phrase/PhraseProvider.php:1971$response = $this->httpClient->request('POST', 'locales', ['body' => ['name' => $locale, 'code' => $locale, 'default' => $locale === str_replace('_', '-', $this->defaultLocale), ], 'headers' => ['Content-Type' => 'application/x-www-form-urlencoded', ], ])
/src/Symfony/Component/Cache/Adapter/DoctrineDbalAdapter.php:711$params = (new DsnParser(['db2' => 'ibm_db2', 'mssql' => 'pdo_sqlsrv', 'mysql' => 'pdo_mysql', 'mysql2' => 'pdo_mysql', 'postgres' => 'pdo_pgsql', 'postgresql' => 'pdo_pgsql', 'pgsql' => 'pdo_pgsql', 'sqlite' => 'pdo_sqlite', 'sqlite3' => 'pdo_sqlite', ]))->parse($connOrDsn)
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:8741yield 'default endpoint' => ['provider' => $this->createProvider(httpClient : $this->getHttpClient( )->withOptions(['base_uri' => 'https://api.phrase.com/api/v2/projects/PROJECT_ID/', 'headers' => ['Authorization' => 'token API_TOKEN', 'User-Agent' => 'myProject', ], ])), 'expected' => 'phrase://api.phrase.com', ]
/src/Symfony/Component/Cache/Adapter/DoctrineDbalAdapter.php:2422$sql = "MERGE INTO $this->table USING DUAL ON ($this->idCol = ?) " . "WHEN NOT MATCHED THEN INSERT ($this->idCol, $this->dataCol, $this->lifetimeCol, $this->timeCol) VALUES (?, ?, ?, ?) " . "WHEN MATCHED THEN UPDATE SET $this->dataCol = ?, $this->lifetimeCol = ?, $this->timeCol = ?"
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:8851yield 'custom endpoint' => ['provider' => $this->createProvider(httpClient : $this->getHttpClient( )->withOptions(['base_uri' => 'https://api.us.app.phrase.com/api/v2/projects/PROJECT_ID/', 'headers' => ['Authorization' => 'token API_TOKEN', 'User-Agent' => 'myProject', ], ]), endpoint : 'api.us.app.phrase.com'), 'expected' => 'phrase://api.us.app.phrase.com', ]
/src/Symfony/Component/Cache/Adapter/DoctrineDbalAdapter.php:2492$sql = "MERGE INTO $this->table WITH (HOLDLOCK) USING (SELECT 1 AS dummy) AS src ON ($this->idCol = ?) " . "WHEN NOT MATCHED THEN INSERT ($this->idCol, $this->dataCol, $this->lifetimeCol, $this->timeCol) VALUES (?, ?, ?, ?) " . "WHEN MATCHED THEN UPDATE SET $this->dataCol = ?, $this->lifetimeCol = ?, $this->timeCol = ?;"
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:8961yield 'custom endpoint with port' => ['provider' => $this->createProvider(httpClient : $this->getHttpClient( )->withOptions(['base_uri' => 'https://api.us.app.phrase.com:8080/api/v2/projects/PROJECT_ID/', 'headers' => ['Authorization' => 'token API_TOKEN', 'User-Agent' => 'myProject', ], ]), endpoint : 'api.us.app.phrase.com:8080'), 'expected' => 'phrase://api.us.app.phrase.com:8080', ]
/src/Symfony/Component/Cache/Adapter/DoctrineDbalAdapter.php:2572$sql = $insertSql . " ON CONFLICT ($this->idCol) DO UPDATE SET ($this->dataCol, $this->lifetimeCol, $this->timeCol) = (EXCLUDED.$this->dataCol, EXCLUDED.$this->lifetimeCol, EXCLUDED.$this->timeCol)"
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:10501return ['bad request' => ['statusCode' => $statusCode, 'exceptionMessage' => $exceptionMessage, 'loggerMessage' => $loggerMessage, ], 'rate limit exceeded' => ['statusCode' => 429, 'exceptionMessage' => 'Rate limit exceeded (1000). please wait 60 seconds.', 'loggerMessage' => $loggerMessage, ], 'server unavailable' => ['statusCode' => 503, 'exceptionMessage' => 'Provider server error.', 'loggerMessage' => $loggerMessage, ], ]
/src/Symfony/Component/Cache/Adapter/DoctrineDbalAdapter.php:3561return $this->platformName = match (true) { /**/ }
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:11011return new JsonMockResponse([['id' => '5fea6ed5c21767730918a9400e420832', 'name' => 'de', 'code' => 'de', 'fallback_locale' => null, ], ['id' => '13604ec993beefcdaba732812cdb828c', 'name' => 'en-GB', 'code' => 'en-GB', 'fallback_locale' => ['id' => '5fea6ed5c21767730918a9400e420832', 'name' => 'de', 'code' => 'de', ], ], ])
/src/Symfony/Component/Cache/Tests/Adapter/PredisAdapterTest.php:631$params = ['scheme' => 'tls', 'host' => $redisHost[0], 'port' => (int) ($redisHost[1] ?? 6379), 'ssl' => ['verify_peer' => '0'], 'persistent' => 0, 'timeout' => 3, 'read_write_timeout' => 0, 'tcp_nodelay' => true, 'database' => '1', ]
/src/Symfony/Component/Cache/Adapter/ApcuAdapter.php:811return isset($namespace[0]) && class_exists(\APCUIterator::class, false) && ('cli' !== \PHP_SAPI || filter_var(\ini_get('apc.enable_cli'), \FILTER_VALIDATE_BOOL)) ? apcu_delete(new \APCUIterator(sprintf('/^%s/', preg_quote($namespace, '/')), \APC_ITER_KEY)) : apcu_clear_cache( )
/src/Symfony/Component/Cache/Adapter/PdoAdapter.php:1551$sql = "SELECT $this->idCol, CASE WHEN $this->lifetimeCol IS NULL OR $this->lifetimeCol + $this->timeCol > ? THEN $this->dataCol ELSE NULL END FROM $this->table WHERE $this->idCol IN ($sql)"
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderFactoryTest.php:1491return new PhraseProviderFactory($this->getHttpClient( ), $this->getLogger( ), $this->getLoader( ), $this->getXliffFileDumper( ), $this->getCache( ), $this->getDefaultLocale( ))
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:411yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), new ArrayLoader( ), new NullLogger( ), 'en', 'api.crowdin.com'), 'crowdin://api.crowdin.com', ]
/src/Symfony/Component/Translation/Bridge/Phrase/Tests/PhraseProviderTest.php:11241return new PhraseProvider($httpClient ?? $this->getHttpClient( ), $this->getLogger( ), $this->getLoader( ), $dumper ?? $this->getXliffFileDumper( ), $this->getCache( ), $this->getDefaultLocale( ), $endpoint ?? $this->getEndpoint( ), $this->getReadConfig( ), $this->getWriteConfig( ), $isFallbackLocaleEnabled, )
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:401yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY', ], ]), new ArrayLoader( ), new NullLogger( ), 'en', 'localise.biz/api/'), 'loco://localise.biz/api/', ]
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:11339$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:10949$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Translation/Bridge/Loco/LocoProvider.php:1071$response = $this->client->request('GET', sprintf('export/locale/%s.xlf', rawurlencode($locale)), ['query' => ['filter' => $domain, 'status' => 'translated,blank-translation', ], 'headers' => ['If-Modified-Since' => $previousCatalogue instanceof CatalogueMetadataAwareInterface ? $previousCatalogue->getCatalogueMetadata('last-modified', $domain) : null, ], ])
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:11989$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:8844$crowdinProvider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:7574$crowdinProvider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:10224$crowdinProvider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:9674$crowdinProvider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:4199$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:3069$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:6109$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:4999$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:571yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://api.crowdin.com:99/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), new ArrayLoader( ), new NullLogger( ), 'en', 'api.crowdin.com:99'), 'crowdin://api.crowdin.com:99', ]
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:491yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://domain.api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), new ArrayLoader( ), new NullLogger( ), 'en', 'domain.api.crowdin.com'), 'crowdin://domain.api.crowdin.com', ]
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:2289$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Translation/Bridge/Crowdin/Tests/CrowdinProviderTest.php:1609$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://api.crowdin.com/api/v2/projects/1/', 'auth_bearer' => 'API_TOKEN', ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.crowdin.com/api/v2/projects/1/')
/src/Symfony/Component/Config/Tests/Definition/MergeTest.php:1361$tree = $tb->getRootNode( )->children( )->node('no_deep_merging', 'array')->performNoDeepMerging( )->children( )->node('foo', 'scalar')->end( )->node('bar', 'scalar')->end( )->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Tests/Definition/MergeTest.php:511$tree = $tb->getRootNode( )->children( )->node('foo', 'scalar')->end( )->node('bar', 'scalar')->end( )->node('unsettable', 'array')->canBeUnset( )->children( )->node('foo', 'scalar')->end( )->node('bar', 'scalar')->end( )->end( )->end( )->node('unsetted', 'array')->canBeUnset( )->prototype('scalar')->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Tests/Definition/MergeTest.php:991$tree = $tb->getRootNode( )->children( )->node('test', 'array')->disallowNewKeysInSubsequentConfigs( )->useAttributeAsKey('key')->prototype('array')->children( )->node('value', 'scalar')->end( )->end( )->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Util/XmlUtils.php:2451$errors[] = sprintf('[%s %s] %s (in %s - line %d, column %d)', \LIBXML_ERR_WARNING == $error->level ? 'WARNING' : 'ERROR', $error->code, trim($error->message), $error->file ?: 'n/a', $error->line, $error->column)
/src/Symfony/Component/Config/Tests/Definition/MergeTest.php:241$tree = $tb->getRootNode( )->children( )->node('foo', 'scalar')->cannotBeOverwritten( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Notifier/Message/EmailMessage.php:451$email = (new Email( ))->to($recipient->getEmail( ))->subject($notification->getSubject( ))->text($notification->getContent( ) ?: $notification->getSubject( ))
/src/Symfony/Component/Notifier/Message/EmailMessage.php:511$email = (new NotificationEmail( ))->to($recipient->getEmail( ))->subject($notification->getSubject( ))->content($notification->getContent( ) ?: $notification->getSubject( ))->importance($notification->getImportance( ))
/src/Symfony/Component/Notifier/Bridge/Mobyt/MobytTransport.php:721$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/API/v1.0/REST/sms', ['headers' => ['user_key' => $this->accountSid, 'Access_token' => $this->authToken, ], 'json' => array_filter($options), ])
/src/Symfony/Component/Notifier/Tests/Channel/BrowserChannelTest.php:681return [[new DefaultFlashMessageImportanceMapper( ), Notification::IMPORTANCE_URGENT, 'notification'], [new DefaultFlashMessageImportanceMapper( ), Notification::IMPORTANCE_HIGH, 'notification'], [new DefaultFlashMessageImportanceMapper( ), Notification::IMPORTANCE_MEDIUM, 'notification'], [new DefaultFlashMessageImportanceMapper( ), Notification::IMPORTANCE_LOW, 'notification'], [new BootstrapFlashMessageImportanceMapper( ), Notification::IMPORTANCE_URGENT, 'danger'], [new BootstrapFlashMessageImportanceMapper( ), Notification::IMPORTANCE_HIGH, 'warning'], [new BootstrapFlashMessageImportanceMapper( ), Notification::IMPORTANCE_MEDIUM, 'info'], [new BootstrapFlashMessageImportanceMapper( ), Notification::IMPORTANCE_LOW, 'success'], ]
/src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Tests/MicrosoftTeamsOptionsTest.php:2471$options = (new MicrosoftTeamsOptions( ))->action(new OpenUriAction( ))->action(new OpenUriAction( ))->action(new OpenUriAction( ))->action(new OpenUriAction( ))
/src/Symfony/Component/Notifier/Bridge/LinkedIn/Tests/LinkedInTransportTest.php:1512$expectedBody = json_encode(['specificContent' => ['com.linkedin.ugc.ShareContent' => ['shareCommentary' => ['attributes' => [ ], 'text' => 'testMessage', ], 'shareMediaCategory' => 'NONE', ], ], 'visibility' => ['com.linkedin.ugc.MemberNetworkVisibility' => 'PUBLIC', ], 'lifecycleState' => 'PUBLISHED', 'author' => 'urn:li:person:AccountId', ])
/src/Symfony/Component/Notifier/Bridge/LinkedIn/Tests/LinkedInTransportTest.php:1042$expectedBody = json_encode(['specificContent' => ['com.linkedin.ugc.ShareContent' => ['shareCommentary' => ['attributes' => [ ], 'text' => 'testMessage', ], 'shareMediaCategory' => 'NONE', ], ], 'visibility' => ['com.linkedin.ugc.MemberNetworkVisibility' => 'PUBLIC', ], 'lifecycleState' => 'PUBLISHED', 'author' => 'urn:li:person:AccountId', ])
/src/Symfony/Component/Notifier/Bridge/LinkedIn/LinkedInTransport.php:1061return ['specificContent' => ['com.linkedin.ugc.ShareContent' => ['shareCommentary' => ['attributes' => [ ], 'text' => $message->getSubject( ), ], 'shareMediaCategory' => 'NONE', ], ], 'visibility' => ['com.linkedin.ugc.MemberNetworkVisibility' => 'PUBLIC', ], 'lifecycleState' => 'PUBLISHED', 'author' => sprintf('urn:li:person:%s', $this->accountId), ]
/src/Symfony/Component/Notifier/Bridge/LinkedIn/LinkedInTransport.php:761$response = $this->client->request('POST', $endpoint, ['auth_bearer' => $this->authToken, 'headers' => ['X-Restli-Protocol-Version' => '2.0.0'], 'json' => array_filter($options?->toArray( ) ?? $this->bodyFromMessageWithNoOption($message)), ])
/src/Symfony/Component/Notifier/Bridge/MessageMedia/Tests/MessageMediaOptionsTest.php:211$messageMediaOptions = (new MessageMediaOptions( ))->media(['test_media'])->callbackUrl('test_callback_url')->format('test_format')->deliveryReport(true)->expiry(999)->metadata(['test_metadata'])->scheduled('test_scheduled')->subject('test_subject')
/src/Symfony/Component/Notifier/Bridge/SmsFactor/SmsFactorTransport.php:741$response = $this->client->request('GET', 'https://' . $this->getEndpoint( ) . '/send', ['query' => array_filter($query), 'auth_bearer' => $this->tokenApi, 'headers' => ['Accept' => 'application/json', ], ])
/src/Symfony/Component/Notifier/Bridge/SmsFactor/SmsFactorTransport.php:661$query = ['to' => $message->getPhone( ), 'text' => $message->getSubject( ), 'gsmsmsid' => $messageId, 'sender' => $message->getFrom( ) ?: $this->sender, 'pushtype' => $this->pushType?->value, ]
/src/Symfony/Component/Notifier/Bridge/Brevo/BrevoTransport.php:581$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/v3/transactionalSMS/sms', ['json' => ['sender' => $sender, 'recipient' => $message->getPhone( ), 'content' => $message->getSubject( ), ], 'headers' => ['api-key' => $this->apiKey, ], ])
/src/Symfony/Component/Notifier/Bridge/Sms77/Sms77Transport.php:591$response = $this->client->request('POST', $endpoint, ['headers' => ['Content-Type' => 'application/json', 'SentWith' => 'Symfony Notifier', 'X-Api-Key' => $this->apiKey, ], 'json' => ['from' => $message->getFrom( ) ?: $this->from, 'json' => 1, 'text' => $message->getSubject( ), 'to' => $message->getPhone( ), ], ])
/src/Symfony/Component/Notifier/Bridge/Smsc/SmscTransport.php:621$body = ['login' => $this->login, 'psw' => $this->password, 'sender' => $message->getFrom( ) ?: $this->from, 'phones' => $message->getPhone( ), 'mes' => $message->getSubject( ), 'fmt' => 3, 'charset' => 'utf-8', 'time' => '0-24', ]
/src/Symfony/Component/Notifier/Bridge/Clickatell/ClickatellTransport.php:691$response = $this->client->request('POST', $endpoint, ['headers' => ['Accept' => 'application/json', 'Authorization' => 'Bearer ' . $this->authToken, 'Content-Type' => 'application/json', 'X-Version' => 1, ], 'json' => array_filter($options), ])
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:5903$response = new JsonMockResponse(['ok' => true, 'result' => array_merge(['message_id' => 1, 'from' => ['id' => 12345678, 'is_bot' => true, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, ], $responseContent), ])
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:6301return ['photo' => ['messageOptions' => (new TelegramOptions( ))->uploadPhoto(self::FIXTURE_FILE)->hasSpoiler(true), 'endpoint' => 'sendPhoto', 'fileOption' => 'photo', 'expectedBody' => ['has_spoiler' => true, 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'photo' => self::FIXTURE_FILE, 'caption' => 'testMessage', ], 'responseContent' => ['photo' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'width' => 90, 'height' => 51, ], 'caption' => 'testMessage', ], ], 'video' => ['messageOptions' => (new TelegramOptions( ))->uploadVideo(self::FIXTURE_FILE), 'endpoint' => 'sendVideo', 'fileOption' => 'video', 'expectedBody' => ['chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'video' => self::FIXTURE_FILE, 'caption' => 'testMessage', ], 'responseContent' => ['video' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, ], 'caption' => 'testMessage', ], ], 'animation' => ['messageOptions' => (new TelegramOptions( ))->uploadAnimation(self::FIXTURE_FILE), 'endpoint' => 'sendAnimation', 'fileOption' => 'animation', 'expectedBody' => ['chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'animation' => self::FIXTURE_FILE, 'caption' => 'testMessage', ], 'responseContent' => ['animation' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, ], 'caption' => 'testMessage', ], ], 'audio' => ['messageOptions' => (new TelegramOptions( ))->uploadAudio(self::FIXTURE_FILE), 'endpoint' => 'sendAudio', 'fileOption' => 'audio', 'expectedBody' => ['chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'audio' => self::FIXTURE_FILE, 'caption' => 'testMessage', ], 'responseContent' => ['audio' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, ], 'caption' => 'testMessage', ], ], 'document' => ['messageOptions' => (new TelegramOptions( ))->uploadDocument(self::FIXTURE_FILE), 'endpoint' => 'sendDocument', 'fileOption' => 'document', 'expectedBody' => ['chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'document' => self::FIXTURE_FILE, 'caption' => 'testMessage', ], 'responseContent' => ['document' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'file_name' => 'document.odt', 'mime_type' => 'application/vnd.oasis.opendocument.text', ], 'caption' => 'testMessage', ], ], 'sticker' => ['messageOptions' => (new TelegramOptions( ))->uploadSticker(self::FIXTURE_FILE, '🤖'), 'endpoint' => 'sendSticker', 'fileOption' => 'sticker', 'expectedBody' => ['emoji' => '🤖', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'sticker' => self::FIXTURE_FILE, ], 'responseContent' => ['sticker' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'type' => 'regular', 'width' => 100, 'height' => 110, 'is_animated' => false, 'is_video' => false, 'emoji' => '🤖', ], 'caption' => 'testMessage', ], ], 'sticker-without-emoji' => ['messageOptions' => (new TelegramOptions( ))->uploadSticker(self::FIXTURE_FILE), 'endpoint' => 'sendSticker', 'fileOption' => 'sticker', 'expectedBody' => ['chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'sticker' => self::FIXTURE_FILE, ], 'responseContent' => ['sticker' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'type' => 'regular', 'width' => 100, 'height' => 110, 'is_animated' => false, 'is_video' => false, ], 'caption' => 'testMessage', ], ], ]
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:4423$response = new JsonMockResponse(['ok' => true, 'result' => array_merge(['message_id' => 1, 'from' => ['id' => 12345678, 'is_bot' => true, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, ], $responseContent), ])
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:4821return ['photo' => ['messageOptions' => (new TelegramOptions( ))->photo('ABCDEF')->hasSpoiler(true), 'endpoint' => 'sendPhoto', 'expectedBody' => ['photo' => 'ABCDEF', 'has_spoiler' => true, 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['photo' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'width' => 90, 'height' => 51, ], 'caption' => 'testMessage', ], ], 'video' => ['messageOptions' => (new TelegramOptions( ))->video('ABCDEF'), 'endpoint' => 'sendVideo', 'expectedBody' => ['video' => 'ABCDEF', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['video' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, ], 'caption' => 'testMessage', ], ], 'animation' => ['messageOptions' => (new TelegramOptions( ))->animation('ABCDEF'), 'endpoint' => 'sendAnimation', 'expectedBody' => ['animation' => 'ABCDEF', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['animation' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, ], 'caption' => 'testMessage', ], ], 'audio' => ['messageOptions' => (new TelegramOptions( ))->audio('ABCDEF'), 'endpoint' => 'sendAudio', 'expectedBody' => ['audio' => 'ABCDEF', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['audio' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, ], 'caption' => 'testMessage', ], ], 'document' => ['messageOptions' => (new TelegramOptions( ))->document('ABCDEF'), 'endpoint' => 'sendDocument', 'expectedBody' => ['document' => 'ABCDEF', 'chat_id' => 'testChannel', 'parse_mode' => 'MarkdownV2', 'caption' => 'testMessage', ], 'responseContent' => ['document' => ['file_id' => 'ABCDEF', 'file_unique_id' => 'ABCDEF1', 'file_size' => 1378, 'file_name' => 'document.odt', 'mime_type' => 'application/vnd.oasis.opendocument.text', ], 'caption' => 'testMessage', ], ], ]
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:9241$response = new JsonMockResponse(['ok' => true, 'result' => ['message_id' => 1, 'from' => ['id' => 12345678, 'is_bot' => true, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, 'location' => ['latitude' => 48.8566, 'longitude' => 2.3522, ], 'venue' => ['location' => ['latitude' => 48.8566, 'longitude' => 2.3522, ], 'title' => 'Center of Paris', 'address' => 'France, Paris', ], ], ])
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:9971$response = new JsonMockResponse(['ok' => true, 'result' => ['message_id' => 1, 'from' => ['id' => 12345678, 'is_bot' => true, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, 'contact' => ['phone_number' => '+330186657200', 'first_name' => 'John', 'last_name' => 'Doe', 'vcard' => $vCard, 'user_id' => 1234567891, ], ], ])
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:7943$response = new JsonMockResponse(['ok' => true, 'result' => array_merge(['message_id' => 1, 'from' => ['id' => 12345678, 'is_bot' => true, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, ], $responseContent), ])
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:8711$response = new JsonMockResponse(['ok' => true, 'result' => ['message_id' => 1, 'from' => ['id' => 12345678, 'is_bot' => true, 'first_name' => 'YourBot', 'username' => 'YourBot', ], 'chat' => ['id' => 1234567890, 'first_name' => 'John', 'last_name' => 'Doe', 'username' => 'JohnDoe', 'type' => 'private', ], 'date' => 1459958199, 'location' => ['latitude' => 48.8566, 'longitude' => 2.3522, ], ], ])
/src/Symfony/Component/Notifier/Bridge/Iqsms/IqsmsTransport.php:601$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/messages/v2/send.json', ['json' => ['messages' => [['phone' => $message->getPhone( ), 'text' => $message->getSubject( ), 'sender' => $message->getFrom( ) ?: $this->from, 'clientId' => uniqid( ), ], ], 'login' => $this->login, 'password' => $this->password, ], ])
/src/Symfony/Component/Notifier/Bridge/Yunpian/YunpianTransport.php:621$response = $this->client->request('POST', $endpoint, ['body' => ['apikey' => $this->apiKey, 'mobile' => $message->getPhone( ), 'text' => $message->getSubject( ), ], ])
/src/Symfony/Component/Notifier/Bridge/Telegram/Tests/TelegramTransportTest.php:10581return ['edit' => [(new TelegramOptions( ))->edit(1)->video('')], 'answerCallbackQuery' => [(new TelegramOptions( ))->answerCallbackQuery('')->video('')], 'photo' => [(new TelegramOptions( ))->photo('')->video('')], 'location' => [(new TelegramOptions( ))->location(48.8566, 2.3522)->video('')], 'audio' => [(new TelegramOptions( ))->audio('')->video('')], 'document' => [(new TelegramOptions( ))->document('')->video('')], 'video' => [(new TelegramOptions( ))->video('')->animation('')], 'animation' => [(new TelegramOptions( ))->animation('')->video('')], 'venue' => [(new TelegramOptions( ))->venue(48.8566, 2.3522, '', '')->video('')], 'contact' => [(new TelegramOptions( ))->contact('', '')->video('')], 'sticker' => [(new TelegramOptions( ))->sticker('')->video('')], 'uploadPhoto' => [(new TelegramOptions( ))->uploadPhoto(self::FIXTURE_FILE)->video('')], 'uploadAudio' => [(new TelegramOptions( ))->uploadAudio(self::FIXTURE_FILE)->video('')], 'uploadDocument' => [(new TelegramOptions( ))->uploadDocument(self::FIXTURE_FILE)->video('')], 'uploadVideo' => [(new TelegramOptions( ))->uploadVideo(self::FIXTURE_FILE)->animation('')], 'uploadAnimation' => [(new TelegramOptions( ))->uploadAnimation(self::FIXTURE_FILE)->video('')], 'uploadSticker' => [(new TelegramOptions( ))->uploadSticker(self::FIXTURE_FILE)->video('')], ]
/src/Symfony/Component/Notifier/Bridge/Sinch/SinchTransport.php:611$response = $this->client->request('POST', $endpoint, ['auth_bearer' => $this->authToken, 'json' => ['from' => $message->getFrom( ) ?: $this->from, 'to' => [$message->getPhone( )], 'body' => $message->getSubject( ), ], ])
/src/Symfony/Component/Notifier/Bridge/Slack/Tests/SlackOptionsTest.php:1561yield 'with content + without exception' => [['icon_emoji' => $emoji, 'blocks' => [['type' => 'section', 'text' => ['type' => 'mrkdwn', 'text' => $subject, ], ], ['type' => 'section', 'text' => ['type' => 'mrkdwn', 'text' => $content, ], ], ], ], (new Notification($subject))->emoji($emoji)->content($content), ]
/src/Symfony/Component/Notifier/Bridge/Engagespot/EngagespotTransport.php:761$response = $this->client->request('POST', $endpoint, ['headers' => ['API-Key' => $this->apiKey, ], 'json' => ['campaign_name' => $options['campaign_name'] ?? $this->campaignName, 'notification' => ['title' => $message->getSubject( ), 'message' => $message->getContent( ), 'icon' => $options['icon'] ?? '', 'url' => $options['url'] ?? '#', ], 'send_to' => $sendToEveryone ? 'everyone' : 'identifiers', 'identifiers' => $identifiers ?? null, ], ])
/src/Symfony/Component/Notifier/Bridge/Slack/SlackTransport.php:831$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/api/' . $apiMethod, ['json' => array_filter($options), 'auth_bearer' => $this->accessToken, 'headers' => ['Content-Type' => 'application/json; charset=utf-8', ], ])
/src/Symfony/Component/Notifier/Bridge/Slack/Tests/SlackOptionsTest.php:1401yield 'without content + without exception' => [['icon_emoji' => $emoji, 'blocks' => [['type' => 'section', 'text' => ['type' => 'mrkdwn', 'text' => $subject, ], ], ], ], (new Notification($subject))->emoji($emoji), ]
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:3611$provider = self::createProvider((new MockHttpClient([$getLanguagesResponse, $createLanguagesResponse, $getKeysIdsForMessagesDomainResponse, ]))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.lokalise.com')
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:4411$provider = self::createProvider((new MockHttpClient([$getLanguagesResponse, $createLanguagesResponse, $getKeysIdsForMessagesDomainResponse, $createKeysForMessagesDomainResponse, ]))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.lokalise.com')
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:5331$provider = self::createProvider((new MockHttpClient([$getLanguagesResponse, $createLanguagesResponse, $getKeysIdsForMessagesDomainResponse, $createKeysForMessagesDomainResponse, $updateTranslationsResponse, ]))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.lokalise.com')
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:5851$provider = self::createProvider((new MockHttpClient($response))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), new XliffFileLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.lokalise.com')
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:1751$expectedBody = json_encode(['keys' => [['key_id' => 29, 'platforms' => ['web'], 'filenames' => ['web' => 'messages.xliff', 'ios' => null, 'android' => null, 'other' => null, ], 'translations' => [['language_iso' => 'en', 'translation' => 'puppy', ], ['language_iso' => 'fr', 'translation' => 'chiot', ], ], ], ['key_id' => 92, 'platforms' => ['web'], 'filenames' => ['web' => 'validators.xliff', 'ios' => null, 'android' => null, 'other' => null, ], 'translations' => [['language_iso' => 'en', 'translation' => '{count, plural, one {# comment} other {# comments}}', ], ['language_iso' => 'fr', 'translation' => '{count, plural, one {# commentaire} other {# commentaires}}', ], ], ], ], ])
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:2271$provider = self::createProvider((new MockHttpClient([$getLanguagesResponse, $createLanguagesResponse, $getKeysIdsForMessagesDomainResponse, $getKeysIdsForValidatorsDomainResponse, $createKeysForMessagesDomainResponse, $createKeysForValidatorsDomainResponse, $updateTranslationsResponse, ]))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.lokalise.com')
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:2631$provider = self::createProvider((new MockHttpClient([$getLanguagesResponse, ]))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.lokalise.com')
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:3041$provider = self::createProvider((new MockHttpClient([$getLanguagesResponse, $createLanguagesResponse, ]))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'api.lokalise.com')
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:411yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://api.lokalise.com/api2/projects/PROJECT_ID/', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), new ArrayLoader( ), new NullLogger( ), 'en', 'api.lokalise.com'), 'lokalise://api.lokalise.com', ]
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:491yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://example.com', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), new ArrayLoader( ), new NullLogger( ), 'en', 'example.com'), 'lokalise://example.com', ]
/src/Symfony/Component/Translation/Bridge/Lokalise/Tests/LokaliseProviderTest.php:571yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://example.com:99', 'headers' => ['X-Api-Token' => 'API_KEY'], ]), new ArrayLoader( ), new NullLogger( ), 'en', 'example.com:99'), 'lokalise://example.com:99', ]
/src/Symfony/Component/Config/Tests/Definition/MergeTest.php:1751$tree = $tb->getRootNode( )->children( )->arrayNode('append_elements')->prototype('scalar')->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php:271$tree = $tb->getRootNode( )->fixXmlConfig('encoder')->children( )->node('encoders', 'array')->useAttributeAsKey('class')->prototype('array')->beforeNormalization( )->ifString( )->then(fn ($v) => ['algorithm' => $v])->end( )->children( )->node('algorithm', 'scalar')->end( )->end( )->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php:1001$tree = $tb->getRootNode( )->children( )->node('logout', 'array')->fixXmlConfig('handler')->children( )->node('handlers', 'array')->prototype('scalar')->end( )->end( )->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php:1881$tree = $tb->getRootNode( )->prototype('array')->children( )->node('foo', 'scalar')->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php:2061$tree = (new TreeBuilder('root'))->getRootNode( )->useAttributeAsKey('number')->arrayPrototype( )->children( )->scalarNode('foo')->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Tests/Definition/NormalizationTest.php:2371return (new TreeBuilder('root', 'array'))->getRootNode( )->children( )->node('thing', 'array')->useAttributeAsKey('id')->prototype('array')->prototype('scalar')->end( )->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Tests/Definition/PrototypedArrayNodeTest.php:2931return [[$scalarValue, [['id' => 'option1', 'value' => 'value1'], ], ['option1' => 'value1'], ], [$scalarValue, [['id' => 'option1', 'value' => 'value1'], ['id' => 'option2', 'value' => 'value2', 'foo' => 'foo2'], ], ['option1' => 'value1', 'option2' => ['value' => 'value2', 'foo' => 'foo2'], ], ], [$arrayValue, [['id' => 'option1', 'value' => ['foo' => 'foo1', 'bar' => 'bar1'], ], ], ['option1' => ['foo' => 'foo1', 'bar' => 'bar1'], ], ], [$variableValue, [['id' => 'option1', 'value' => ['foo' => 'foo1', 'bar' => 'bar1'], ], ['id' => 'option2', 'value' => 'value2'], ], ['option1' => ['foo' => 'foo1', 'bar' => 'bar1'], 'option2' => 'value2', ], ], ]
/src/Symfony/Component/Config/Tests/Definition/FinalizationTest.php:241$tree = $tb->getRootNode( )->children( )->node('level1', 'array')->canBeUnset( )->children( )->node('level2', 'array')->canBeUnset( )->children( )->node('somevalue', 'scalar')->end( )->node('anothervalue', 'scalar')->end( )->end( )->end( )->node('level1_scalar', 'scalar')->end( )->end( )->end( )->end( )->end( )->buildTree( )
/src/Symfony/Component/Config/Definition/BaseNode.php:2651return ['package' => $this->deprecation['package'], 'version' => $this->deprecation['version'], 'message' => strtr($this->deprecation['message'], ['%node%' => $node, '%path%' => $path]), ]
/src/Symfony/Component/Config/Definition/BaseNode.php:4971$e = new InvalidTypeException(sprintf('Invalid type for path "%s". Expected %s, but got %s.', $this->getPath( ), 1 === \count($validTypes) ? '"' . reset($validTypes) . '"' : 'one of "' . implode('", "', $validTypes) . '"', 1 === \count($knownTypes) ? '"' . reset($knownTypes) . '"' : 'one of "' . implode('", "', $knownTypes) . '"'))
/src/Symfony/Component/Security/Core/Tests/User/InMemoryUserTest.php:841return [[true, new InMemoryUser('username', 'password'), new InMemoryUser('username', 'password')], [false, new InMemoryUser('username', 'password', ['ROLE']), new InMemoryUser('username', 'password')], [false, new InMemoryUser('username', 'password', ['ROLE']), new InMemoryUser('username', 'password', ['NO ROLE'])], [false, new InMemoryUser('diff', 'diff'), new InMemoryUser('username', 'password')], [false, new InMemoryUser('diff', 'diff', [ ], false), new InMemoryUser('username', 'password')], ]
/src/Symfony/Component/Security/Core/Tests/Authorization/ExpressionLanguageTest.php:561return [[$noToken, 'is_authenticated()', false], [$noToken, 'is_fully_authenticated()', false], [$noToken, 'is_remember_me()', false], [$rememberMeToken, 'is_authenticated()', true], [$rememberMeToken, 'is_fully_authenticated()', false], [$rememberMeToken, 'is_remember_me()', true], [$rememberMeToken, "is_granted('ROLE_FOO')", false], [$rememberMeToken, "is_granted('ROLE_USER')", true], [$usernamePasswordToken, 'is_authenticated()', true], [$usernamePasswordToken, 'is_fully_authenticated()', true], [$usernamePasswordToken, 'is_remember_me()', false], [$usernamePasswordToken, "is_granted('ROLE_FOO')", false], [$usernamePasswordToken, "is_granted('ROLE_USER')", true], ]
/src/Symfony/Component/Security/Core/Tests/Authorization/TraceableAccessDecisionManagerTest.php:581yield [[['attributes' => ['ATTRIBUTE_1'], 'object' => null, 'result' => true, 'voterDetails' => [['voter' => $voter1, 'attributes' => ['ATTRIBUTE_1'], 'vote' => VoterInterface::ACCESS_GRANTED], ['voter' => $voter2, 'attributes' => ['ATTRIBUTE_1'], 'vote' => VoterInterface::ACCESS_GRANTED], ], ]], ['ATTRIBUTE_1'], null, [[$voter1, VoterInterface::ACCESS_GRANTED], [$voter2, VoterInterface::ACCESS_GRANTED], ], true, ]
/src/Symfony/Component/Security/Core/Tests/Authorization/TraceableAccessDecisionManagerTest.php:761yield [[['attributes' => ['ATTRIBUTE_1', 'ATTRIBUTE_2'], 'object' => true, 'result' => false, 'voterDetails' => [['voter' => $voter1, 'attributes' => ['ATTRIBUTE_1', 'ATTRIBUTE_2'], 'vote' => VoterInterface::ACCESS_ABSTAIN], ['voter' => $voter2, 'attributes' => ['ATTRIBUTE_1', 'ATTRIBUTE_2'], 'vote' => VoterInterface::ACCESS_GRANTED], ], ]], ['ATTRIBUTE_1', 'ATTRIBUTE_2'], true, [[$voter1, VoterInterface::ACCESS_ABSTAIN], [$voter2, VoterInterface::ACCESS_GRANTED], ], false, ]
/src/Symfony/Component/Security/Core/Tests/Authorization/TraceableAccessDecisionManagerTest.php:941yield [[['attributes' => [null], 'object' => 'jolie string', 'result' => false, 'voterDetails' => [['voter' => $voter1, 'attributes' => [null], 'vote' => VoterInterface::ACCESS_ABSTAIN], ['voter' => $voter2, 'attributes' => [null], 'vote' => VoterInterface::ACCESS_DENIED], ], ]], [null], 'jolie string', [[$voter1, VoterInterface::ACCESS_ABSTAIN], [$voter2, VoterInterface::ACCESS_DENIED], ], false, ]
/src/Symfony/Component/Security/Core/Tests/Authorization/TraceableAccessDecisionManagerTest.php:1361yield [[['attributes' => ['ATTRIBUTE_2'], 'object' => $x = [ ], 'result' => false, 'voterDetails' => [['voter' => $voter1, 'attributes' => ['ATTRIBUTE_2'], 'vote' => VoterInterface::ACCESS_ABSTAIN], ['voter' => $voter2, 'attributes' => ['ATTRIBUTE_2'], 'vote' => VoterInterface::ACCESS_ABSTAIN], ], ]], ['ATTRIBUTE_2'], $x, [[$voter1, VoterInterface::ACCESS_ABSTAIN], [$voter2, VoterInterface::ACCESS_ABSTAIN], ], false, ]
/src/Symfony/Component/Security/Core/Tests/Authorization/TraceableAccessDecisionManagerTest.php:1241yield [[['attributes' => [new \stdClass( )], 'object' => $x = fopen(__FILE__, 'r'), 'result' => true, 'voterDetails' => [ ], ]], [new \stdClass( )], $x, [ ], true, ]
/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/RoleVoterTest.php:351return [[[ ], [ ], VoterInterface::ACCESS_ABSTAIN], [[ ], ['FOO'], VoterInterface::ACCESS_ABSTAIN], [[ ], ['ROLE_FOO'], VoterInterface::ACCESS_DENIED], [['ROLE_FOO'], ['ROLE_FOO'], VoterInterface::ACCESS_GRANTED], [['ROLE_FOO'], ['FOO', 'ROLE_FOO'], VoterInterface::ACCESS_GRANTED], [['ROLE_BAR', 'ROLE_FOO'], ['ROLE_FOO'], VoterInterface::ACCESS_GRANTED], [[ ], [[ ]], VoterInterface::ACCESS_ABSTAIN], [[ ], [new \stdClass( )], VoterInterface::ACCESS_ABSTAIN], ]
/src/Symfony/Component/Security/Core/Tests/Authorization/TraceableAccessDecisionManagerTest.php:1541yield [[['attributes' => [12.13], 'object' => new \stdClass( ), 'result' => false, 'voterDetails' => [['voter' => $voter1, 'attributes' => [12.13], 'vote' => VoterInterface::ACCESS_DENIED], ['voter' => $voter2, 'attributes' => [12.13], 'vote' => VoterInterface::ACCESS_DENIED], ], ]], [12.13], new \stdClass( ), [[$voter1, VoterInterface::ACCESS_DENIED], [$voter2, VoterInterface::ACCESS_DENIED], ], false, ]
/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/VoterTest.php:331return [[$voter, ['EDIT'], VoterInterface::ACCESS_GRANTED, new \stdClass( ), 'ACCESS_GRANTED if attribute and class are supported and attribute grants access'], [$voter, ['CREATE'], VoterInterface::ACCESS_DENIED, new \stdClass( ), 'ACCESS_DENIED if attribute and class are supported and attribute does not grant access'], [$voter, ['DELETE', 'EDIT'], VoterInterface::ACCESS_GRANTED, new \stdClass( ), 'ACCESS_GRANTED if one attribute is supported and grants access'], [$voter, ['DELETE', 'CREATE'], VoterInterface::ACCESS_DENIED, new \stdClass( ), 'ACCESS_DENIED if one attribute is supported and denies access'], [$voter, ['CREATE', 'EDIT'], VoterInterface::ACCESS_GRANTED, new \stdClass( ), 'ACCESS_GRANTED if one attribute grants access'], [$voter, ['DELETE'], VoterInterface::ACCESS_ABSTAIN, new \stdClass( ), 'ACCESS_ABSTAIN if no attribute is supported'], [$voter, ['EDIT'], VoterInterface::ACCESS_ABSTAIN, new class ( ) { /**/ } , 'ACCESS_ABSTAIN if class is not supported'], [$voter, ['EDIT'], VoterInterface::ACCESS_ABSTAIN, null, 'ACCESS_ABSTAIN if object is null'], [$voter, [ ], VoterInterface::ACCESS_ABSTAIN, new \stdClass( ), 'ACCESS_ABSTAIN if no attributes were provided'], [$voter, [new StringableAttribute( )], VoterInterface::ACCESS_GRANTED, new \stdClass( ), 'ACCESS_GRANTED if attribute and class are supported and attribute grants access'], [$voter, [new \stdClass( )], VoterInterface::ACCESS_ABSTAIN, new \stdClass( ), 'ACCESS_ABSTAIN if attributes were not strings'], [$integerVoter, [42], VoterInterface::ACCESS_GRANTED, new \stdClass( ), 'ACCESS_GRANTED if attribute is an integer'], ]
/src/Symfony/Component/Validator/Command/DebugCommand.php:1821$data[] = ['class' => 'property options', 'groups' => [ ], 'options' => ['cascadeStrategy' => CascadingStrategy::CASCADE === $metadata->getCascadingStrategy( ) ? 'Cascade' : 'None', 'autoMappingStrategy' => $autoMapingStrategy, 'traversalStrategy' => $traversalStrategy, ], ]
/src/Symfony/Component/RateLimiter/Policy/SlidingWindowLimiter.php:881$reservation = new Reservation($now + $waitDuration, new RateLimit($this->getAvailableTokens($window->getHitCount( )), \DateTimeImmutable::createFromFormat('U', floor($now + $waitDuration)), false, $this->limit))
/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanValidatorTest.php:631return [[1, '1', 2, '2', 'int'], [2, '2', 2, '2', 'int'], [new \DateTime('2000/01/01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), new \DateTime('2005/01/01'), self::normalizeIcuSpaces("Jan 1, 2005, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000/01/01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), new \DateTime('2000/01/01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000/01/01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2005/01/01', self::normalizeIcuSpaces("Jan 1, 2005, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000/01/01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2000/01/01', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000/01/01 UTC'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2005/01/01 UTC', self::normalizeIcuSpaces("Jan 1, 2005, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000/01/01 UTC'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2000/01/01 UTC', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new ComparisonTest_Class(4), '4', new ComparisonTest_Class(5), '5', __NAMESPACE__ . '\ComparisonTest_Class'], [new ComparisonTest_Class(5), '5', new ComparisonTest_Class(5), '5', __NAMESPACE__ . '\ComparisonTest_Class'], ['22', '"22"', '333', '"333"', 'string'], ['22', '"22"', '22', '"22"', 'string'], ]
/src/Symfony/Component/Validator/Tests/DependencyInjection/AddConstraintValidatorsPassTest.php:401$expected = (new Definition(ServiceLocator::class, [[Validator1::class => new ServiceClosureArgument(new Reference('my_constraint_validator_service1')), 'my_constraint_validator_alias1' => new ServiceClosureArgument(new Reference('my_constraint_validator_service1')), Validator2::class => new ServiceClosureArgument(new Reference('my_constraint_validator_service2')), ]]))->addTag('container.service_locator')
/src/Symfony/Component/Cache/Tests/CacheItemTest.php:391return [[''], ['{'], ['}'], ['('], [')'], ['/'], ['\\'], ['@'], [':'], [true], [null], [1], [1.1], [[[ ]]], [new \Exception('foo')], ]
/src/Symfony/Component/Cache/Tests/Traits/RedisTraitTest.php:571return [[sprintf('redis:?%s&redis_cluster=1', $hosts[0]), 'RedisCluster', ], [sprintf('redis:?%s&redis_cluster=true', $hosts[0]), 'RedisCluster', ], [sprintf('redis:?%s', $hosts[0]), 'Redis', ], ['dsn' => sprintf('redis:?%s', implode('&', \array_slice($hosts, 0, 2))), 'RedisArray', ], ]
/src/Symfony/Component/Cache/Traits/RedisTrait.php:1851$class = $params['class'] ?? match (true) { /**/ }
/src/Symfony/Component/Cache/Traits/RedisTrait.php:3481$redis = new $class(null, $hosts, $params['timeout'], $params['read_timeout'], (bool) $params['persistent'], $params['auth'] ?? '', ...\defined('Redis::SCAN_PREFIX') ? [$params['ssl'] ?? null] : [ ])
/src/Symfony/Component/Validator/Tests/Constraints/CountValidatorTestCase.php:471return [[static::createCollection([1])], [static::createCollection([1, 2])], [static::createCollection([1, 2, 3])], [static::createCollection(['a' => 1, 'b' => 2, 'c' => 3])], ]
/src/Symfony/Component/Validator/Tests/Constraints/CountValidatorTestCase.php:651return [[static::createCollection([1, 2, 3, 4, 5])], [static::createCollection([1, 2, 3, 4, 5, 6])], [static::createCollection(['a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5])], ]
/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php:6011return [['The min value "foo" could not be converted to a "DateTimeImmutable" instance in the "Symfony\Component\Validator\Constraints\Range" constraint.', new \DateTimeImmutable( ), 'foo', null], ['The min value "foo" could not be converted to a "DateTime" instance in the "Symfony\Component\Validator\Constraints\Range" constraint.', new \DateTime( ), 'foo', null], ['The max value "foo" could not be converted to a "DateTimeImmutable" instance in the "Symfony\Component\Validator\Constraints\Range" constraint.', new \DateTimeImmutable( ), null, 'foo'], ['The max value "foo" could not be converted to a "DateTime" instance in the "Symfony\Component\Validator\Constraints\Range" constraint.', new \DateTime( ), null, 'foo'], ['The min value "bar" could not be converted to a "DateTimeImmutable" instance in the "Symfony\Component\Validator\Constraints\Range" constraint.', new \DateTimeImmutable( ), 'bar', 'ccc'], ]
/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php:10271return [[[ ], 12, $notInRangeMessage, Range::NOT_IN_RANGE_ERROR, ], [['notInRangeMessage' => 'not_in_range_message'], 12, 'not_in_range_message', Range::NOT_IN_RANGE_ERROR, ], [['minMessage' => 'min_message'], 0, $notInRangeMessage, Range::NOT_IN_RANGE_ERROR, ], [['maxMessage' => 'max_message'], 0, $notInRangeMessage, Range::NOT_IN_RANGE_ERROR, ], [['minMessage' => 'min_message'], 15, $notInRangeMessage, Range::NOT_IN_RANGE_ERROR, ], [['maxMessage' => 'max_message'], 15, $notInRangeMessage, Range::NOT_IN_RANGE_ERROR, ], ]
/src/Symfony/Component/Validator/Tests/Constraints/CollectionTest.php:1281$constraint = new Collection(['fields' => ['fields' => [new Required( )], 'properties' => [new Required( )], 'catalog' => [new Optional( )], ], 'allowExtraFields' => true, 'extraFieldsMessage' => 'foo bar baz', ])
/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanValidatorTest.php:431return [[2, 1], [new \DateTime('2005/01/01'), new \DateTime('2001/01/01')], [new \DateTime('2005/01/01'), '2001/01/01'], [new \DateTime('2005/01/01 UTC'), '2001/01/01 UTC'], [new ComparisonTest_Class(5), new ComparisonTest_Class(4)], ['333', '22'], [null, 1], ]
/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorTest.php:431return [[1, 2], [1, 1], [new \DateTime('2000-01-01'), new \DateTime('2000-01-01')], [new \DateTime('2000-01-01'), new \DateTime('2020-01-01')], [new \DateTime('2000-01-01'), '2000-01-01'], [new \DateTime('2000-01-01'), '2020-01-01'], [new \DateTime('2000-01-01 UTC'), '2000-01-01 UTC'], [new \DateTime('2000-01-01 UTC'), '2020-01-01 UTC'], [new ComparisonTest_Class(4), new ComparisonTest_Class(5)], [new ComparisonTest_Class(5), new ComparisonTest_Class(5)], ['a', 'a'], ['a', 'z'], [null, 1], ]
/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorTest.php:701return [[2, '2', 1, '1', 'int'], [new \DateTime('2010-01-01'), self::normalizeIcuSpaces("Jan 1, 2010, 12:00\u{202F}AM"), new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2010-01-01'), self::normalizeIcuSpaces("Jan 1, 2010, 12:00\u{202F}AM"), '2000-01-01', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2010-01-01 UTC'), self::normalizeIcuSpaces("Jan 1, 2010, 12:00\u{202F}AM"), '2000-01-01 UTC', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new ComparisonTest_Class(5), '5', new ComparisonTest_Class(4), '4', __NAMESPACE__ . '\ComparisonTest_Class'], ['c', '"c"', 'b', '"b"', 'string'], ]
/src/Symfony/Component/Cache/Tests/Adapter/PredisAdapterTest.php:391$params = ['scheme' => 'tcp', 'host' => $redisHost[0], 'port' => (int) ($redisHost[1] ?? 6379), 'persistent' => 0, 'timeout' => 3, 'read_write_timeout' => 0, 'tcp_nodelay' => true, 'database' => '1', ]
/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php:3111$tests = [[new \DateTime('March 20, 2013'), self::normalizeIcuSpaces("Mar 20, 2013, 12:00\u{202F}AM")], [new \DateTime('March 9, 2014'), self::normalizeIcuSpaces("Mar 9, 2014, 12:00\u{202F}AM")], [new \DateTimeImmutable('March 20, 2013'), self::normalizeIcuSpaces("Mar 20, 2013, 12:00\u{202F}AM")], [new \DateTimeImmutable('March 9, 2014'), self::normalizeIcuSpaces("Mar 9, 2014, 12:00\u{202F}AM")], ]
/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php:3301$tests = [[new \DateTime('March 21, 2014'), self::normalizeIcuSpaces("Mar 21, 2014, 12:00\u{202F}AM")], [new \DateTime('March 9, 2015'), self::normalizeIcuSpaces("Mar 9, 2015, 12:00\u{202F}AM")], [new \DateTimeImmutable('March 21, 2014'), self::normalizeIcuSpaces("Mar 21, 2014, 12:00\u{202F}AM")], [new \DateTimeImmutable('March 9, 2015'), self::normalizeIcuSpaces("Mar 9, 2015, 12:00\u{202F}AM")], ]
/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php:2901$tests = [[new \DateTime('March 10, 2014')], [new \DateTime('March 15, 2014')], [new \DateTime('March 20, 2014')], [new \DateTimeImmutable('March 10, 2014')], [new \DateTimeImmutable('March 15, 2014')], [new \DateTimeImmutable('March 20, 2014')], ]
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:2488$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'localise.biz/api/')
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:601yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://example.com:99', 'headers' => ['Authorization' => 'Loco API_KEY', ], ]), new ArrayLoader( ), new NullLogger( ), 'en', 'example.com:99'), 'loco://example.com:99', ]
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:501yield [self::createProvider((new MockHttpClient( ))->withOptions(['base_uri' => 'https://example.com', 'headers' => ['Authorization' => 'Loco API_KEY', ], ]), new ArrayLoader( ), new NullLogger( ), 'en', 'example.com'), 'loco://example.com', ]
/src/Symfony/Component/Translation/Tests/Catalogue/MergeOperationTest.php:222$operation = $this->createOperation(new MessageCatalogue('en', ['messages' => ['a' => 'old_a', 'b' => 'old_b']]), new MessageCatalogue('en', ['messages' => ['a' => 'new_a', 'c' => 'new_c']]))
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:10321yield [['en', 'fr'], ['messages', 'messages+intl-icu', 'validators'], ['en' => ['messages' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="https://localise.biz/user/symfony-translation-provider" source-language="en" datatype="database" tool-id="loco"> <header> <tool tool-id="loco" tool-name="Loco" tool-version="1.0.25 20201211-1" tool-company="Loco"/> </header> <body> <trans-unit id="loco:5fd89b853ee27904dd6c5f67" resname="index.hello" datatype="plaintext"> <source>index.hello</source> <target state="translated">Hello</target> </trans-unit> </body> </file> </xliff> XLIFF, 'messages+intl-icu' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="https://localise.biz/user/symfony-translation-provider" source-language="en" datatype="database" tool-id="loco"> <header> <tool tool-id="loco" tool-name="Loco" tool-version="1.0.25 20201211-1" tool-company="Loco"/> </header> <body> <trans-unit id="loco:5fd89b8542e5aa5cc27457e2" resname="index.greetings" datatype="plaintext" extradata="loco:format=icu"> <source>index.greetings</source> <target state="translated">Welcome, {firstname}!</target> </trans-unit> </body> </file> </xliff> XLIFF, 'validators' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="https://localise.biz/user/symfony-translation-provider" source-language="en" datatype="database" tool-id="loco"> <header> <tool tool-id="loco" tool-name="Loco" tool-version="1.0.25 20201211-1" tool-company="Loco"/> </header> <body> <trans-unit id="loco:5fd89b853ee27904dd6c5f68" resname="firstname.error" datatype="plaintext"> <source>firstname.error</source> <target state="translated">Firstname must contains only letters.</target> </trans-unit> <trans-unit id="loco:5fd89b8542e5aa5cc27457e3" resname="lastname.error" datatype="plaintext" extradata="loco:format=icu"> <source>lastname.error</source> <target state="translated">Lastname must contains only letters.</target> </trans-unit> </body> </file> </xliff> XLIFF, ], 'fr' => ['messages' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="https://localise.biz/user/symfony-translation-provider" source-language="en" datatype="database" tool-id="loco"> <header> <tool tool-id="loco" tool-name="Loco" tool-version="1.0.25 20201211-1" tool-company="Loco"/> </header> <body> <trans-unit id="loco:5fd89b853ee27904dd6c5f67" resname="index.hello" datatype="plaintext"> <source>index.hello</source> <target state="translated">Bonjour</target> </trans-unit> </body> </file> </xliff> XLIFF, 'messages+intl-icu' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="https://localise.biz/user/symfony-translation-provider" source-language="en" datatype="database" tool-id="loco"> <header> <tool tool-id="loco" tool-name="Loco" tool-version="1.0.25 20201211-1" tool-company="Loco"/> </header> <body> <trans-unit id="loco:5fd89b8542e5aa5cc27457e2" resname="index.greetings" datatype="plaintext" extradata="loco:format=icu"> <source>index.greetings</source> <target state="translated">Bienvenue, {firstname} !</target> </trans-unit> </body> </file> </xliff> XLIFF, 'validators' => <<<'XLIFF' <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <file original="https://localise.biz/user/symfony-translation-provider" source-language="en" datatype="database" tool-id="loco"> <header> <tool tool-id="loco" tool-name="Loco" tool-version="1.0.25 20201211-1" tool-company="Loco"/> </header> <body> <trans-unit id="loco:5fd89b853ee27904dd6c5f68" resname="firstname.error" datatype="plaintext"> <source>firstname.error</source> <target state="translated">Le prénom ne peut contenir que des lettres.</target> </trans-unit> <trans-unit id="loco:5fd89b8542e5aa5cc27457e3" resname="lastname.error" datatype="plaintext" extradata="loco:format=icu"> <source>lastname.error</source> <target state="translated">Le nom de famille ne peut contenir que des lettres.</target> </trans-unit> </body> </file> </xliff> XLIFF, ], ], $expectedTranslatorBag, ]
/src/Symfony/Component/Translation/Tests/PseudoLocalizationTranslatorTest.php:311return [['[ƒöö⭐ ≤þ≥ƁÅŔ≤⁄þ≥]', 'foo⭐ <p>BAR</p>'], ['before <div data-label="fcy"><a href="#" title="bar" data-content="ccc">foo</a></div> after', 'before <div data-label="fcy"><a href="#" title="bar" data-content="ccc">foo</a></div> after', self::getIsolatedOptions(['parse_html' => true])], ['ƀéƒöŕé <div data-label="fcyéé"><a href="#" title="bar" data-content="ccc">ƒöö éé</a></div> åƒţéŕ', 'before <div data-label="fcyéé"><a href="#" title="bar" data-content="ccc">foo éé</a></div> after', self::getIsolatedOptions(['parse_html' => true, 'accents' => true])], ['ƀéƒöŕé <div data-label="ƒçý"><a href="#" title="ƀåŕ" data-content="ccc">ƒöö</a></div> åƒţéŕ', 'before <div data-label="fcy"><a href="#" title="bar" data-content="ccc">foo</a></div> after', self::getIsolatedOptions(['parse_html' => true, 'localizable_html_attributes' => ['data-label', 'title'], 'accents' => true])], [' ¡″♯€‰⅋´{}⁎⁺،‐·⁄⓪①②③④⑤⑥⑦⑧⑨∶⁏≤≂≥¿՞ÅƁÇÐÉƑĜĤÎĴĶĻṀÑÖÞǪŔŠŢÛṼŴẊÝŽ⁅∖⁆˄‿‵åƀçðéƒĝĥîĵķļɱñöþǫŕšţûṽŵẋýž(¦)˞', ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~', self::getIsolatedOptions(['accents' => true])], ['foo <p>bar</p> ~~~~~~~~~~ ~~', 'foo <p>bar</p>', self::getIsolatedOptions(['expansion_factor' => 2.0])], ['foo <p>bar</p> ~~~ ~~', 'foo <p>bar</p>', self::getIsolatedOptions(['parse_html' => true, 'expansion_factor' => 2.0])], ['foobar ~~', 'foobar', self::getIsolatedOptions(['expansion_factor' => 1.35])], ['[foobar]', 'foobar', self::getIsolatedOptions(['brackets' => true])], ['[foobar ~~~]', 'foobar', self::getIsolatedOptions(['expansion_factor' => 2.0, 'brackets' => true])], ['<p data-foo="&quot;ççç&lt;å">ƀåŕ</p>', '<p data-foo="&quot;ccc&lt;a">bar</p>', self::getIsolatedOptions(['parse_html' => true, 'localizable_html_attributes' => ['data-foo'], 'accents' => true])], ['<p data-foo="ççéç&quot;&quot;">ƀåéŕ</p>', '<p data-foo="ccéc&quot;&quot;">baér</p>', self::getIsolatedOptions(['parse_html' => true, 'localizable_html_attributes' => ['data-foo'], 'accents' => true])], ['<p data-foo="ccc&quot;&quot;">ƀåŕ</p>', '<p data-foo="ccc&quot;&quot;">bar</p>', self::getIsolatedOptions(['parse_html' => true, 'accents' => true])], ['<p>″≤″</p>', '<p>&quot;&lt;&quot;</p>', self::getIsolatedOptions(['parse_html' => true, 'accents' => true])], ['Symfony is an Open Source, community-driven project with thousands of contributors. ~~~~~~~ ~~ ~~~~ ~~~~~~~ ~~~~~~~ ~~ ~~~~ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~ ~~~~~~~ ~~ ~~~', 'Symfony is an Open Source, community-driven project with thousands of contributors.', self::getIsolatedOptions(['expansion_factor' => 2.0])], ['<p>👇👇👇👇👇👇👇</p>', '<p>👇👇👇👇👇👇👇</p>', self::getIsolatedOptions(['parse_html' => true])], ]
/src/Symfony/Component/Translation/Tests/TranslatableTest.php:521return [['Symfony est super !', new TranslatableMessage('Symfony is great!', [ ], ''), ['Symfony is great!' => 'Symfony est super !', ], 'fr'], ['Symfony est awesome !', new TranslatableMessage('Symfony is %what%!', ['%what%' => 'awesome'], ''), ['Symfony is %what%!' => 'Symfony est %what% !', ], 'fr'], ['Symfony est superbe !', new TranslatableMessage('Symfony is %what%!', ['%what%' => new TranslatableMessage('awesome', [ ], '')], ''), ['Symfony is %what%!' => 'Symfony est %what% !', 'awesome' => 'superbe', ], 'fr'], ]
/src/Symfony/Component/Translation/Tests/TranslatableTest.php:821return [['Symfony est super!', $messages, new TranslatableMessage('symfony.is.great', [ ], '')], ['Foo Bar Baz', $messages, new TranslatableMessage('foo.bar.baz', [ ], '')], ['Foo Baz', $messages, new TranslatableMessage('foo.baz', [ ], '')], ]
/src/Symfony/Component/Translation/Tests/TranslatorTest.php:4771return [['Symfony est super !', 'Symfony is great!', 'Symfony est super !', [ ], 'fr', ''], ['Symfony est awesome !', 'Symfony is %what%!', 'Symfony est %what% !', ['%what%' => 'awesome'], 'fr', ''], ['Symfony est Symfony est awesome ! !', 'Symfony is %what%!', 'Symfony est %what% !', ['%what%' => $param], 'fr', ''], ['Symfony est super !', new StringClass('Symfony is great!'), 'Symfony est super !', [ ], 'fr', ''], ['', null, '', [ ], 'fr', ''], ]
/src/Symfony/Component/Translation/Tests/TranslatorTest.php:4901return [['There are no apples', $id, $id, ['{apples}' => 0], 'en', 'test' . MessageCatalogue::INTL_DOMAIN_SUFFIX], ['There is one apple', $id, $id, ['{apples}' => 1], 'en', 'test' . MessageCatalogue::INTL_DOMAIN_SUFFIX], ['There are 3 apples', $id, $id, ['{apples}' => 3], 'en', 'test' . MessageCatalogue::INTL_DOMAIN_SUFFIX], ]
/src/Symfony/Component/Translation/Tests/Extractor/PhpAstExtractorTest.php:501$expectedCatalogue = ['messages' => ['translatable single-quoted key' => 'prefixtranslatable single-quoted key', 'translatable double-quoted key' => 'prefixtranslatable double-quoted key', 'translatable heredoc key' => 'prefixtranslatable heredoc key', 'translatable nowdoc key' => 'prefixtranslatable nowdoc key', "translatable double-quoted key with whitespace and escaped \$\n\" sequences" => "prefixtranslatable double-quoted key with whitespace and escaped \$\n\" sequences", 'translatable single-quoted key with whitespace and nonescaped \$\n\' sequences' => 'prefixtranslatable single-quoted key with whitespace and nonescaped \$\n\' sequences', 'translatable single-quoted key with "quote mark at the end"' => 'prefixtranslatable single-quoted key with "quote mark at the end"', 'translatable ' . $expectedHeredoc => 'prefixtranslatable ' . $expectedHeredoc, 'translatable ' . $expectedNowdoc => 'prefixtranslatable ' . $expectedNowdoc, 'translatable concatenated message with heredoc and nowdoc' => 'prefixtranslatable concatenated message with heredoc and nowdoc', 'translatable default domain' => 'prefixtranslatable default domain', 'translatable-fqn single-quoted key' => 'prefixtranslatable-fqn single-quoted key', 'translatable-fqn double-quoted key' => 'prefixtranslatable-fqn double-quoted key', 'translatable-fqn heredoc key' => 'prefixtranslatable-fqn heredoc key', 'translatable-fqn nowdoc key' => 'prefixtranslatable-fqn nowdoc key', "translatable-fqn double-quoted key with whitespace and escaped \$\n\" sequences" => "prefixtranslatable-fqn double-quoted key with whitespace and escaped \$\n\" sequences", 'translatable-fqn single-quoted key with whitespace and nonescaped \$\n\' sequences' => 'prefixtranslatable-fqn single-quoted key with whitespace and nonescaped \$\n\' sequences', 'translatable-fqn single-quoted key with "quote mark at the end"' => 'prefixtranslatable-fqn single-quoted key with "quote mark at the end"', 'translatable-fqn ' . $expectedHeredoc => 'prefixtranslatable-fqn ' . $expectedHeredoc, 'translatable-fqn ' . $expectedNowdoc => 'prefixtranslatable-fqn ' . $expectedNowdoc, 'translatable-fqn concatenated message with heredoc and nowdoc' => 'prefixtranslatable-fqn concatenated message with heredoc and nowdoc', 'translatable-fqn default domain' => 'prefixtranslatable-fqn default domain', 'translatable-short single-quoted key' => 'prefixtranslatable-short single-quoted key', 'translatable-short double-quoted key' => 'prefixtranslatable-short double-quoted key', 'translatable-short heredoc key' => 'prefixtranslatable-short heredoc key', 'translatable-short nowdoc key' => 'prefixtranslatable-short nowdoc key', "translatable-short double-quoted key with whitespace and escaped \$\n\" sequences" => "prefixtranslatable-short double-quoted key with whitespace and escaped \$\n\" sequences", 'translatable-short single-quoted key with whitespace and nonescaped \$\n\' sequences' => 'prefixtranslatable-short single-quoted key with whitespace and nonescaped \$\n\' sequences', 'translatable-short single-quoted key with "quote mark at the end"' => 'prefixtranslatable-short single-quoted key with "quote mark at the end"', 'translatable-short ' . $expectedHeredoc => 'prefixtranslatable-short ' . $expectedHeredoc, 'translatable-short ' . $expectedNowdoc => 'prefixtranslatable-short ' . $expectedNowdoc, 'translatable-short concatenated message with heredoc and nowdoc' => 'prefixtranslatable-short concatenated message with heredoc and nowdoc', 'translatable-short default domain' => 'prefixtranslatable-short default domain', 'translatable-short-fqn single-quoted key' => 'prefixtranslatable-short-fqn single-quoted key', 'translatable-short-fqn double-quoted key' => 'prefixtranslatable-short-fqn double-quoted key', 'translatable-short-fqn heredoc key' => 'prefixtranslatable-short-fqn heredoc key', 'translatable-short-fqn nowdoc key' => 'prefixtranslatable-short-fqn nowdoc key', "translatable-short-fqn double-quoted key with whitespace and escaped \$\n\" sequences" => "prefixtranslatable-short-fqn double-quoted key with whitespace and escaped \$\n\" sequences", 'translatable-short-fqn single-quoted key with whitespace and nonescaped \$\n\' sequences' => 'prefixtranslatable-short-fqn single-quoted key with whitespace and nonescaped \$\n\' sequences', 'translatable-short-fqn single-quoted key with "quote mark at the end"' => 'prefixtranslatable-short-fqn single-quoted key with "quote mark at the end"', 'translatable-short-fqn ' . $expectedHeredoc => 'prefixtranslatable-short-fqn ' . $expectedHeredoc, 'translatable-short-fqn ' . $expectedNowdoc => 'prefixtranslatable-short-fqn ' . $expectedNowdoc, 'translatable-short-fqn concatenated message with heredoc and nowdoc' => 'prefixtranslatable-short-fqn concatenated message with heredoc and nowdoc', 'translatable-short-fqn default domain' => 'prefixtranslatable-short-fqn default domain', 'single-quoted key' => 'prefixsingle-quoted key', 'double-quoted key' => 'prefixdouble-quoted key', 'heredoc key' => 'prefixheredoc key', 'nowdoc key' => 'prefixnowdoc key', "double-quoted key with whitespace and escaped \$\n\" sequences" => "prefixdouble-quoted key with whitespace and escaped \$\n\" sequences", 'single-quoted key with whitespace and nonescaped \$\n\' sequences' => 'prefixsingle-quoted key with whitespace and nonescaped \$\n\' sequences', 'single-quoted key with "quote mark at the end"' => 'prefixsingle-quoted key with "quote mark at the end"', $expectedHeredoc => 'prefix' . $expectedHeredoc, $expectedNowdoc => 'prefix' . $expectedNowdoc, 'concatenated message with heredoc and nowdoc' => 'prefixconcatenated message with heredoc and nowdoc', 'default domain' => 'prefixdefault domain', 'mix-named-arguments' => 'prefixmix-named-arguments', 'mix-named-arguments-locale' => 'prefixmix-named-arguments-locale', 'mix-named-arguments-without-domain' => 'prefixmix-named-arguments-without-domain', ], 'not_messages' => ['translatable other-domain-test-no-params-short-array' => 'prefixtranslatable other-domain-test-no-params-short-array', 'translatable other-domain-test-no-params-long-array' => 'prefixtranslatable other-domain-test-no-params-long-array', 'translatable other-domain-test-params-short-array' => 'prefixtranslatable other-domain-test-params-short-array', 'translatable other-domain-test-params-long-array' => 'prefixtranslatable other-domain-test-params-long-array', 'translatable typecast' => 'prefixtranslatable typecast', 'translatable-fqn other-domain-test-no-params-short-array' => 'prefixtranslatable-fqn other-domain-test-no-params-short-array', 'translatable-fqn other-domain-test-no-params-long-array' => 'prefixtranslatable-fqn other-domain-test-no-params-long-array', 'translatable-fqn other-domain-test-params-short-array' => 'prefixtranslatable-fqn other-domain-test-params-short-array', 'translatable-fqn other-domain-test-params-long-array' => 'prefixtranslatable-fqn other-domain-test-params-long-array', 'translatable-fqn typecast' => 'prefixtranslatable-fqn typecast', 'translatable-short other-domain-test-no-params-short-array' => 'prefixtranslatable-short other-domain-test-no-params-short-array', 'translatable-short other-domain-test-no-params-long-array' => 'prefixtranslatable-short other-domain-test-no-params-long-array', 'translatable-short other-domain-test-params-short-array' => 'prefixtranslatable-short other-domain-test-params-short-array', 'translatable-short other-domain-test-params-long-array' => 'prefixtranslatable-short other-domain-test-params-long-array', 'translatable-short typecast' => 'prefixtranslatable-short typecast', 'translatable-short-fqn other-domain-test-no-params-short-array' => 'prefixtranslatable-short-fqn other-domain-test-no-params-short-array', 'translatable-short-fqn other-domain-test-no-params-long-array' => 'prefixtranslatable-short-fqn other-domain-test-no-params-long-array', 'translatable-short-fqn other-domain-test-params-short-array' => 'prefixtranslatable-short-fqn other-domain-test-params-short-array', 'translatable-short-fqn other-domain-test-params-long-array' => 'prefixtranslatable-short-fqn other-domain-test-params-long-array', 'translatable-short-fqn typecast' => 'prefixtranslatable-short-fqn typecast', 'other-domain-test-no-params-short-array' => 'prefixother-domain-test-no-params-short-array', 'other-domain-test-no-params-long-array' => 'prefixother-domain-test-no-params-long-array', 'other-domain-test-params-short-array' => 'prefixother-domain-test-params-short-array', 'other-domain-test-params-long-array' => 'prefixother-domain-test-params-long-array', 'typecast' => 'prefixtypecast', 'ordered-named-arguments-in-trans-method' => 'prefixordered-named-arguments-in-trans-method', 'disordered-named-arguments-in-trans-method' => 'prefixdisordered-named-arguments-in-trans-method', 'variable-assignation-inlined-in-trans-method-call1' => 'prefixvariable-assignation-inlined-in-trans-method-call1', 'variable-assignation-inlined-in-trans-method-call2' => 'prefixvariable-assignation-inlined-in-trans-method-call2', 'variable-assignation-inlined-in-trans-method-call3' => 'prefixvariable-assignation-inlined-in-trans-method-call3', 'variable-assignation-inlined-with-named-arguments-in-trans-method' => 'prefixvariable-assignation-inlined-with-named-arguments-in-trans-method', 'mix-named-arguments-without-parameters' => 'prefixmix-named-arguments-without-parameters', 'mix-named-arguments-disordered' => 'prefixmix-named-arguments-disordered', 'const-domain' => 'prefixconst-domain', ], 'validators' => ['message-in-constraint-attribute' => 'prefixmessage-in-constraint-attribute', 'custom Isbn message from attribute with options as array' => 'prefixcustom Isbn message from attribute with options as array', 'custom Length exact message from attribute from named argument' => 'prefixcustom Length exact message from attribute from named argument', 'custom Length exact message from attribute from named argument 1/2' => 'prefixcustom Length exact message from attribute from named argument 1/2', 'custom Length min message from attribute from named argument 2/2' => 'prefixcustom Length min message from attribute from named argument 2/2', 'custom Isbn message with options as array' => 'prefixcustom Isbn message with options as array', 'custom Isbn message from named argument' => 'prefixcustom Isbn message from named argument', 'custom Length exact message from named argument' => 'prefixcustom Length exact message from named argument', 'custom Length exact message from named argument 1/2' => 'prefixcustom Length exact message from named argument 1/2', 'custom Length min message from named argument 2/2' => 'prefixcustom Length min message from named argument 2/2', ], ]
/src/Symfony/Component/Translation/Tests/Catalogue/TargetOperationTest.php:222$operation = $this->createOperation(new MessageCatalogue('en', ['messages' => ['a' => 'old_a', 'b' => 'old_b']]), new MessageCatalogue('en', ['messages' => ['a' => 'new_a', 'c' => 'new_c']]))
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:2828$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'localise.biz/api/')
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:3348$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'localise.biz/api/')
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:3948$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'localise.biz/api/')
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:4548$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'localise.biz/api/')
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:5288$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'localise.biz/api/')
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:6058$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'localise.biz/api/')
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:6908$provider = self::createProvider((new MockHttpClient($responses))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY'], ]), $this->getLoader( ), $this->getLogger( ), $this->getDefaultLocale( ), 'localise.biz/api/')
/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderTest.php:7151$provider = self::createProvider((new MockHttpClient(new MockResponse($responseContent)))->withOptions(['base_uri' => 'https://localise.biz/api/', 'headers' => ['Authorization' => 'Loco API_KEY', ], ]), $loader, new NullLogger( ), 'en', 'localise.biz/api/')
/src/Symfony/Component/Validator/Tests/Constraints/IdenticalToValidatorTest.php:831return [[1, '1', 2, '2', 'int'], [2, '2', '2', '"2"', 'string'], ['22', '"22"', '333', '"333"', 'string'], [new \DateTime('2001-01-01'), self::normalizeIcuSpaces("Jan 1, 2001, 12:00\u{202F}AM"), new \DateTime('2001-01-01'), self::normalizeIcuSpaces("Jan 1, 2001, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2001-01-01'), self::normalizeIcuSpaces("Jan 1, 2001, 12:00\u{202F}AM"), new \DateTime('1999-01-01'), self::normalizeIcuSpaces("Jan 1, 1999, 12:00\u{202F}AM"), 'DateTime'], [new ComparisonTest_Class(4), '4', new ComparisonTest_Class(5), '5', __NAMESPACE__ . '\ComparisonTest_Class'], ]
/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanOrEqualValidatorTest.php:681return [[1, '1', 2, '2', 'int'], [new \DateTime('2000/01/01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), new \DateTime('2005/01/01'), self::normalizeIcuSpaces("Jan 1, 2005, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000/01/01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2005/01/01', self::normalizeIcuSpaces("Jan 1, 2005, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000/01/01 UTC'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2005/01/01 UTC', self::normalizeIcuSpaces("Jan 1, 2005, 12:00\u{202F}AM"), 'DateTime'], ['b', '"b"', 'c', '"c"', 'string'], ]
/src/Symfony/Component/Validator/Tests/Constraints/SequentiallyValidatorTest.php:711$violations = $validator->validate(50, new Sequentially(['constraints' => [new GreaterThan(['groups' => 'senior', 'value' => 55, ]), new Range(['groups' => 'adult', 'min' => 18, 'max' => 55, ]), ], 'groups' => ['adult', 'senior'], ]), 'adult')
/src/Symfony/Component/Validator/Tests/Constraints/IsNullValidatorTest.php:661return [[0, '0'], [false, 'false'], [true, 'true'], ['', '""'], ['foo bar', '"foo bar"'], [new \DateTimeImmutable( ), 'object'], [new \stdClass( ), 'object'], [[ ], 'array'], ]
/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanOrEqualValidatorTest.php:431return [[3, 2], [1, 1], [new \DateTime('2010/01/01'), new \DateTime('2000/01/01')], [new \DateTime('2000/01/01'), new \DateTime('2000/01/01')], [new \DateTime('2010/01/01'), '2000/01/01'], [new \DateTime('2000/01/01'), '2000/01/01'], [new \DateTime('2010/01/01 UTC'), '2000/01/01 UTC'], [new \DateTime('2000/01/01 UTC'), '2000/01/01 UTC'], ['a', 'a'], ['z', 'a'], [null, 1], ]
/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php:1671return [['example'], ['example@'], ['example@localhost'], ['example@example.co..uk'], ['foo@example.com bar'], ['example@example.'], ['example@.fr'], ['@example.com'], ['example@example.com;example@example.com'], ['example@.'], [' example@example.com'], ['example@ '], [' example@example.com '], [' example @example .com '], ['example@-example.com'], [sprintf('example@%s.com', str_repeat('a', 64))], ]
/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php:2801return [['test@example.com test'], ['user name@example.com'], ['user name@example.com'], ['example.@example.co.uk'], ['example@example@example.co.uk'], ['(test_exampel@example.fr)'], ['example(example)example@example.co.uk'], ['.example@localhost'], ['ex\ample@localhost'], ['example@local\host'], ['example@localhost.'], ['user name@example.com'], ['username@ example . com'], ['example@(fake).com'], ['example@(fake.com'], ['username@example,com'], ['usern,ame@example.com'], ['user[na]me@example.com'], ['"""@iana.org'], ['"\"@iana.org'], ['"test"test@iana.org'], ['"test""test"@iana.org'], ['"test"."test"@iana.org'], ['"test".test@iana.org'], ['"test"' . \chr(0) . '@iana.org'], ['"test\"@iana.org'], [\chr(226) . '@iana.org'], ['test@' . \chr(226) . '.org'], ['\r\ntest@iana.org'], ['\r\n test@iana.org'], ['\r\n \r\ntest@iana.org'], ['\r\n \r\ntest@iana.org'], ['\r\n \r\n test@iana.org'], ['test@iana.org \r\n'], ['test@iana.org \r\n '], ['test@iana.org \r\n \r\n'], ['test@iana.org \r\n\r\n'], ['test@iana.org \r\n\r\n '], ['test@iana/icann.org'], ['test@foo;bar.com'], ['test;123@foobar.com'], ['test@example..com'], ['email.email@email."'], ['test@email>'], ['test@email<'], ['test@email{'], [str_repeat('x', 254) . '@example.com'], ]
/src/Symfony/Component/Validator/Tests/Constraints/NotIdenticalToValidatorTest.php:831return [[3, '3', 3, '3', 'int'], ['a', '"a"', 'a', '"a"', 'string'], [$date, self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), $date, self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [$object, '2', $object, '2', __NAMESPACE__ . '\ComparisonTest_Class'], ]
/src/Symfony/Component/Validator/Tests/Constraints/FileValidatorTestCase.php:2431return [[11, 10, null, '11', '10', 'bytes'], [11, 10, true, '11', '10', 'bytes'], [11, 10, false, '11', '10', 'bytes'], [ceil(1000 * 1.01), 1000, null, '1.01', '1', 'kB'], [ceil(1000 * 1.01), '1k', null, '1.01', '1', 'kB'], [ceil(1024 * 1.01), '1Ki', null, '1.01', '1', 'KiB'], [ceil(1024 * 1.01), 1024, true, '1.01', '1', 'KiB'], [ceil(1024 * 1.01 * 1000), '1024k', true, '1010', '1000', 'KiB'], [ceil(1024 * 1.01), '1Ki', true, '1.01', '1', 'KiB'], [ceil(1000 * 1.01), 1000, false, '1.01', '1', 'kB'], [ceil(1000 * 1.01), '1k', false, '1.01', '1', 'kB'], [ceil(1024 * 1.01 * 10), '10Ki', false, '10.34', '10.24', 'kB'], ]
/src/Symfony/Component/Validator/Tests/Constraints/UniqueValidatorTest.php:1601return ['static function' => [static fn (\stdClass $object) => [$object->name, $object->email]], 'callable with string notation' => ['Symfony\Component\Validator\Tests\Constraints\CallableClass::execute'], 'callable with static notation' => [[CallableClass::class, 'execute']], 'callable with first-class callable notation' => [CallableClass::execute(...)], 'callable with object' => [[new CallableClass( ), 'execute']], ]
/src/Symfony/Component/Validator/Tests/Constraints/NotIdenticalToValidatorTest.php:431return [[1, 2], ['2', 2], ['22', '333'], [new \DateTime('2001-01-01'), new \DateTime('2000-01-01')], [new \DateTime('2000-01-01'), new \DateTime('2000-01-01')], [new \DateTime('2001-01-01'), '2000-01-01'], [new \DateTime('2000-01-01'), '2000-01-01'], [new \DateTime('2001-01-01'), '2000-01-01'], [new \DateTime('2000-01-01 UTC'), '2000-01-01 UTC'], [null, 1], ]
/src/Symfony/Component/Validator/Tests/Constraints/UniqueValidatorTest.php:461return [yield 'null' => [[null]], yield 'empty array' => [[ ]], yield 'single integer' => [[5]], yield 'single string' => [['a']], yield 'single object' => [[new \stdClass( )]], yield 'unique booleans' => [[true, false]], yield 'unique integers' => [[1, 2, 3, 4, 5, 6]], yield 'unique floats' => [[0.1, 0.2, 0.3]], yield 'unique strings' => [['a', 'b', 'c']], yield 'unique arrays' => [[[1, 2], [2, 4], [4, 6]]], yield 'unique objects' => [[new \stdClass( ), new \stdClass( )]], ]
/src/Symfony/Component/Validator/Tests/Constraints/UniqueValidatorTest.php:811return [yield 'not unique booleans' => [[true, true]], yield 'not unique integers' => [[1, 2, 3, 3]], yield 'not unique floats' => [[0.1, 0.2, 0.1]], yield 'not unique string' => [['a', 'b', 'a']], yield 'not unique arrays' => [[[1, 1], [2, 3], [1, 1]]], yield 'not unique objects' => [[$object, $object]], ]
/src/Symfony/Component/Validator/Tests/Constraints/TypeValidatorTest.php:781return [[true, 'Boolean'], [false, 'Boolean'], [true, 'boolean'], [false, 'boolean'], [true, 'bool'], [false, 'bool'], [0, 'numeric'], ['0', 'numeric'], [1.5, 'numeric'], ['1.5', 'numeric'], [0, 'integer'], [1.5, 'float'], [\NAN, 'float'], [\INF, 'float'], [1.5, 'finite-float'], [0, 'number'], [1.5, 'number'], [\INF, 'number'], [1.5, 'finite-number'], ['12345', 'string'], [[ ], 'array'], [$object, 'object'], [$object, 'stdClass'], [$file, 'resource'], ['12345', 'digit'], ['12a34', 'alnum'], ['abcde', 'alpha'], ["\n\r\t", 'cntrl'], ['arf12', 'graph'], ['abcde', 'lower'], ['ABCDE', 'upper'], ['arf12', 'print'], ['*&$()', 'punct'], ["\n\r\t", 'space'], ['AB10BC99', 'xdigit'], ]
/src/Symfony/Component/Validator/Tests/Constraints/TypeValidatorTest.php:1411return [['foobar', 'numeric', '"foobar"'], ['foobar', 'boolean', '"foobar"'], ['0', 'integer', '"0"'], [\NAN, 'integer', 'NAN'], [\INF, 'integer', 'INF'], ['1.5', 'float', '"1.5"'], ['1.5', 'finite-float', '"1.5"'], [\NAN, 'finite-float', 'NAN'], [\INF, 'finite-float', 'INF'], ['0', 'number', '"0"'], [\NAN, 'number', 'NAN'], ['0', 'finite-number', '"0"'], [\NAN, 'finite-number', 'NAN'], [\INF, 'finite-number', 'INF'], [12345, 'string', '12345'], [$object, 'boolean', 'object'], [$object, 'numeric', 'object'], [$object, 'integer', 'object'], [$object, 'float', 'object'], [$object, 'string', 'object'], [$object, 'resource', 'object'], [$file, 'boolean', 'resource'], [$file, 'numeric', 'resource'], [$file, 'integer', 'resource'], [$file, 'float', 'resource'], [$file, 'string', 'resource'], [$file, 'object', 'resource'], ['12a34', 'digit', '"12a34"'], ['1a#23', 'alnum', '"1a#23"'], ['abcd1', 'alpha', '"abcd1"'], ["\nabc", 'cntrl', "\"\nabc\""], ["abc\n", 'graph', "\"abc\n\""], ['abCDE', 'lower', '"abCDE"'], ['ABcde', 'upper', '"ABcde"'], ["\nabc", 'print', "\"\nabc\""], ['abc&$!', 'punct', '"abc&$!"'], ["\nabc", 'space', "\"\nabc\""], ['AR1012', 'xdigit', '"AR1012"'], ]
/src/Symfony/Component/Validator/Tests/Constraints/EqualToValidatorTest.php:431return [[3, 3], [3, '3'], ['a', 'a'], [new \DateTime('2000-01-01'), new \DateTime('2000-01-01')], [new \DateTime('2000-01-01'), '2000-01-01'], [new \DateTime('2000-01-01 UTC'), '2000-01-01 UTC'], [new ComparisonTest_Class(5), new ComparisonTest_Class(5)], [null, 1], ]
/src/Symfony/Component/Validator/Tests/Constraints/EqualToValidatorTest.php:641return [[1, '1', 2, '2', 'int'], ['22', '"22"', '333', '"333"', 'string'], [new \DateTime('2001-01-01'), self::normalizeIcuSpaces("Jan 1, 2001, 12:00\u{202F}AM"), new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2001-01-01'), self::normalizeIcuSpaces("Jan 1, 2001, 12:00\u{202F}AM"), '2000-01-01', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2001-01-01 UTC'), self::normalizeIcuSpaces("Jan 1, 2001, 12:00\u{202F}AM"), '2000-01-01 UTC', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new ComparisonTest_Class(4), '4', new ComparisonTest_Class(5), '5', __NAMESPACE__ . '\ComparisonTest_Class'], ]
/src/Symfony/Component/Validator/Tests/Constraints/AtLeastOneOfValidatorTest.php:1701$violations = $validator->validate(50, new AtLeastOneOf(['constraints' => [new Range(['groups' => 'non_default_group', 'min' => 10, 'max' => 20, ]), new Range(['groups' => 'non_default_group', 'min' => 30, 'max' => 40, ]), ], 'groups' => 'non_default_group', ]), 'non_default_group')
/src/Symfony/Component/Validator/Tests/Constraints/AtLeastOneOfValidatorTest.php:2481$violations = $validator->validate(50, new AtLeastOneOf(['constraints' => [new Range(['groups' => 'adult', 'min' => 18, 'max' => 55, ]), new GreaterThan(['groups' => 'senior', 'value' => 55, ]), ], 'groups' => ['adult', 'senior'], ]), 'senior')
/src/Symfony/Component/Validator/Tests/Constraints/AtLeastOneOfValidatorTest.php:2211return (new ClassMetadata(Data::class))->addPropertyConstraint('foo', new NotNull(['message' => 'custom message foo']))->addPropertyConstraint('bar', new AtLeastOneOf([new NotNull(['message' => 'custom message bar']), ]))
/src/Symfony/Component/ExpressionLanguage/Tests/Node/ConstantNodeTest.php:331return [['false', new ConstantNode(false)], ['true', new ConstantNode(true)], ['null', new ConstantNode(null)], ['3', new ConstantNode(3)], ['3.3', new ConstantNode(3.3)], ['"foo"', new ConstantNode('foo')], ['[0 => 1, "b" => "a"]', new ConstantNode([1, 'b' => 'a'])], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/ConstantNodeTest.php:201return [[false, new ConstantNode(false)], [true, new ConstantNode(true)], [null, new ConstantNode(null)], [3, new ConstantNode(3)], [3.3, new ConstantNode(3.3)], ['foo', new ConstantNode('foo')], [[1, 'b' => 'a'], new ConstantNode([1, 'b' => 'a'])], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/GetAttrNodeTest.php:491return [['foo[0]', new GetAttrNode(new NameNode('foo'), new ConstantNode(0), self::getArrayNode( ), GetAttrNode::ARRAY_CALL)], ['foo["b"]', new GetAttrNode(new NameNode('foo'), new ConstantNode('b'), self::getArrayNode( ), GetAttrNode::ARRAY_CALL)], ['foo.foo', new GetAttrNode(new NameNode('foo'), new NameNode('foo'), self::getArrayNode( ), GetAttrNode::PROPERTY_CALL), ['foo' => new Obj( )]], ['foo.foo({"b": "a", 0: "b"})', new GetAttrNode(new NameNode('foo'), new NameNode('foo'), self::getArrayNode( ), GetAttrNode::METHOD_CALL), ['foo' => new Obj( )]], ['foo[index]', new GetAttrNode(new NameNode('foo'), new NameNode('index'), self::getArrayNode( ), GetAttrNode::ARRAY_CALL)], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/GetAttrNodeTest.php:361return [['$foo[0]', new GetAttrNode(new NameNode('foo'), new ConstantNode(0), self::getArrayNode( ), GetAttrNode::ARRAY_CALL)], ['$foo["b"]', new GetAttrNode(new NameNode('foo'), new ConstantNode('b'), self::getArrayNode( ), GetAttrNode::ARRAY_CALL)], ['$foo->foo', new GetAttrNode(new NameNode('foo'), new ConstantNode('foo'), self::getArrayNode( ), GetAttrNode::PROPERTY_CALL), ['foo' => new Obj( )]], ['$foo->foo(["b" => "a", 0 => "b"])', new GetAttrNode(new NameNode('foo'), new ConstantNode('foo'), self::getArrayNode( ), GetAttrNode::METHOD_CALL), ['foo' => new Obj( )]], ['$foo[$index]', new GetAttrNode(new NameNode('foo'), new NameNode('index'), self::getArrayNode( ), GetAttrNode::ARRAY_CALL)], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/GetAttrNodeTest.php:231return [['b', new GetAttrNode(new NameNode('foo'), new ConstantNode(0), self::getArrayNode( ), GetAttrNode::ARRAY_CALL), ['foo' => ['b' => 'a', 'b']]], ['a', new GetAttrNode(new NameNode('foo'), new ConstantNode('b'), self::getArrayNode( ), GetAttrNode::ARRAY_CALL), ['foo' => ['b' => 'a', 'b']]], ['bar', new GetAttrNode(new NameNode('foo'), new ConstantNode('foo'), self::getArrayNode( ), GetAttrNode::PROPERTY_CALL), ['foo' => new Obj( )]], ['baz', new GetAttrNode(new NameNode('foo'), new ConstantNode('foo'), self::getArrayNode( ), GetAttrNode::METHOD_CALL), ['foo' => new Obj( )]], ['a', new GetAttrNode(new NameNode('foo'), new NameNode('index'), self::getArrayNode( ), GetAttrNode::ARRAY_CALL), ['foo' => ['b' => 'a', 'b'], 'index' => 'b']], ]
/src/Symfony/Component/ExpressionLanguage/Tests/ParserTest.php:601return [[new Node\NameNode('a'), 'a', ['a'], ], [new Node\ConstantNode('a'), '"a"', ], [new Node\ConstantNode(3), '3', ], [new Node\ConstantNode(false), 'false', ], [new Node\ConstantNode(true), 'true', ], [new Node\ConstantNode(null), 'null', ], [new Node\UnaryNode('-', new Node\ConstantNode(3)), '-3', ], [new Node\BinaryNode('-', new Node\ConstantNode(3), new Node\ConstantNode(3)), '3 - 3', ], [new Node\BinaryNode('*', new Node\BinaryNode('-', new Node\ConstantNode(3), new Node\ConstantNode(3)), new Node\ConstantNode(2)), '(3 - 3) * 2', ], [new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('bar', true), new Node\ArgumentsNode( ), Node\GetAttrNode::PROPERTY_CALL), 'foo.bar', ['foo'], ], [new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('bar', true), new Node\ArgumentsNode( ), Node\GetAttrNode::METHOD_CALL), 'foo.bar()', ['foo'], ], [new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('not', true), new Node\ArgumentsNode( ), Node\GetAttrNode::METHOD_CALL), 'foo.not()', ['foo'], ], [new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('bar', true), $arguments, Node\GetAttrNode::METHOD_CALL), 'foo.bar("arg1", 2, true)', ['foo'], ], [new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode(3), new Node\ArgumentsNode( ), Node\GetAttrNode::ARRAY_CALL), 'foo[3]', ['foo'], ], [new Node\ConditionalNode(new Node\ConstantNode(true), new Node\ConstantNode(true), new Node\ConstantNode(false)), 'true ? true : false', ], [new Node\BinaryNode('matches', new Node\ConstantNode('foo'), new Node\ConstantNode('/foo/')), '"foo" matches "/foo/"', ], [new Node\BinaryNode('starts with', new Node\ConstantNode('foo'), new Node\ConstantNode('f')), '"foo" starts with "f"', ], [new Node\BinaryNode('ends with', new Node\ConstantNode('foo'), new Node\ConstantNode('f')), '"foo" ends with "f"', ], [new Node\BinaryNode('contains', new Node\ConstantNode('foo'), new Node\ConstantNode('f')), '"foo" contains "f"', ], [new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('bar', true, true), new Node\ArgumentsNode( ), Node\GetAttrNode::PROPERTY_CALL), 'foo?.bar', ['foo'], ], [new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('bar', true, true), new Node\ArgumentsNode( ), Node\GetAttrNode::METHOD_CALL), 'foo?.bar()', ['foo'], ], [new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('not', true, true), new Node\ArgumentsNode( ), Node\GetAttrNode::METHOD_CALL), 'foo?.not()', ['foo'], ], [new Node\NullCoalesceNode(new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('bar', true), new Node\ArgumentsNode( ), Node\GetAttrNode::PROPERTY_CALL), new Node\ConstantNode('default')), 'foo.bar ?? "default"', ['foo'], ], [new Node\NullCoalesceNode(new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('bar'), new Node\ArgumentsNode( ), Node\GetAttrNode::ARRAY_CALL), new Node\ConstantNode('default')), 'foo["bar"] ?? "default"', ['foo'], ], [self::createGetAttrNode(self::createGetAttrNode(self::createGetAttrNode(self::createGetAttrNode(new Node\NameNode('foo'), 'bar', Node\GetAttrNode::METHOD_CALL), 'foo', Node\GetAttrNode::METHOD_CALL), 'baz', Node\GetAttrNode::PROPERTY_CALL), '3', Node\GetAttrNode::ARRAY_CALL), 'foo.bar().foo().baz[3]', ['foo'], ], [new Node\NameNode('foo'), 'bar', ['foo' => 'bar'], ], [new Node\BinaryNode('in', new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('not', true), new Node\ArgumentsNode( ), Node\GetAttrNode::PROPERTY_CALL), $arrayNode), 'foo.not in [bar]', ['foo', 'bar'], ], [new Node\BinaryNode('or', new Node\UnaryNode('not', new Node\NameNode('foo')), new Node\GetAttrNode(new Node\NameNode('foo'), new Node\ConstantNode('not', true), new Node\ArgumentsNode( ), Node\GetAttrNode::PROPERTY_CALL)), 'not foo or foo.not', ['foo'], ], [new Node\BinaryNode('..', new Node\ConstantNode(0), new Node\ConstantNode(3)), '0..3', ], [new Node\BinaryNode('+', new Node\ConstantNode(0), new Node\ConstantNode(0.1)), '0+.1', ], ]
/src/Symfony/Component/ExpressionLanguage/Tests/LexerTest.php:561return [[[new Token('name', 'a', 3)], ' a ', ], [[new Token('name', 'a', 1)], 'a', ], [[new Token('string', 'foo', 1)], '"foo"', ], [[new Token('number', 3, 1)], '3', ], [[new Token('operator', '+', 1)], '+', ], [[new Token('punctuation', '.', 1)], '.', ], [[new Token('punctuation', '(', 1), new Token('number', 3, 2), new Token('operator', '+', 4), new Token('number', 5, 6), new Token('punctuation', ')', 7), new Token('operator', '~', 9), new Token('name', 'foo', 11), new Token('punctuation', '(', 14), new Token('string', 'bar', 15), new Token('punctuation', ')', 20), new Token('punctuation', '.', 21), new Token('name', 'baz', 22), new Token('punctuation', '[', 25), new Token('number', 4, 26), new Token('punctuation', ']', 27), new Token('operator', '-', 29), new Token('number', 1990, 31), ], '(3 + 5) ~ foo("bar").baz[4] - 1.99E+3', ], [[new Token('operator', '..', 1)], '..', ], [[new Token('number', 23, 1), new Token('operator', '..', 3), new Token('number', 26, 5), ], '23..26', ], [[new Token('string', '#foo', 1)], "'#foo'", ], [[new Token('string', '#foo', 1)], '"#foo"', ], [[new Token('name', 'foo', 1), new Token('punctuation', '.', 4), new Token('name', 'not', 5), new Token('operator', 'in', 9), new Token('punctuation', '[', 12), new Token('name', 'bar', 13), new Token('punctuation', ']', 16), ], 'foo.not in [bar]', ], [[new Token('number', 0.787, 1)], '0.787', ], [[new Token('number', 0.1234, 1)], '.1234', ], [[new Token('number', 188165.1178, 1)], '188_165.1_178', ], [[new Token('operator', '-', 1), new Token('number', 7189000000.0, 2), ], '-.7_189e+10', ], ]
/src/Symfony/Component/Security/Http/LoginLink/LoginLinkNotification.php:461$email = NotificationEmail::asPublicEmail( )->to($recipient->getEmail( ))->subject($this->getSubject( ))->content($this->getContent( ) ?: $this->getDefaultContent('button below'))->action('Sign in', $this->loginLinkDetails->getUrl( ))
/src/Symfony/Component/Security/Http/Authenticator/Debug/TraceableAuthenticator.php:441return ['supports' => true, 'passport' => $this->passport, 'duration' => $this->duration, 'stub' => $this->stub ??= class_exists(ClassStub::class) ? new ClassStub($this->authenticator::class) : $this->authenticator::class, 'authenticated' => $this->authenticated, 'badges' => array_map(static function (BadgeInterface $badge) : array { /**/ } , $this->passport?->getBadges( ) ?? [ ], ), ]
/src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php:751return ($this->options['post_only'] ? $request->isMethod('POST') : true) && $this->httpUtils->checkRequestPath($request, $this->options['check_path']) && ($this->options['form_only'] ? 'form' === $request->getContentTypeFormat( ) : true)
/src/Symfony/Component/Security/Http/Tests/EventListener/CookieClearingLogoutListenerTest.php:301$listener = new CookieClearingLogoutListener(['foo' => ['path' => '/foo', 'domain' => 'foo.foo', 'secure' => true, 'samesite' => Cookie::SAMESITE_STRICT, 'partitioned' => true], 'foo2' => ['path' => null, 'domain' => null]])
/src/Symfony/Component/Security/Http/Tests/EventListener/CheckCredentialsListenerTest.php:1542$passport = $this->getMockBuilder(Passport::class)->onlyMethods(['addBadge'])->setConstructorArgs([new UserBadge('wouter', fn ( ) => $this->user), new PasswordCredentials('ThePa$$word'), [new PasswordUpgradeBadge('ThePa$$word')]])->getMock( )
/src/Symfony/Component/Security/Http/Tests/EventListener/CheckCredentialsListenerTest.php:1372$passport = $this->getMockBuilder(Passport::class)->onlyMethods(['addBadge'])->setConstructorArgs([new UserBadge('wouter', fn ( ) => $this->user), new PasswordCredentials('ThePa$$word'), [new PasswordUpgradeBadge('ThePa$$word')]])->getMock( )
/src/Symfony/Component/Security/Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php:801return ['default' => [Request::create('/'), [ ], '/', ], 'forced target path' => [Request::create('/'), ['always_use_default_target_path' => true, 'default_target_path' => '/dashboard'], '/dashboard', ], 'target path as query string' => [Request::create('/?_target_path=/dashboard'), [ ], '/dashboard', ], 'target path name as query string is customized' => [Request::create('/?_my_target_path=/dashboard'), ['target_path_parameter' => '_my_target_path'], '/dashboard', ], 'target path name as query string is customized and nested' => [Request::create('/?_target_path[value]=/dashboard'), ['target_path_parameter' => '_target_path[value]'], '/dashboard', ], 'target path as referer' => [Request::create('/', 'GET', [ ], [ ], [ ], ['HTTP_REFERER' => 'http://localhost/dashboard']), ['use_referer' => true], '/dashboard', ], 'target path as referer is ignored if not configured' => [Request::create('/', 'GET', [ ], [ ], [ ], ['HTTP_REFERER' => 'http://localhost/dashboard']), [ ], '/', ], 'target path as referer when referer not set' => [Request::create('/'), ['use_referer' => true], '/', ], 'target path as referer when referer is ?' => [Request::create('/', 'GET', [ ], [ ], [ ], ['HTTP_REFERER' => '?']), ['use_referer' => true], '/', ], 'target path should be different than login URL' => [Request::create('/', 'GET', [ ], [ ], [ ], ['HTTP_REFERER' => 'http://localhost/login']), ['use_referer' => true, 'login_path' => '/login'], '/', ], 'target path should be different than login URL (query string does not matter)' => [Request::create('/', 'GET', [ ], [ ], [ ], ['HTTP_REFERER' => 'http://localhost/login?t=1&p=2']), ['use_referer' => true, 'login_path' => '/login'], '/', ], 'target path should be different than login URL (login_path as a route)' => [Request::create('/', 'GET', [ ], [ ], [ ], ['HTTP_REFERER' => 'http://localhost/login?t=1&p=2']), ['use_referer' => true, 'login_path' => 'login_route'], '/', ], ]
/src/Symfony/Component/Security/Http/Tests/Firewall/LogoutListenerTest.php:1921$listener = new LogoutListener($tokenStorage = $this->getTokenStorage( ), $httpUtils = $this->getHttpUtils( ), $eventDispatcher ?? $this->getEventDispatcher( ), $options = ['csrf_parameter' => '_csrf_token', 'csrf_token_id' => 'logout', 'logout_path' => '/logout', 'target_url' => '/', ], $tokenManager)
/src/Symfony/Component/Security/Http/Tests/Firewall/ExceptionListenerTest.php:2081return new ExceptionListener($tokenStorage ?? $this->createMock(TokenStorageInterface::class), $trustResolver ?? $this->createMock(AuthenticationTrustResolverInterface::class), $httpUtils ?? $this->createMock(HttpUtils::class), 'key', $authenticationEntryPoint, $errorPage, $accessDeniedHandler)
/src/Symfony/Component/Uid/UuidV6.php:491$uuid = substr($uuidV1, 15, 3) . substr($uuidV1, 9, 4) . $uuidV1[0] . '-' . substr($uuidV1, 1, 4) . '-6' . substr($uuidV1, 5, 3) . substr($uuidV1, 18, 6)
/src/Symfony/Component/Uid/UuidV7.php:1161return substr_replace(sprintf('%012s-%04x-%04x-%04x%04x%04x', $time, 0x7000 | (self::$rand[1] << 2) | (self::$rand[2] >> 14), 0x8000 | (self::$rand[2] & 0x3FFF), self::$rand[3], self::$rand[4], self::$rand[5], ), '-', 8, 0)
/src/Symfony/Component/Uid/Ulid.php:1041$ulid = sprintf('%02s%05s%05s%05s%05s%05s%05s', base_convert(substr($ulid, 0, 2), 32, 16), base_convert(substr($ulid, 2, 4), 32, 16), base_convert(substr($ulid, 6, 4), 32, 16), base_convert(substr($ulid, 10, 4), 32, 16), base_convert(substr($ulid, 14, 4), 32, 16), base_convert(substr($ulid, 18, 4), 32, 16), base_convert(substr($ulid, 22, 4), 32, 16))
/src/Symfony/Component/Uid/Ulid.php:2001return strtr(sprintf('%010s%04s%04s%04s%04s', $time, base_convert(self::$rand[1], 10, 32), base_convert(self::$rand[2], 10, 32), base_convert(self::$rand[3], 10, 32), base_convert(self::$rand[4], 10, 32)), 'abcdefghijklmnopqrstuv', 'ABCDEFGHJKMNPQRSTVWXYZ')
/src/Symfony/Component/Uid/AbstractUid.php:1091$uid = sprintf('%02s%04s%04s%04s%04s%04s%04s', base_convert(substr($uid, 0, 2), 16, 32), base_convert(substr($uid, 2, 5), 16, 32), base_convert(substr($uid, 7, 5), 16, 32), base_convert(substr($uid, 12, 5), 16, 32), base_convert(substr($uid, 17, 5), 16, 32), base_convert(substr($uid, 22, 5), 16, 32), base_convert(substr($uid, 27, 5), 16, 32))
/src/Symfony/Component/Uid/Ulid.php:761$ulid = sprintf('%02s%04s%04s%04s%04s%04s%04s', base_convert(substr($ulid, 0, 2), 16, 32), base_convert(substr($ulid, 2, 5), 16, 32), base_convert(substr($ulid, 7, 5), 16, 32), base_convert(substr($ulid, 12, 5), 16, 32), base_convert(substr($ulid, 17, 5), 16, 32), base_convert(substr($ulid, 22, 5), 16, 32), base_convert(substr($ulid, 27, 5), 16, 32))
/src/Symfony/Component/ExpressionLanguage/Tests/Node/ConditionalNodeTest.php:291return [['((true) ? (1) : (2))', new ConditionalNode(new ConstantNode(true), new ConstantNode(1), new ConstantNode(2))], ['((false) ? (1) : (2))', new ConditionalNode(new ConstantNode(false), new ConstantNode(1), new ConstantNode(2))], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/ConditionalNodeTest.php:371return [['(true ? 1 : 2)', new ConditionalNode(new ConstantNode(true), new ConstantNode(1), new ConstantNode(2))], ['(false ? 1 : 2)', new ConditionalNode(new ConstantNode(false), new ConstantNode(1), new ConstantNode(2))], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/BinaryNodeTest.php:1361return [['(true or false)', new BinaryNode('or', new ConstantNode(true), new ConstantNode(false))], ['(true || false)', new BinaryNode('||', new ConstantNode(true), new ConstantNode(false))], ['(true and false)', new BinaryNode('and', new ConstantNode(true), new ConstantNode(false))], ['(true && false)', new BinaryNode('&&', new ConstantNode(true), new ConstantNode(false))], ['(2 & 4)', new BinaryNode('&', new ConstantNode(2), new ConstantNode(4))], ['(2 | 4)', new BinaryNode('|', new ConstantNode(2), new ConstantNode(4))], ['(2 ^ 4)', new BinaryNode('^', new ConstantNode(2), new ConstantNode(4))], ['(1 < 2)', new BinaryNode('<', new ConstantNode(1), new ConstantNode(2))], ['(1 <= 2)', new BinaryNode('<=', new ConstantNode(1), new ConstantNode(2))], ['(1 <= 1)', new BinaryNode('<=', new ConstantNode(1), new ConstantNode(1))], ['(1 > 2)', new BinaryNode('>', new ConstantNode(1), new ConstantNode(2))], ['(1 >= 2)', new BinaryNode('>=', new ConstantNode(1), new ConstantNode(2))], ['(1 >= 1)', new BinaryNode('>=', new ConstantNode(1), new ConstantNode(1))], ['(true === true)', new BinaryNode('===', new ConstantNode(true), new ConstantNode(true))], ['(true !== true)', new BinaryNode('!==', new ConstantNode(true), new ConstantNode(true))], ['(2 == 1)', new BinaryNode('==', new ConstantNode(2), new ConstantNode(1))], ['(2 != 1)', new BinaryNode('!=', new ConstantNode(2), new ConstantNode(1))], ['(1 - 2)', new BinaryNode('-', new ConstantNode(1), new ConstantNode(2))], ['(1 + 2)', new BinaryNode('+', new ConstantNode(1), new ConstantNode(2))], ['(2 * 2)', new BinaryNode('*', new ConstantNode(2), new ConstantNode(2))], ['(2 / 2)', new BinaryNode('/', new ConstantNode(2), new ConstantNode(2))], ['(5 % 2)', new BinaryNode('%', new ConstantNode(5), new ConstantNode(2))], ['(5 ** 2)', new BinaryNode('**', new ConstantNode(5), new ConstantNode(2))], ['("a" ~ "b")', new BinaryNode('~', new ConstantNode('a'), new ConstantNode('b'))], ['("a" in ["a", "b"])', new BinaryNode('in', new ConstantNode('a'), $array)], ['("c" in ["a", "b"])', new BinaryNode('in', new ConstantNode('c'), $array)], ['("c" not in ["a", "b"])', new BinaryNode('not in', new ConstantNode('c'), $array)], ['("a" not in ["a", "b"])', new BinaryNode('not in', new ConstantNode('a'), $array)], ['(1 .. 3)', new BinaryNode('..', new ConstantNode(1), new ConstantNode(3))], ['("abc" matches "/^[a-z]+$/")', new BinaryNode('matches', new ConstantNode('abc'), new ConstantNode('/^[a-z]+$/'))], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/ConditionalNodeTest.php:211return [[1, new ConditionalNode(new ConstantNode(true), new ConstantNode(1), new ConstantNode(2))], [2, new ConditionalNode(new ConstantNode(false), new ConstantNode(1), new ConstantNode(2))], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/BinaryNodeTest.php:291return [[true, new BinaryNode('or', new ConstantNode(true), new ConstantNode(false))], [true, new BinaryNode('||', new ConstantNode(true), new ConstantNode(false))], [false, new BinaryNode('and', new ConstantNode(true), new ConstantNode(false))], [false, new BinaryNode('&&', new ConstantNode(true), new ConstantNode(false))], [0, new BinaryNode('&', new ConstantNode(2), new ConstantNode(4))], [6, new BinaryNode('|', new ConstantNode(2), new ConstantNode(4))], [6, new BinaryNode('^', new ConstantNode(2), new ConstantNode(4))], [true, new BinaryNode('<', new ConstantNode(1), new ConstantNode(2))], [true, new BinaryNode('<=', new ConstantNode(1), new ConstantNode(2))], [true, new BinaryNode('<=', new ConstantNode(1), new ConstantNode(1))], [false, new BinaryNode('>', new ConstantNode(1), new ConstantNode(2))], [false, new BinaryNode('>=', new ConstantNode(1), new ConstantNode(2))], [true, new BinaryNode('>=', new ConstantNode(1), new ConstantNode(1))], [true, new BinaryNode('===', new ConstantNode(true), new ConstantNode(true))], [false, new BinaryNode('!==', new ConstantNode(true), new ConstantNode(true))], [false, new BinaryNode('==', new ConstantNode(2), new ConstantNode(1))], [true, new BinaryNode('!=', new ConstantNode(2), new ConstantNode(1))], [-1, new BinaryNode('-', new ConstantNode(1), new ConstantNode(2))], [3, new BinaryNode('+', new ConstantNode(1), new ConstantNode(2))], [4, new BinaryNode('*', new ConstantNode(2), new ConstantNode(2))], [1, new BinaryNode('/', new ConstantNode(2), new ConstantNode(2))], [1, new BinaryNode('%', new ConstantNode(5), new ConstantNode(2))], [25, new BinaryNode('**', new ConstantNode(5), new ConstantNode(2))], ['ab', new BinaryNode('~', new ConstantNode('a'), new ConstantNode('b'))], [true, new BinaryNode('in', new ConstantNode('a'), $array)], [false, new BinaryNode('in', new ConstantNode('c'), $array)], [true, new BinaryNode('not in', new ConstantNode('c'), $array)], [false, new BinaryNode('not in', new ConstantNode('a'), $array)], [[1, 2, 3], new BinaryNode('..', new ConstantNode(1), new ConstantNode(3))], [true, new BinaryNode('starts with', new ConstantNode('abc'), new ConstantNode('a'))], [false, new BinaryNode('starts with', new ConstantNode('abc'), new ConstantNode('b'))], [true, new BinaryNode('ends with', new ConstantNode('abc'), new ConstantNode('c'))], [false, new BinaryNode('ends with', new ConstantNode('abc'), new ConstantNode('b'))], [1, new BinaryNode('matches', new ConstantNode('abc'), new ConstantNode('/^[a-z]+$/'))], [0, new BinaryNode('matches', new ConstantNode(''), new ConstantNode('/^[a-z]+$/'))], [0, new BinaryNode('matches', new ConstantNode(null), new ConstantNode('/^[a-z]+$/'))], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/BinaryNodeTest.php:841return [['(true || false)', new BinaryNode('or', new ConstantNode(true), new ConstantNode(false))], ['(true || false)', new BinaryNode('||', new ConstantNode(true), new ConstantNode(false))], ['(true && false)', new BinaryNode('and', new ConstantNode(true), new ConstantNode(false))], ['(true && false)', new BinaryNode('&&', new ConstantNode(true), new ConstantNode(false))], ['(2 & 4)', new BinaryNode('&', new ConstantNode(2), new ConstantNode(4))], ['(2 | 4)', new BinaryNode('|', new ConstantNode(2), new ConstantNode(4))], ['(2 ^ 4)', new BinaryNode('^', new ConstantNode(2), new ConstantNode(4))], ['(1 < 2)', new BinaryNode('<', new ConstantNode(1), new ConstantNode(2))], ['(1 <= 2)', new BinaryNode('<=', new ConstantNode(1), new ConstantNode(2))], ['(1 <= 1)', new BinaryNode('<=', new ConstantNode(1), new ConstantNode(1))], ['(1 > 2)', new BinaryNode('>', new ConstantNode(1), new ConstantNode(2))], ['(1 >= 2)', new BinaryNode('>=', new ConstantNode(1), new ConstantNode(2))], ['(1 >= 1)', new BinaryNode('>=', new ConstantNode(1), new ConstantNode(1))], ['(true === true)', new BinaryNode('===', new ConstantNode(true), new ConstantNode(true))], ['(true !== true)', new BinaryNode('!==', new ConstantNode(true), new ConstantNode(true))], ['(2 == 1)', new BinaryNode('==', new ConstantNode(2), new ConstantNode(1))], ['(2 != 1)', new BinaryNode('!=', new ConstantNode(2), new ConstantNode(1))], ['(1 - 2)', new BinaryNode('-', new ConstantNode(1), new ConstantNode(2))], ['(1 + 2)', new BinaryNode('+', new ConstantNode(1), new ConstantNode(2))], ['(2 * 2)', new BinaryNode('*', new ConstantNode(2), new ConstantNode(2))], ['(2 / 2)', new BinaryNode('/', new ConstantNode(2), new ConstantNode(2))], ['(5 % 2)', new BinaryNode('%', new ConstantNode(5), new ConstantNode(2))], ['pow(5, 2)', new BinaryNode('**', new ConstantNode(5), new ConstantNode(2))], ['("a" . "b")', new BinaryNode('~', new ConstantNode('a'), new ConstantNode('b'))], ['\in_array("a", [0 => "a", 1 => "b"], true)', new BinaryNode('in', new ConstantNode('a'), $array)], ['\in_array("c", [0 => "a", 1 => "b"], true)', new BinaryNode('in', new ConstantNode('c'), $array)], ['!\in_array("c", [0 => "a", 1 => "b"], true)', new BinaryNode('not in', new ConstantNode('c'), $array)], ['!\in_array("a", [0 => "a", 1 => "b"], true)', new BinaryNode('not in', new ConstantNode('a'), $array)], ['range(1, 3)', new BinaryNode('..', new ConstantNode(1), new ConstantNode(3))], ['(static function ($regexp, $str) { set_error_handler(static fn ($t, $m) => throw new \Symfony\Component\ExpressionLanguage\SyntaxError(sprintf(\'Regexp "%s" passed to "matches" is not valid\', $regexp).substr($m, 12))); try { return preg_match($regexp, (string) $str); } finally { restore_error_handler(); } })("/^[a-z]+\$/", "abc")', new BinaryNode('matches', new ConstantNode('abc'), new ConstantNode('/^[a-z]+$/'))], ['str_starts_with("abc", "a")', new BinaryNode('starts with', new ConstantNode('abc'), new ConstantNode('a'))], ['str_ends_with("abc", "a")', new BinaryNode('ends with', new ConstantNode('abc'), new ConstantNode('a'))], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/UnaryNodeTest.php:311return [['(-1)', new UnaryNode('-', new ConstantNode(1))], ['(+3)', new UnaryNode('+', new ConstantNode(3))], ['(!true)', new UnaryNode('!', new ConstantNode(true))], ['(!true)', new UnaryNode('not', new ConstantNode(true))], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/UnaryNodeTest.php:411return [['(- 1)', new UnaryNode('-', new ConstantNode(1))], ['(+ 3)', new UnaryNode('+', new ConstantNode(3))], ['(! true)', new UnaryNode('!', new ConstantNode(true))], ['(not true)', new UnaryNode('not', new ConstantNode(true))], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/ConstantNodeTest.php:461return [['false', new ConstantNode(false)], ['true', new ConstantNode(true)], ['null', new ConstantNode(null)], ['3', new ConstantNode(3)], ['3.3', new ConstantNode(3.3)], ['"foo"', new ConstantNode('foo')], ['foo', new ConstantNode('foo', true)], ['{0: 1, "b": "a", 1: true}', new ConstantNode([1, 'b' => 'a', true])], ['{"a\\"b": "c", "a\\\\b": "d"}', new ConstantNode(['a"b' => 'c', 'a\\b' => 'd'])], ['["c", "d"]', new ConstantNode(['c', 'd'])], ['{"a": ["b"]}', new ConstantNode(['a' => ['b']])], ]
/src/Symfony/Component/ExpressionLanguage/Tests/Node/UnaryNodeTest.php:211return [[-1, new UnaryNode('-', new ConstantNode(1))], [3, new UnaryNode('+', new ConstantNode(3))], [false, new UnaryNode('!', new ConstantNode(true))], [false, new UnaryNode('not', new ConstantNode(true))], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:1401return [['iteratorCollection', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Iterator', true, null, new Type(Type::BUILTIN_TYPE_STRING))]], ['iteratorCollectionWithKey', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Iterator', true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING))]], ['nestedIterators', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Iterator', true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Iterator', true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING)))], ], ['arrayWithKeys', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_STRING))], ], ['arrayWithKeysAndComplexValue', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, true)))], ], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:871return [['foo', null], ['bar', [new Type(Type::BUILTIN_TYPE_STRING)]], ['baz', [new Type(Type::BUILTIN_TYPE_INT)]], ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)]], ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)]], ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)]], ['foo5', null], ['files', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')), new Type(Type::BUILTIN_TYPE_RESOURCE), ], ], ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable')]], ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')]], ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))]], ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))]], ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [new Type(Type::BUILTIN_TYPE_INT)], null)]], ['a', [new Type(Type::BUILTIN_TYPE_INT)]], ['b', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')]], ['c', [new Type(Type::BUILTIN_TYPE_BOOL, true)]], ['d', [new Type(Type::BUILTIN_TYPE_BOOL)]], ['e', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_RESOURCE))]], ['f', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))]], ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)]], ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)]], ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTimeImmutable')]], ['nullableCollectionOfNonNullableElements', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT, false))]], ['donotexist', null], ['staticGetter', null], ['staticSetter', null], ['emptyVar', null], ['arrayWithKeys', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_STRING))]], ['arrayOfMixed', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_STRING), null)]], ['listOfStrings', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING))]], ['self', [new Type(Type::BUILTIN_TYPE_OBJECT, false, Dummy::class)]], ['rootDummyItems', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, RootDummyItem::class))]], ['rootDummyItem', [new Type(Type::BUILTIN_TYPE_OBJECT, false, RootDummyItem::class)]], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:2361return [['foo', null], ['bar', [new Type(Type::BUILTIN_TYPE_STRING)]], ['baz', [new Type(Type::BUILTIN_TYPE_INT)]], ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)]], ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)]], ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)]], ['foo5', null], ['files', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')), new Type(Type::BUILTIN_TYPE_RESOURCE), ], ], ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable')]], ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')]], ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))]], ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))]], ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [new Type(Type::BUILTIN_TYPE_INT)], null)]], ['a', null], ['b', null], ['c', null], ['d', null], ['e', null], ['f', null], ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)]], ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)]], ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTimeImmutable')]], ['nullableCollectionOfNonNullableElements', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT, false))]], ['donotexist', null], ['staticGetter', null], ['staticSetter', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:1981return [['foo', null], ['bar', [new Type(Type::BUILTIN_TYPE_STRING)]], ['baz', [new Type(Type::BUILTIN_TYPE_INT)]], ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)]], ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)]], ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)]], ['foo5', null], ['files', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')), new Type(Type::BUILTIN_TYPE_RESOURCE), ], ], ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable')]], ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')]], ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))]], ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))]], ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [new Type(Type::BUILTIN_TYPE_INT)], null)]], ['a', null], ['b', null], ['c', [new Type(Type::BUILTIN_TYPE_BOOL, true)]], ['d', [new Type(Type::BUILTIN_TYPE_BOOL)]], ['e', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_RESOURCE))]], ['f', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))]], ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)]], ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)]], ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTimeImmutable')]], ['nullableCollectionOfNonNullableElements', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT, false))]], ['donotexist', null], ['staticGetter', null], ['staticSetter', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:3541return [['methodInTraitPrimitiveType', new Type(Type::BUILTIN_TYPE_STRING)], ['methodInTraitObjectSameNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, DummyUsedInTrait::class)], ['methodInTraitObjectDifferentNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, Dummy::class)], ['methodInExternalTraitPrimitiveType', new Type(Type::BUILTIN_TYPE_STRING)], ['methodInExternalTraitObjectSameNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, Dummy::class)], ['methodInExternalTraitObjectDifferentNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, DummyUsedInTrait::class)], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:3341return [['propertyInTraitPrimitiveType', new Type(Type::BUILTIN_TYPE_STRING)], ['propertyInTraitObjectSameNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, DummyUsedInTrait::class)], ['propertyInTraitObjectDifferentNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, Dummy::class)], ['propertyInExternalTraitPrimitiveType', new Type(Type::BUILTIN_TYPE_STRING)], ['propertyInExternalTraitObjectSameNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, Dummy::class)], ['propertyInExternalTraitObjectDifferentNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, DummyUsedInTrait::class)], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:4311return [['classString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['classStringGeneric', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['htmlEscapedString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['lowercaseString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['nonEmptyLowercaseString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['nonEmptyString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['numericString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['traitString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['positiveInt', [new Type(Type::BUILTIN_TYPE_INT, false, null)]], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:4111return [['date', [new Type(Type::BUILTIN_TYPE_INT)]], ['timezone', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeZone')]], ['dateObject', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeInterface')]], ['dateTime', null], ['ddd', null], ['mixed', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:2141return [['foo', null, 'Short description.', 'Long description.'], ['bar', [new Type(Type::BUILTIN_TYPE_STRING)], 'This is bar', null], ['baz', [new Type(Type::BUILTIN_TYPE_INT)], 'Should be used.', null], ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)], null, null], ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)], null, null], ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)], null, null], ['foo5', null, null, null], ['files', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')), new Type(Type::BUILTIN_TYPE_RESOURCE), ], null, null, ], ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable')], null, null], ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')], null, null], ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))], null, null], ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))], null, null], ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, null, null)], null, null], ['a', null, 'A.', null], ['b', null, 'B.', null], ['c', [new Type(Type::BUILTIN_TYPE_BOOL, true)], null, null], ['d', [new Type(Type::BUILTIN_TYPE_BOOL)], null, null], ['e', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_RESOURCE))], null, null], ['f', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))], null, null], ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)], 'Nullable array.', null], ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)], null, null], ['i', [new Type(Type::BUILTIN_TYPE_STRING, true), new Type(Type::BUILTIN_TYPE_INT, true)], null, null], ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTimeImmutable')], null, null], ['nullableCollectionOfNonNullableElements', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT, false))], null, null], ['nonNullableCollectionOfNullableElements', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT, true))], null, null], ['nullableCollectionOfMultipleNonNullableElementTypes', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), [new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING)])], null, null], ['donotexist', null, null, null], ['staticGetter', null, null, null], ['staticSetter', null, null, null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:1501return [['iteratorCollection', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Iterator', true, [new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_INT)], new Type(Type::BUILTIN_TYPE_STRING))], null, null], ['iteratorCollectionWithKey', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Iterator', true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING))], null, null], ['nestedIterators', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Iterator', true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Iterator', true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING)))], null, null, ], ['arrayWithKeys', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_STRING))], null, null, ], ['arrayWithKeysAndComplexValue', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, true)))], null, null, ], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:3032return ['pub' => ['pub', [new Type(Type::BUILTIN_TYPE_STRING)], ], 'protAcc' => ['protAcc', [new Type(Type::BUILTIN_TYPE_INT)], ], 'protMut' => ['protMut', [new Type(Type::BUILTIN_TYPE_BOOL)], ], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:2571return [['foo', null, 'Short description.', 'Long description.'], ['bar', [new Type(Type::BUILTIN_TYPE_STRING)], 'This is bar', null], ['baz', [new Type(Type::BUILTIN_TYPE_INT)], 'Should be used.', null], ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)], null, null], ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)], null, null], ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)], null, null], ['foo5', null, null, null], ['files', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')), new Type(Type::BUILTIN_TYPE_RESOURCE), ], null, null, ], ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable')], null, null], ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')], null, null], ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))], null, null], ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))], null, null], ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, null, null)], null, null], ['a', null, 'A.', null], ['b', null, 'B.', null], ['c', null, null, null], ['d', null, null, null], ['e', null, null, null], ['f', null, null, null], ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)], 'Nullable array.', null], ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)], null, null], ['i', [new Type(Type::BUILTIN_TYPE_STRING, true), new Type(Type::BUILTIN_TYPE_INT, true)], null, null], ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTimeImmutable')], null, null], ['nullableCollectionOfNonNullableElements', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT, false))], null, null], ['donotexist', null, null, null], ['staticGetter', null, null, null], ['staticSetter', null, null, null], ]
/src/Symfony/Component/PropertyInfo/Util/PhpStanTypeHelper.php:1621return [new Type($subTypes[0]->getBuiltinType( ), true, $subTypes[0]->getClassName( ), $subTypes[0]->isCollection( ), $subTypes[0]->getCollectionKeyTypes( ), $subTypes[0]->getCollectionValueTypes( ))]
/src/Symfony/Component/Ldap/Adapter/ExtLdap/Query.php:991$search = @$func($con, $this->dn, $this->query, $this->options['filter'], $this->options['attrsOnly'], $sizeLimit, $this->options['timeout'], $this->options['deref'], $this->serverctrls)
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php:921return [['foo', null, 'Short description.', 'Long description.'], ['bar', [new Type(Type::BUILTIN_TYPE_STRING)], 'This is bar', null], ['baz', [new Type(Type::BUILTIN_TYPE_INT)], 'Should be used.', null], ['foo2', [new Type(Type::BUILTIN_TYPE_FLOAT)], null, null], ['foo3', [new Type(Type::BUILTIN_TYPE_CALLABLE)], null, null], ['foo4', [new Type(Type::BUILTIN_TYPE_NULL)], null, null], ['foo5', null, null, null], ['files', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'SplFileInfo')), new Type(Type::BUILTIN_TYPE_RESOURCE), ], null, null, ], ['bal', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable')], null, null], ['parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')], null, null], ['collection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))], null, null], ['nestedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, false)))], null, null], ['mixedCollection', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, null, null)], null, null], ['a', [new Type(Type::BUILTIN_TYPE_INT)], 'A.', null], ['b', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')], 'B.', null], ['c', [new Type(Type::BUILTIN_TYPE_BOOL, true)], null, null], ['ct', [new Type(Type::BUILTIN_TYPE_TRUE, true)], null, null], ['cf', [new Type(Type::BUILTIN_TYPE_FALSE, true)], null, null], ['d', [new Type(Type::BUILTIN_TYPE_BOOL)], null, null], ['dt', [new Type(Type::BUILTIN_TYPE_TRUE)], null, null], ['df', [new Type(Type::BUILTIN_TYPE_FALSE)], null, null], ['e', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_RESOURCE))], null, null], ['f', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))], null, null], ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)], 'Nullable array.', null], ['h', [new Type(Type::BUILTIN_TYPE_STRING, true)], null, null], ['i', [new Type(Type::BUILTIN_TYPE_STRING, true), new Type(Type::BUILTIN_TYPE_INT, true)], null, null], ['j', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'DateTimeImmutable')], null, null], ['nullableCollectionOfNonNullableElements', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_INT, false))], null, null], ['donotexist', null, null, null], ['staticGetter', null, null, null], ['staticSetter', null, null, null], ['emptyVar', null, 'This should not be removed.', null], ['arrayWithKeys', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_STRING))], null, null], ['arrayOfMixed', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_STRING), null)], null, null], ['listOfStrings', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING))], null, null], ['self', [new Type(Type::BUILTIN_TYPE_OBJECT, false, Dummy::class)], null, null], ]
/src/Symfony/Component/PropertyInfo/Tests/TypeTest.php:571$type = new Type('array', false, null, true, [new Type('int'), new Type('string')], [new Type('object', false, \ArrayObject::class, true), new Type('array', false, null, true)])
/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php:6421return [['timezone', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeZone')]], ['date', null], ['dateObject', null], ['dateTime', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable')]], ['ddd', null], ]
/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php:2151return new DocBlock($docBlock->getSummary( ), $docBlock->getDescription( ), $tags, $docBlock->getContext( ), $docBlock->getLocation( ), $docBlock->isTemplateStart( ), $docBlock->isTemplateEnd( ))
/src/Symfony/Component/EventDispatcher/Tests/DependencyInjection/RegisterListenersPassTest.php:2231$expectedCalls = [['addListener', ['foo.bar', [new ServiceClosureArgument(new Reference('foo')), 'onFooBar'], 0, ], ], ['addListener', ['foo.bar', [new ServiceClosureArgument(new Reference('bar')), '__invoke'], 0, ], ], ['addListener', ['event', [new ServiceClosureArgument(new Reference('baz')), 'onEvent'], 0, ], ], ['addListener', ['foo.bar_zar', [new ServiceClosureArgument(new Reference('zar')), 'onFooBarZar'], 0, ], ], ]
/src/Symfony/Component/EventDispatcher/Tests/DependencyInjection/RegisterListenersPassTest.php:3221$expectedCalls = [['addListener', [CustomEvent::class, [new ServiceClosureArgument(new Reference('foo')), 'onCustomEvent'], 0, ], ], ['addListener', ['foo', [new ServiceClosureArgument(new Reference('foo')), 'onFoo'], 42, ], ], ['addListener', ['bar', [new ServiceClosureArgument(new Reference('foo')), 'onBarEvent'], 0, ], ], ['addListener', ['baz', [new ServiceClosureArgument(new Reference('foo')), 'onBazEvent'], 0, ], ], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php:2611return [['foo', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)]], ['buz', [new Type(Type::BUILTIN_TYPE_NULL)]], ['bar', [new Type(Type::BUILTIN_TYPE_INT, true)]], ['baz', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING))]], ['donotexist', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php:2801return [['foo', [new Type(Type::BUILTIN_TYPE_ARRAY, true, null, true)]], ['bar', [new Type(Type::BUILTIN_TYPE_INT, true)]], ['timeout', [new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_FLOAT)]], ['optional', [new Type(Type::BUILTIN_TYPE_INT, true), new Type(Type::BUILTIN_TYPE_FLOAT, true)]], ['string', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Stringable'), new Type(Type::BUILTIN_TYPE_STRING)]], ['payload', null], ['data', null], ['mixedProperty', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php:3421return [['defaultInt', [new Type(Type::BUILTIN_TYPE_INT, false)]], ['defaultFloat', [new Type(Type::BUILTIN_TYPE_FLOAT, false)]], ['defaultString', [new Type(Type::BUILTIN_TYPE_STRING, false)]], ['defaultArray', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true)]], ['defaultNull', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php:4871return [[Php71Dummy::class, 'string', [new Type(Type::BUILTIN_TYPE_STRING, false)]], [Php71Dummy::class, 'intPrivate', [new Type(Type::BUILTIN_TYPE_INT, false)]], [Php71DummyExtended2::class, 'intWithAccessor', [new Type(Type::BUILTIN_TYPE_INT, false)]], [Php71DummyExtended2::class, 'intPrivate', [new Type(Type::BUILTIN_TYPE_INT, false)]], [DefaultValue::class, 'foo', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:4021return [['classString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['classStringGeneric', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['htmlEscapedString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['lowercaseString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['nonEmptyLowercaseString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['nonEmptyString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['numericString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['traitString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['interfaceString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['literalString', [new Type(Type::BUILTIN_TYPE_STRING, false, null)]], ['positiveInt', [new Type(Type::BUILTIN_TYPE_INT, false, null)]], ['negativeInt', [new Type(Type::BUILTIN_TYPE_INT, false, null)]], ['nonEmptyArray', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true)]], ['nonEmptyList', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT))]], ['scalar', [new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_FLOAT), new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_BOOL)]], ['number', [new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_FLOAT)]], ['numeric', [new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_FLOAT), new Type(Type::BUILTIN_TYPE_STRING)]], ['arrayKey', [new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_INT)]], ['double', [new Type(Type::BUILTIN_TYPE_FLOAT)]], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:4691return [[Php80Dummy::class, 'promotedWithDocCommentAndType', [new Type(Type::BUILTIN_TYPE_INT)]], [Php80Dummy::class, 'promotedWithDocComment', [new Type(Type::BUILTIN_TYPE_STRING)]], [Php80Dummy::class, 'promotedAndMutated', [new Type(Type::BUILTIN_TYPE_STRING)]], [Php80Dummy::class, 'promoted', null], [Php80Dummy::class, 'collection', [new Type(Type::BUILTIN_TYPE_ARRAY, collection : true, collectionValueType : new Type(Type::BUILTIN_TYPE_STRING))]], [Php80PromotedDummy::class, 'promoted', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php:2131return [['a', null], ['b', [new Type(Type::BUILTIN_TYPE_OBJECT, true, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')]], ['c', [new Type(Type::BUILTIN_TYPE_BOOL)]], ['d', [new Type(Type::BUILTIN_TYPE_BOOL)]], ['e', null], ['f', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeImmutable'))]], ['donotexist', null], ['staticGetter', null], ['staticSetter', null], ['self', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy')]], ['realParent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\ParentDummy')]], ['date', [new Type(Type::BUILTIN_TYPE_OBJECT, false, \DateTimeImmutable::class)]], ['dates', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_OBJECT, false, \DateTimeImmutable::class))]], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php:2401return [[Php7Dummy::class, 'foo', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true)]], [Php7Dummy::class, 'bar', [new Type(Type::BUILTIN_TYPE_INT)]], [Php7Dummy::class, 'baz', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING))]], [Php7Dummy::class, 'buz', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'Symfony\Component\PropertyInfo\Tests\Fixtures\Php7Dummy')]], [Php7Dummy::class, 'biz', [new Type(Type::BUILTIN_TYPE_OBJECT, false, Php7ParentDummy::class)]], [Php7Dummy::class, 'donotexist', null], [Php7ParentDummy::class, 'parent', [new Type(Type::BUILTIN_TYPE_OBJECT, false, \stdClass::class)]], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:2742return ['pub' => ['pub', [new Type(Type::BUILTIN_TYPE_STRING)], ], 'protAcc' => ['protAcc', [new Type(Type::BUILTIN_TYPE_INT)], ], 'protMut' => ['protMut', [new Type(Type::BUILTIN_TYPE_BOOL)], ], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:3051return [['propertyInTraitPrimitiveType', new Type(Type::BUILTIN_TYPE_STRING)], ['propertyInTraitObjectSameNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, DummyUsedInTrait::class)], ['propertyInTraitObjectDifferentNamespace', new Type(Type::BUILTIN_TYPE_OBJECT, false, Dummy::class)], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:3621return [['date', [new Type(Type::BUILTIN_TYPE_INT)]], ['timezone', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeZone')]], ['dateObject', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTimeInterface')]], ['dateTime', null], ['ddd', null], ]
/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php:3811return [['a', [new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_INT)]], ['b', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [new Type(Type::BUILTIN_TYPE_INT)], [new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_INT)])]], ['c', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [ ], [new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_INT)])]], ['d', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_INT)], [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [ ], [new Type(Type::BUILTIN_TYPE_STRING)])])]], ['e', [new Type(Type::BUILTIN_TYPE_OBJECT, true, Dummy::class, true, [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [ ], [new Type(Type::BUILTIN_TYPE_STRING)])], [new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [new Type(Type::BUILTIN_TYPE_INT)], [new Type(Type::BUILTIN_TYPE_STRING, false, null, true, [ ], [new Type(Type::BUILTIN_TYPE_OBJECT, false, DefaultValue::class)])])]), new Type(Type::BUILTIN_TYPE_OBJECT, false, ParentDummy::class)]], ['f', null], ['g', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, [ ], [new Type(Type::BUILTIN_TYPE_STRING), new Type(Type::BUILTIN_TYPE_INT)])]], ]
/src/Symfony/Component/Security/Csrf/CsrfTokenManager.php:1151return sprintf('%s.%s.%s', substr(hash('xxh128', $key), 0, 1 + (\ord($key[0]) % 32)), rtrim(strtr(base64_encode($key), '+/', '-_'), '='), rtrim(strtr(base64_encode($value), '+/', '-_'), '='))
/src/Symfony/Component/Security/Http/RateLimiter/DefaultLoginRateLimiter.php:531return [$this->globalFactory->create($this->hash($request->getClientIp( ))), $this->localFactory->create($this->hash($username . '-' . $request->getClientIp( ))), ]
/src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTokenHandler.php:791$checkers = [new Checker\IssuedAtChecker(0, false, $this->clock), new Checker\NotBeforeChecker(0, false, $this->clock), new Checker\ExpirationTimeChecker(0, false, $this->clock), new Checker\AudienceChecker($this->audience), new Checker\IssuerChecker($this->issuers), ]
/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php:1041yield [self::buildJWS(json_encode(['iat' => time( ) - 3600, 'nbf' => time( ) - 3600, 'exp' => time( ) - 3590, 'iss' => 'https://www.example.com', 'aud' => self::AUDIENCE, 'sub' => 'e21bf182-1538-406e-8ccb-e25a17aba39f', 'email' => 'foo@example.com', ])), ]
/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php:1161yield [self::buildJWS(json_encode(['iat' => time( ), 'nbf' => time( ), 'exp' => time( ) + 3590, 'iss' => 'https://www.example.com', 'aud' => 'invalid', 'sub' => 'e21bf182-1538-406e-8ccb-e25a17aba39f', 'email' => 'foo@example.com', ])), ]
/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php:1601return (new CompactSerializer( ))->serialize((new JWSBuilder(new AlgorithmManager([new ES256( ), ])))->create( )->withPayload($payload)->addSignature(self::getJWK( ), ['alg' => 'ES256'])->build( ))
/src/Symfony/Component/Security/Http/Tests/Firewall/ExceptionListenerTest.php:691return [[$e = new AuthenticationException( ), new HttpException(Response::HTTP_UNAUTHORIZED, '', $e, [ ], 0)], [new \LogicException('random', 0, $e = new AuthenticationException( )), new HttpException(Response::HTTP_UNAUTHORIZED, '', $e, [ ], 0)], [new \LogicException('random', 0, $e = new AuthenticationException('embed', 0, new AuthenticationException( ))), new HttpException(Response::HTTP_UNAUTHORIZED, 'embed', $e, [ ], 0)], [new \LogicException('random', 0, $e = new AuthenticationException('embed', 0, new AccessDeniedException( ))), new HttpException(Response::HTTP_UNAUTHORIZED, 'embed', $e, [ ], 0)], [$e = new AuthenticationException('random', 0, new \LogicException( )), new HttpException(Response::HTTP_UNAUTHORIZED, 'random', $e, [ ], 0)], ]
/src/Symfony/Component/Security/Http/Tests/Firewall/ExceptionListenerTest.php:1741return [[new AccessDeniedException( )], [new \LogicException('random', 0, $e = new AccessDeniedException( )), $e], [new \LogicException('random', 0, $e = new AccessDeniedException('embed', new AccessDeniedException( ))), $e], [new \LogicException('random', 0, $e = new AccessDeniedException('embed', new AuthenticationException( ))), $e], [new AccessDeniedException('random', new \LogicException( ))], ]
/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/ExpressionVoterTest.php:371return [[[ ], [ ], VoterInterface::ACCESS_ABSTAIN, false, false], [[ ], ['FOO'], VoterInterface::ACCESS_ABSTAIN, false, false], [[ ], [self::createExpression( )], VoterInterface::ACCESS_DENIED, true, false], [['ROLE_FOO'], [self::createExpression( ), self::createExpression( )], VoterInterface::ACCESS_GRANTED], [['ROLE_BAR', 'ROLE_FOO'], [self::createExpression( )], VoterInterface::ACCESS_GRANTED], ]
/src/Symfony/Component/Security/Core/Tests/Authorization/Strategy/PriorityStrategyTest.php:241yield [$strategy, [self::getVoter(VoterInterface::ACCESS_ABSTAIN), self::getVoter(VoterInterface::ACCESS_GRANTED), self::getVoter(VoterInterface::ACCESS_DENIED), self::getVoter(VoterInterface::ACCESS_DENIED), ], true]
/src/Symfony/Component/Security/Core/Tests/Authorization/Strategy/PriorityStrategyTest.php:311yield [$strategy, [self::getVoter(VoterInterface::ACCESS_ABSTAIN), self::getVoter(VoterInterface::ACCESS_DENIED), self::getVoter(VoterInterface::ACCESS_GRANTED), self::getVoter(VoterInterface::ACCESS_GRANTED), ], false]
/src/Symfony/Component/Mailer/Bridge/Brevo/Transport/BrevoApiTransport.php:511$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/v3/smtp/email', ['json' => $this->getPayload($email, $envelope), 'headers' => ['api-key' => $this->key, ], ])
/src/Symfony/Component/HttpClient/Tests/RetryableHttpClientTest.php:3581$client = new RetryableHttpClient(new MockHttpClient([new MockResponse('', ['http_code' => 500]), new MockResponse('', ['http_code' => 500]), new MockResponse('', ['http_code' => 500]), new MockResponse('Hit on second uri', ['http_code' => 200]), ]), new GenericRetryStrategy([500], 0), 3)
/src/Symfony/Component/Mailer/Bridge/Brevo/Transport/BrevoApiTransport.php:911$payload = ['sender' => $this->formatAddress($envelope->getSender( )), 'to' => $this->formatAddresses($this->getRecipients($email, $envelope)), 'subject' => $email->getSubject( ), ]
/src/Symfony/Component/HttpClient/Tests/RetryableHttpClientTest.php:3861$client = new RetryableHttpClient(new MockHttpClient([new MockResponse('', ['http_code' => 500]), new MockResponse('', ['http_code' => 502]), new MockResponse('', ['http_code' => 200]), ]), new GenericRetryStrategy([500, 502], 0), 3)
/src/Symfony/Component/Mailer/Bridge/Mailgun/Tests/Transport/MailgunTransportFactoryTest.php:791yield [new Dsn('mailgun+api', 'example.com', self::USER, self::PASSWORD, 8080), (new MailgunApiTransport(self::USER, self::PASSWORD, null, $client, null, $logger))->setHost('example.com')->setPort(8080), ]
/src/Symfony/Component/HttpClient/Tests/RetryableHttpClientTest.php:481$client = new RetryableHttpClient(new MockHttpClient([new MockResponse('', ['http_code' => 500]), new MockResponse('', ['http_code' => 500]), new MockResponse('', ['http_code' => 200]), ]), new GenericRetryStrategy([500], 0), 1)
/src/Symfony/Component/Mailer/Bridge/Mailgun/Tests/Transport/MailgunTransportFactoryTest.php:941yield [new Dsn('mailgun+https', 'example.com', self::USER, self::PASSWORD, 8080), (new MailgunHttpTransport(self::USER, self::PASSWORD, null, $client, null, $logger))->setHost('example.com')->setPort(8080), ]
/src/Symfony/Component/HttpClient/Tests/RetryableHttpClientTest.php:1991$client = new RetryableHttpClient(new MockHttpClient([new MockResponse('', ['http_code' => 503, 'response_headers' => ['retry-after' => $retryAfter, ], ]), new MockResponse('', ['http_code' => 200, ]), ]), new GenericRetryStrategy( ), 1, $logger = new class ( ) extends TestLogger { /**/ } )
/src/Symfony/Component/Mailer/Bridge/Mailgun/Tests/Transport/MailgunApiTransportTest.php:391return [[new MailgunApiTransport('ACCESS_KEY', 'DOMAIN'), 'mailgun+api://api.mailgun.net?domain=DOMAIN', ], [new MailgunApiTransport('ACCESS_KEY', 'DOMAIN', 'us-east-1'), 'mailgun+api://api.us-east-1.mailgun.net?domain=DOMAIN', ], [(new MailgunApiTransport('ACCESS_KEY', 'DOMAIN'))->setHost('example.com'), 'mailgun+api://example.com?domain=DOMAIN', ], [(new MailgunApiTransport('ACCESS_KEY', 'DOMAIN'))->setHost('example.com')->setPort(99), 'mailgun+api://example.com:99?domain=DOMAIN', ], ]
/src/Symfony/Component/HttpClient/Response/StreamWrapper.php:2921return ['dev' => 0, 'ino' => 0, 'mode' => 33060, 'nlink' => 0, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => (int) ($headers['content-length'][0] ?? -1), 'atime' => 0, 'mtime' => strtotime($headers['last-modified'][0] ?? '') ?: 0, 'ctime' => 0, 'blksize' => 0, 'blocks' => 0, ]
/src/Symfony/Component/Mailer/Bridge/Mailgun/Tests/Transport/MailgunHttpTransportTest.php:371return [[new MailgunHttpTransport('ACCESS_KEY', 'DOMAIN'), 'mailgun+https://api.mailgun.net?domain=DOMAIN', ], [new MailgunHttpTransport('ACCESS_KEY', 'DOMAIN', 'us-east-1'), 'mailgun+https://api.us-east-1.mailgun.net?domain=DOMAIN', ], [(new MailgunHttpTransport('ACCESS_KEY', 'DOMAIN'))->setHost('example.com'), 'mailgun+https://example.com?domain=DOMAIN', ], [(new MailgunHttpTransport('ACCESS_KEY', 'DOMAIN'))->setHost('example.com')->setPort(99), 'mailgun+https://example.com:99?domain=DOMAIN', ], ]
/src/Symfony/Component/HttpClient/Response/CurlResponse.php:3151$multi->handlesActivity[$id][] = \in_array($result, [\CURLE_OK, \CURLE_TOO_MANY_REDIRECTS], true) || '_0' === $waitFor || curl_getinfo($ch, \CURLINFO_SIZE_DOWNLOAD) === curl_getinfo($ch, \CURLINFO_CONTENT_LENGTH_DOWNLOAD) ? null : new TransportException(ucfirst(curl_error($ch) ?: curl_strerror($result)) . sprintf(' for "%s".', curl_getinfo($ch, \CURLINFO_EFFECTIVE_URL)))
/src/Symfony/Component/Mailer/Bridge/Mailgun/Transport/MailgunApiTransport.php:1001$payload = ['from' => $envelope->getSender( )->toString( ), 'to' => implode(',', $this->stringifyAddresses($this->getRecipients($email, $envelope))), 'subject' => $email->getSubject( ), 'attachment' => $attachments, 'inline' => $inlines, ]
/src/Symfony/Component/HttpClient/Response/MockResponse.php:2671$dlSize = isset($response->headers['content-encoding']) || 'HEAD' === $response->info['http_method'] || \in_array($response->info['http_code'], [204, 304], true) ? 0 : (int) ($response->headers['content-length'][0] ?? 0)
/src/Symfony/Component/Mailer/Bridge/Mailgun/Transport/MailgunHttpTransport.php:551$body = new FormDataPart(['to' => implode(',', $this->stringifyAddresses($message->getEnvelope( )->getRecipients( ))), 'message' => new DataPart($message->toString( ), 'message.mime'), ])
/src/Symfony/Component/HttpClient/Response/MockResponse.php:2691$response->info = ['start_time' => $response->info['start_time'], 'user_data' => $response->info['user_data'], 'max_duration' => $response->info['max_duration'], 'http_code' => $response->info['http_code'], ] + $info + $response->info
/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php:5231return [[['Bernhard', 'Schussek'], '[0]', 'Bernhard'], [['Bernhard', 'Schussek'], '[1]', 'Schussek'], [['firstName' => 'Bernhard'], '[firstName]', 'Bernhard'], [['index' => ['firstName' => 'Bernhard']], '[index][firstName]', 'Bernhard'], [(object) ['firstName' => 'Bernhard'], 'firstName', 'Bernhard'], [(object) ['property' => ['firstName' => 'Bernhard']], 'property[firstName]', 'Bernhard'], [['index' => (object) ['firstName' => 'Bernhard']], '[index].firstName', 'Bernhard'], [(object) ['property' => (object) ['firstName' => 'Bernhard']], 'property.firstName', 'Bernhard'], [new TestClass('Bernhard'), 'publicProperty', 'Bernhard'], [new TestClass('Bernhard'), 'publicAccessor', 'Bernhard'], [new TestClass('Bernhard'), 'publicAccessorWithDefaultValue', 'Bernhard'], [new TestClass('Bernhard'), 'publicAccessorWithRequiredAndDefaultValue', 'Bernhard'], [new TestClass('Bernhard'), 'publicIsAccessor', 'Bernhard'], [new TestClass('Bernhard'), 'publicHasAccessor', 'Bernhard'], [new TestClass('Bernhard'), 'publicGetSetter', 'Bernhard'], [new TestClass('Bernhard'), 'publicCanAccessor', 'Bernhard'], [new TestClass('Bernhard'), 'public_accessor', 'Bernhard'], [new TestClass('Bernhard'), '_public_accessor', 'Bernhard'], [['index' => [ ]], '[index][firstName]', null], [['root' => ['index' => [ ]]], '[root][index][firstName]', null], [['%!@$§.' => 'Bernhard'], '[%!@$§.]', 'Bernhard'], [['index' => ['%!@$§.' => 'Bernhard']], '[index][%!@$§.]', 'Bernhard'], [(object) ['%!@$§' => 'Bernhard'], '%!@$§', 'Bernhard'], [(object) ['property' => (object) ['%!@$§' => 'Bernhard']], 'property.%!@$§', 'Bernhard'], [['foo' => new TestClass('bar')], '[foo].publicGetSetter', 'bar'], [new TestClass(['foo' => 'bar']), 'publicGetSetter[foo]', 'bar'], [new TestClass(new TestClass('bar')), 'publicGetter.publicGetSetter', 'bar'], [new TestClass(['foo' => new TestClass('bar')]), 'publicGetter[foo].publicGetSetter', 'bar'], [new TestClass(new TestClass(new TestClass('bar'))), 'publicGetter.publicGetter.publicGetSetter', 'bar'], [new TestClass(['foo' => ['baz' => new TestClass('bar')]]), 'publicGetter[foo][baz].publicGetSetter', 'bar'], ]
/src/Symfony/Component/HttpClient/CurlHttpClient.php:1121$curlopts = [\CURLOPT_URL => $url, \CURLOPT_TCP_NODELAY => true, \CURLOPT_PROTOCOLS => \CURLPROTO_HTTP | \CURLPROTO_HTTPS, \CURLOPT_REDIR_PROTOCOLS => \CURLPROTO_HTTP | \CURLPROTO_HTTPS, \CURLOPT_FOLLOWLOCATION => true, \CURLOPT_MAXREDIRS => 0 < $options['max_redirects'] ? $options['max_redirects'] : 0, \CURLOPT_COOKIEFILE => '', \CURLOPT_TIMEOUT => 0, \CURLOPT_PROXY => $proxy, \CURLOPT_NOPROXY => $options['no_proxy'] ?? $_SERVER['no_proxy'] ?? $_SERVER['NO_PROXY'] ?? '', \CURLOPT_SSL_VERIFYPEER => $options['verify_peer'], \CURLOPT_SSL_VERIFYHOST => $options['verify_host'] ? 2 : 0, \CURLOPT_CAINFO => $options['cafile'], \CURLOPT_CAPATH => $options['capath'], \CURLOPT_SSL_CIPHER_LIST => $options['ciphers'], \CURLOPT_SSLCERT => $options['local_cert'], \CURLOPT_SSLKEY => $options['local_pk'], \CURLOPT_KEYPASSWD => $options['passphrase'], \CURLOPT_CERTINFO => $options['capture_peer_cert_chain'], \CURLOPT_SSLVERSION => match ($options['crypto_method']) { /**/ } , ]
/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php:6201return [[['a' => ['b' => ['c' => 'old-value']]], '[a][b][c]', 'new-value'], [new TestClassSetValue(new TestClassSetValue('old-value')), 'value.value', 'new-value'], [new TestClassSetValue(['a' => ['b' => ['c' => new TestClassSetValue('old-value')]]]), 'value[a][b][c].value', 'new-value'], [new TestClassSetValue(['a' => ['b' => 'old-value']]), 'value[a][b]', 'new-value'], [new \ArrayIterator(['a' => ['b' => ['c' => 'old-value']]]), '[a][b][c]', 'new-value'], ]
/src/Symfony/Component/HttpClient/Response/MockResponse.php:1071$dlSize = isset($this->headers['content-encoding']) || 'HEAD' === ($this->info['http_method'] ?? null) || \in_array($this->info['http_code'], [204, 304], true) ? 0 : (int) ($this->headers['content-length'][0] ?? 0)
/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php:561return [[(object) ['firstName' => 'Bernhard'], 'lastName'], [(object) ['property' => (object) ['firstName' => 'Bernhard']], 'property.lastName'], [['index' => (object) ['firstName' => 'Bernhard']], '[index].lastName'], [new TestClass('Bernhard'), 'protectedProperty'], [new TestClass('Bernhard'), 'privateProperty'], [new TestClass('Bernhard'), 'protectedAccessor'], [new TestClass('Bernhard'), 'protectedIsAccessor'], [new TestClass('Bernhard'), 'protectedHasAccessor'], [new TestClass('Bernhard'), 'privateAccessor'], [new TestClass('Bernhard'), 'privateIsAccessor'], [new TestClass('Bernhard'), 'privateHasAccessor'], [new TestClass('Bernhard'), 'public_property'], ]
/src/Symfony/Component/HttpClient/NativeHttpClient.php:1151$info = ['response_headers' => [ ], 'url' => $url, 'error' => null, 'canceled' => false, 'http_method' => $method, 'http_code' => 0, 'redirect_count' => 0, 'start_time' => 0.0, 'connect_time' => 0.0, 'redirect_time' => 0.0, 'pretransfer_time' => 0.0, 'starttransfer_time' => 0.0, 'total_time' => 0.0, 'namelookup_time' => 0.0, 'size_upload' => 0, 'size_download' => 0, 'size_body' => \strlen($options['body']), 'primary_ip' => '', 'primary_port' => 'http:' === $url['scheme'] ? 80 : 443, 'debug' => \extension_loaded('curl') ? '' : "* Enable the curl extension for better performance\n", ]
/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php:761return [[['firstName' => 'Bernhard'], '[lastName]'], [[ ], '[index][lastName]'], [['index' => [ ]], '[index][lastName]'], [['index' => ['firstName' => 'Bernhard']], '[index][lastName]'], [(object) ['property' => ['firstName' => 'Bernhard']], 'property[lastName]'], ]
/src/Symfony/Component/HttpClient/NativeHttpClient.php:2161$context = ['http' => ['protocol_version' => min($options['http_version'] ?: '1.1', '1.1'), 'method' => $method, 'content' => $options['body'], 'ignore_errors' => true, 'curl_verify_ssl_peer' => $options['verify_peer'], 'curl_verify_ssl_host' => $options['verify_host'], 'auto_decode' => false, 'timeout' => $options['timeout'], 'follow_location' => false, ], 'ssl' => array_filter(['verify_peer' => $options['verify_peer'], 'verify_peer_name' => $options['verify_host'], 'cafile' => $options['cafile'], 'capath' => $options['capath'], 'local_cert' => $options['local_cert'], 'local_pk' => $options['local_pk'], 'passphrase' => $options['passphrase'], 'ciphers' => $options['ciphers'], 'peer_fingerprint' => $options['peer_fingerprint'], 'capture_peer_cert_chain' => $options['capture_peer_cert_chain'], 'allow_self_signed' => (bool) $options['peer_fingerprint'], 'SNI_enabled' => true, 'disable_compression' => true, 'crypto_method' => $cryptoMethod, ], static fn ($v) => null !== $v), 'socket' => ['bindto' => $options['bindto'], 'tcp_nodelay' => true, ], ]
/src/Symfony/Component/Filesystem/Filesystem.php:5751return '' !== $file && (strspn($file, '/\\', 0, 1) || (\strlen($file) > 3 && ctype_alpha($file[0]) && ':' === $file[1] && strspn($file, '/\\', 2, 1)) || null !== parse_url($file, \PHP_URL_SCHEME))
/src/Symfony/Component/HttpClient/HttpClientTrait.php:7381$queryString = strtr($queryString, ['%21' => '!', '%24' => '$', '%28' => '(', '%29' => ')', '%2A' => '*', '%2F' => '/', '%3A' => ':', '%3B' => ';', '%40' => '@', '%5B' => '[', '%5D' => ']', ])
/src/Symfony/Component/WebLink/Tests/HttpHeaderSerializerTest.php:291$links = [new Link('prerender', '/1'), (new Link('dns-prefetch', '/2'))->withAttribute('pr', 0.7), (new Link('preload', '/3'))->withAttribute('as', 'script')->withAttribute('nopush', false), (new Link('preload', '/4'))->withAttribute('as', 'image')->withAttribute('nopush', true), (new Link('alternate', '/5'))->withRel('next')->withAttribute('hreflang', ['fr', 'de'])->withAttribute('title', 'Hello'), ]
/src/Symfony/Component/HttpClient/HttpClientTrait.php:7871return ['url' => $proxyUrl, 'auth' => isset($proxy['user']) ? 'Basic ' . base64_encode(rawurldecode($proxy['user']) . ':' . rawurldecode($proxy['pass'] ?? '')) : null, 'no_proxy' => $noProxy, ]
/src/Symfony/Component/Mailer/Bridge/Brevo/Transport/BrevoTransportFactory.php:371return (new BrevoApiTransport($this->getUser($dsn), $this->client, $this->dispatcher, $this->logger))->setHost('default' === $dsn->getHost( ) ? null : $dsn->getHost( ))->setPort($dsn->getPort( ))
/src/Symfony/Component/Form/Console/Descriptor/JsonDescriptor.php:531$data = ['class' => $resolvedFormType->getInnerType( )::class, 'block_prefix' => $resolvedFormType->getInnerType( )->getBlockPrefix( ), 'options' => $formOptions, 'parent_types' => $this->parents, 'type_extensions' => $this->extensions, ]
/src/Symfony/Component/Mailer/Command/MailerTestCommand.php:611$message = (new Email( ))->to($input->getArgument('to'))->from($input->getOption('from'))->subject($input->getOption('subject'))->text($input->getOption('body'))
/src/Symfony/Component/HttpClient/HttpClientTrait.php:6651return ['scheme' => $scheme, 'authority' => null !== $host ? '//' . (isset($parts['user']) ? $parts['user'] . (isset($parts['pass']) ? ':' . $parts['pass'] : '') . '@' : '') . $host : null, 'path' => isset($parts['path'][0]) ? $parts['path'] : null, 'query' => isset($parts['query']) ? '?' . $parts['query'] : null, 'fragment' => isset($parts['fragment']) ? '#' . $parts['fragment'] : null, ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/array-object.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Symfony\\Component\\VarExporter\\Tests\\ArrayObject'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\ArrayObject')), clone ($p['ArrayObject'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ArrayObject')), ], null, [ ], $o[0], [[0, [1, $o[0], ], ['foo' => $o[1], ], null, ], -1 => [0, [ ], [ ], null, ], ])
/src/Symfony/Component/Serializer/Tests/Context/Encoder/XmlEncoderContextBuilderTest.php:351$context = $this->contextBuilder->withAsCollection($values[XmlEncoder::AS_COLLECTION])->withDecoderIgnoredNodeTypes($values[XmlEncoder::DECODER_IGNORED_NODE_TYPES])->withEncoderIgnoredNodeTypes($values[XmlEncoder::ENCODER_IGNORED_NODE_TYPES])->withEncoding($values[XmlEncoder::ENCODING])->withFormatOutput($values[XmlEncoder::FORMAT_OUTPUT])->withLoadOptions($values[XmlEncoder::LOAD_OPTIONS])->withSaveOptions($values[XmlEncoder::SAVE_OPTIONS])->withRemoveEmptyTags($values[XmlEncoder::REMOVE_EMPTY_TAGS])->withRootNodeName($values[XmlEncoder::ROOT_NODE_NAME])->withStandalone($values[XmlEncoder::STANDALONE])->withTypeCastAttributes($values[XmlEncoder::TYPE_CAST_ATTRIBUTES])->withVersion($values[XmlEncoder::VERSION])->withCdataWrapping($values[XmlEncoder::CDATA_WRAPPING])->toArray( )
/src/Symfony/Component/VarExporter/Tests/Fixtures/datetime.php:41$o = [clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['DateTime'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DateTime')), clone ($p['DateTimeImmutable'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DateTimeImmutable')), clone ($p['DateTimeZone'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DateTimeZone')), clone ($p['DateInterval'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DateInterval')), clone ($p['DatePeriod'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DatePeriod')), clone $p['DateTimeImmutable'], clone $p['DateInterval'], ]
/src/Symfony/Component/Serializer/Tests/Context/Encoder/YamlEncoderContextBuilderTest.php:371$context = $this->contextBuilder->withIndentLevel($values[YamlEncoder::YAML_INDENT])->withInlineThreshold($values[YamlEncoder::YAML_INLINE])->withFlags($values[YamlEncoder::YAML_FLAGS])->withPreservedEmptyObjects($values[YamlEncoder::PRESERVE_EMPTY_OBJECTS])->toArray( )
/src/Symfony/Component/VarExporter/Tests/Fixtures/datetime.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['DateTime'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DateTime')), clone ($p['DateTimeImmutable'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DateTimeImmutable')), clone ($p['DateTimeZone'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DateTimeZone')), clone ($p['DateInterval'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DateInterval')), clone ($p['DatePeriod'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('DatePeriod')), clone $p['DateTimeImmutable'], clone $p['DateInterval'], ], null, [ ], [$o[0], $o[1], $o[2], $o[3], $o[4], ], [['date' => '1970-01-01 00:00:00.000000', 'timezone_type' => 1, 'timezone' => '+00:00', ], -1 => ['date' => '1970-01-01 00:00:00.000000', 'timezone_type' => 1, 'timezone' => '+00:00', ], -2 => ['timezone_type' => 3, 'timezone' => 'Europe/Paris', ], -3 => ['y' => 0, 'm' => 0, 'd' => 7, 'h' => 0, 'i' => 0, 's' => 0, 'f' => 0.0, 'invert' => 0, 'days' => 7, 'from_string' => false, ], -5 => ['date' => '2009-10-11 00:00:00.000000', 'timezone_type' => 3, 'timezone' => 'Europe/Paris', ], -6 => ['y' => 0, 'm' => 0, 'd' => 7, 'h' => 0, 'i' => 0, 's' => 0, 'f' => 0.0, 'invert' => 0, 'days' => 7, 'from_string' => false, ], -4 => ['start' => $o[5], 'current' => null, 'end' => null, 'interval' => $o[6], 'recurrences' => 5, 'include_start_date' => true, 'include_end_date' => false, ], ])
/src/Symfony/Component/Serializer/Tests/Context/Encoder/JsonEncoderContextBuilderTest.php:381$context = $this->contextBuilder->withEncodeOptions($values[JsonEncode::OPTIONS])->withDecodeOptions($values[JsonDecode::OPTIONS])->withAssociative($values[JsonDecode::ASSOCIATIVE])->withRecursionDepth($values[JsonDecode::RECURSION_DEPTH])->toArray( )
/src/Symfony/Component/VarExporter/Tests/VarExporterTest.php:1221yield ['datetime', [\DateTime::createFromFormat('U', 0), \DateTimeImmutable::createFromFormat('U', 0), $tz = new \DateTimeZone('Europe/Paris'), $interval = ($start = new \DateTimeImmutable('2009-10-11', $tz))->diff(new \DateTimeImmutable('2009-10-18', $tz)), new \DatePeriod($start, $interval, 4), ]]
/src/Symfony/Component/Serializer/Tests/Context/Encoder/CsvEncoderContextBuilderTest.php:881$context = $this->contextBuilder->withDelimiter(null)->withEnclosure(null)->withEscapeChar(null)->withKeySeparator(null)->withHeaders(null)->withEscapedFormulas(null)->withAsCollection(null)->withNoHeaders(null)->withEndOfLine(null)->withOutputUtf8Bom(null)->toArray( )
/src/Symfony/Component/VarExporter/LazyProxyTrait.php:3002$value = $properties[$k = $name] ?? $properties[$k = "\0*\0$name"] ?? $properties[$k = "\0$class\0$name"] ?? $properties[$k = "\0$scope\0$name"] ?? $k = null
/src/Symfony/Component/Serializer/Tests/Context/Encoder/CsvEncoderContextBuilderTest.php:381$context = $this->contextBuilder->withDelimiter($values[CsvEncoder::DELIMITER_KEY])->withEnclosure($values[CsvEncoder::ENCLOSURE_KEY])->withEscapeChar($values[CsvEncoder::ESCAPE_CHAR_KEY])->withKeySeparator($values[CsvEncoder::KEY_SEPARATOR_KEY])->withHeaders($values[CsvEncoder::HEADERS_KEY])->withEscapedFormulas($values[CsvEncoder::ESCAPE_FORMULAS_KEY])->withAsCollection($values[CsvEncoder::AS_COLLECTION_KEY])->withNoHeaders($values[CsvEncoder::NO_HEADERS_KEY])->withEndOfLine($values[CsvEncoder::END_OF_LINE])->withOutputUtf8Bom($values[CsvEncoder::OUTPUT_UTF8_BOM_KEY])->toArray( )
/src/Symfony/Component/VarExporter/LazyGhostTrait.php:3112$value = $properties[$k = $name] ?? $properties[$k = "\0*\0$name"] ?? $properties[$k = "\0$class\0$name"] ?? $properties[$k = "\0$scope\0$name"] ?? $k = null
/src/Symfony/Component/Serializer/Tests/SerializerTest.php:16112return ['currentType' => $e->getCurrentType( ), 'expectedTypes' => $e->getExpectedTypes( ), 'path' => $e->getPath( ), 'useMessageForUser' => $e->canUseMessageForUser( ), 'message' => $e->getMessage( ), ]
/src/Symfony/Component/VarExporter/ProxyHelper.php:2231$parameters[] = ($param->getAttributes(\SensitiveParameter::class) ? '#[\SensitiveParameter] ' : '') . ($withParameterTypes && $param->hasType( ) ? self::exportType($param) . ' ' : '') . ($param->isPassedByReference( ) ? '&' : '') . ($param->isVariadic( ) ? '...' : '') . '$' . $param->name . ($param->isOptional( ) && !$param->isVariadic( ) ? ' = ' . self::exportDefault($param) : '')
/src/Symfony/Component/Serializer/Tests/SerializerTest.php:13542return ['currentType' => $e->getCurrentType( ), 'expectedTypes' => $e->getExpectedTypes( ), 'path' => $e->getPath( ), 'useMessageForUser' => $e->canUseMessageForUser( ), 'message' => $e->getMessage( ), ]
/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php:6411return [[new TestClassIsWritable(['a' => ['b' => 'old-value']]), 'value[a][b]', false], [new TestClassIsWritable(new \ArrayIterator(['a' => ['b' => 'old-value']])), 'value[a][b]', true], [new TestClassIsWritable(['a' => ['b' => ['c' => new TestClassSetValue('old-value')]]]), 'value[a][b][c].value', true], ]
/src/Symfony/Component/Serializer/Tests/SerializerTest.php:9551$expected = [['currentType' => 'null', 'expectedTypes' => ['string', ], 'path' => 'string', 'useMessageForUser' => false, 'message' => 'The type of the "string" attribute for class "Symfony\\Component\\Serializer\\Tests\\Fixtures\\Php74Full" must be one of "string" ("null" given).', ], ['currentType' => 'null', 'expectedTypes' => ['int', ], 'path' => 'int', 'useMessageForUser' => false, 'message' => 'The type of the "int" attribute for class "Symfony\\Component\\Serializer\\Tests\\Fixtures\\Php74Full" must be one of "int" ("null" given).', ], ['currentType' => 'null', 'expectedTypes' => ['float', ], 'path' => 'float', 'useMessageForUser' => false, 'message' => 'The type of the "float" attribute for class "Symfony\\Component\\Serializer\\Tests\\Fixtures\\Php74Full" must be one of "float" ("null" given).', ], ['currentType' => 'null', 'expectedTypes' => ['bool', ], 'path' => 'bool', 'useMessageForUser' => false, 'message' => 'The type of the "bool" attribute for class "Symfony\\Component\\Serializer\\Tests\\Fixtures\\Php74Full" must be one of "bool" ("null" given).', ], ['currentType' => 'null', 'expectedTypes' => ['string', ], 'path' => 'dateTime', 'useMessageForUser' => true, 'message' => 'The data is either not an string, an empty string, or null; you should pass a string that can be parsed with the passed format or a valid DateTime string.', ], ['currentType' => 'null', 'expectedTypes' => ['string', ], 'path' => 'dateTimeImmutable', 'useMessageForUser' => true, 'message' => 'The data is either not an string, an empty string, or null; you should pass a string that can be parsed with the passed format or a valid DateTime string.', ], ['currentType' => 'null', 'expectedTypes' => ['string', ], 'path' => 'dateTimeZone', 'useMessageForUser' => true, 'message' => 'The data is either an empty string or null, you should pass a string that can be parsed as a DateTimeZone.', ], ['currentType' => 'null', 'expectedTypes' => ['string', ], 'path' => 'splFileInfo', 'useMessageForUser' => true, 'message' => 'The provided "data:" URI is not valid.', ], ['currentType' => 'null', 'expectedTypes' => ['string', ], 'path' => 'uuid', 'useMessageForUser' => true, 'message' => 'The data is not a valid "Symfony\Component\Uid\Uuid" string representation.', ], ['currentType' => 'null', 'expectedTypes' => ['array', ], 'path' => 'array', 'useMessageForUser' => false, 'message' => 'The type of the "array" attribute for class "Symfony\\Component\\Serializer\\Tests\\Fixtures\\Php74Full" must be one of "array" ("null" given).', ], ['currentType' => 'null', 'expectedTypes' => ['string', ], 'path' => 'collection[1].string', 'useMessageForUser' => false, 'message' => 'The type of the "string" attribute for class "Symfony\Component\Serializer\Tests\Fixtures\Php74Full" must be one of "string" ("null" given).', ], ['currentType' => 'array', 'expectedTypes' => ['unknown', ], 'path' => 'php74FullWithConstructor.constructorArgument', 'useMessageForUser' => true, 'message' => 'Failed to create object because the class misses the "constructorArgument" property.', ], ['currentType' => 'string', 'expectedTypes' => ['float', ], 'path' => 'php74FullWithTypedConstructor.something', 'useMessageForUser' => false, 'message' => 'The type of the "something" attribute for class "Symfony\Component\Serializer\Tests\Fixtures\Php74FullWithTypedConstructor" must be one of "float" ("string" given).', ], ['currentType' => 'string', 'expectedTypes' => ['bool', ], 'path' => 'php74FullWithTypedConstructor.somethingElse', 'useMessageForUser' => false, 'message' => 'The type of the "somethingElse" attribute for class "Symfony\Component\Serializer\Tests\Fixtures\Php74FullWithTypedConstructor" must be one of "bool" ("string" given).', ], $classMetadataFactory ? ['currentType' => 'null', 'expectedTypes' => ['string', ], 'path' => 'dummyMessage.type', 'useMessageForUser' => false, 'message' => 'Type property "type" not found for the abstract object "Symfony\Component\Serializer\Tests\Fixtures\DummyMessageInterface".', ] : ['currentType' => 'array', 'expectedTypes' => [DummyMessageInterface::class, ], 'path' => 'dummyMessage', 'useMessageForUser' => false, 'message' => 'The type of the "dummyMessage" attribute for class "Symfony\Component\Serializer\Tests\Fixtures\Php74Full" must be one of "Symfony\Component\Serializer\Tests\Fixtures\DummyMessageInterface" ("array" given).', ], ['currentType' => 'string', 'expectedTypes' => ['int', ], 'path' => 'nestedObject[int]', 'useMessageForUser' => true, 'message' => 'The type of the key "int" must be "int" ("string" given).', ], ['currentType' => 'null', 'expectedTypes' => ['array'], 'path' => 'anotherCollection', 'useMessageForUser' => false, 'message' => 'Data expected to be "Symfony\Component\Serializer\Tests\Fixtures\Php74Full[]", "null" given.', ], ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/array-iterator.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['ArrayIterator'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ArrayIterator')), ], null, [ ], $o[0], [[1, [123, ], [ ], null, ], ])
/src/Symfony/Component/Serializer/Tests/SerializerTest.php:9231$serializer = new Serializer([new ArrayDenormalizer( ), new DateTimeNormalizer( ), new DateTimeZoneNormalizer( ), new DataUriNormalizer( ), new UidNormalizer( ), new ObjectNormalizer($classMetadataFactory, null, null, $extractor, $classMetadataFactory ? new ClassDiscriminatorFromClassMetadata($classMetadataFactory) : null), ], ['json' => new JsonEncoder( )])
/src/Symfony/Component/VarExporter/Tests/Fixtures/error.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [(\Symfony\Component\VarExporter\Internal\Registry::$factories['Error'] ?? \Symfony\Component\VarExporter\Internal\Registry::f('Error'))( ), ], null, ['TypeError' => ['file' => [\dirname(__DIR__) . \DIRECTORY_SEPARATOR . 'VarExporterTest.php', ], 'line' => [234, ], ], 'Error' => ['trace' => [['file' => \dirname(__DIR__) . \DIRECTORY_SEPARATOR . 'VarExporterTest.php', 'line' => 123, ], ], ], ], $o[0], [1 => 0, ])
/src/Symfony/Component/Serializer/Tests/SerializerTest.php:8561$serializer = new Serializer([new ObjectNormalizer(null, null, null, new PropertyInfoExtractor([ ], [new PhpDocExtractor( ), new ReflectionExtractor( )]))], ['csv' => new CsvEncoder( )])
/src/Symfony/Component/VarExporter/Tests/Fixtures/var-on-sleep.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\GoodNight'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\GoodNight')), ], null, ['stdClass' => ['good' => ['night', ], ], 'Symfony\\Component\\VarExporter\\Tests\\GoodNight' => ['foo' => ['afternoon', ], 'bar' => ['morning', ], ], ], $o[0], [ ])
/src/Symfony/Component/Serializer/Tests/SerializerTest.php:3351$serializer = new Serializer([new GetSetMethodNormalizer( ), new PropertyNormalizer( ), new ObjectNormalizer( ), new CustomNormalizer( ), new ArrayDenormalizer( ), ], ['json' => new JsonEncoder( ), ])
/src/Symfony/Component/VarExporter/Tests/Fixtures/clone.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [(($f = &\Symfony\Component\VarExporter\Internal\Registry::$factories)['Symfony\\Component\\VarExporter\\Tests\\MyCloneable'] ?? \Symfony\Component\VarExporter\Internal\Registry::f('Symfony\\Component\\VarExporter\\Tests\\MyCloneable'))( ), ($f['Symfony\\Component\\VarExporter\\Tests\\MyNotCloneable'] ?? \Symfony\Component\VarExporter\Internal\Registry::f('Symfony\\Component\\VarExporter\\Tests\\MyNotCloneable'))( ), ], null, [ ], [$o[0], $o[1], ], [ ])
/src/Symfony/Component/Serializer/DataCollector/SerializerDataCollector.php:1771$data = ['data' => $this->cloneVar($collected['data']), 'dataType' => get_debug_type($collected['data']), 'type' => $collected['type'] ?? null, 'format' => $collected['format'], 'time' => $collected['time'], 'context' => $this->cloneVar($collected['context']), 'normalization' => [ ], 'encoding' => [ ], 'caller' => $collected['caller'] ?? null, ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/final-array-iterator.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\FinalArrayIterator'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\FinalArrayIterator')), ], null, [ ], $o[0], [[0, [ ], [ ], null, ], ])
/src/Symfony/Component/HttpClient/Internal/AmpClientState.php:1191$options = ['bindto' => $options['bindto'] ?: '0', 'verify_peer' => $options['verify_peer'], 'capath' => $options['capath'], 'cafile' => $options['cafile'], 'local_cert' => $options['local_cert'], 'local_pk' => $options['local_pk'], 'ciphers' => $options['ciphers'], 'capture_peer_cert_chain' => $options['capture_peer_cert_chain'] || $options['peer_fingerprint'], 'proxy' => $options['proxy'], 'crypto_method' => $options['crypto_method'], ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/spl-object-storage.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['SplObjectStorage'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('SplObjectStorage')), clone ($p['stdClass'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('stdClass')), ], null, [ ], $o[0], [[[$o[1], 345, ], [ ], ], ])
/src/Symfony/Component/HttpClient/Tests/DataCollector/HttpClientDataCollectorTest.php:2531yield 'POST with array body' => [['method' => 'POST', 'url' => 'http://localhost:8057/json', 'options' => ['body' => ['foo' => 'fooval', 'bar' => 'barval', 'baz' => 'bazval', 'foobar' => ['baz' => 'bazval', 'qux' => 'quxval', ], 'bazqux' => ['bazquxval1', 'bazquxval2'], 'object' => (object) ['fooprop' => 'foopropval', 'barprop' => 'barpropval', ], 'tostring' => new class ( ) { /**/ } , ], ], ], 'curl \\ --compressed \\ --request POST \\ --url %1$shttp://localhost:8057/json%1$s \\ --header %1$sAccept: */*%1$s \\ --header %1$sContent-Type: application/x-www-form-urlencoded%1$s \\ --header %1$sContent-Length: 211%1$s \\ --header %1$sAccept-Encoding: gzip%1$s \\ --header %1$sUser-Agent: Symfony HttpClient (Native)%1$s \\ --data-raw %2$sfoo=fooval%2$s --data-raw %2$sbar=barval%2$s --data-raw %2$sbaz=bazval%2$s --data-raw %2$sfoobar[baz]=bazval%2$s --data-raw %2$sfoobar[qux]=quxval%2$s --data-raw %2$sbazqux[0]=bazquxval1%2$s --data-raw %2$sbazqux[1]=bazquxval2%2$s --data-raw %2$sobject[fooprop]=foopropval%2$s --data-raw %2$sobject[barprop]=barpropval%2$s --data-raw %2$stostring=tostringval%2$s', ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/php74-serializable.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Symfony\\Component\\VarExporter\\Tests\\Php74Serializable'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\Php74Serializable')), clone ($p['stdClass'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('stdClass')), ], null, [ ], $o[0], [[$o[1], ], ])
/src/Symfony/Component/HttpClient/Tests/EventSourceHttpClientTest.php:1841return [['text/event-stream', true], ['text/event-stream;charset=utf-8', true], ['text/event-stream;charset=UTF-8', true], ['Text/EVENT-STREAM;Charset="utf-8"', true], ['text/event-stream; charset="utf-8"', true], ['text/event-stream; charset=iso-8859-15', true], ['text/html', new EventSourceException('Response content-type is "text/html" while "text/event-stream" was expected for "http://localhost:8080/events".')], ['text/html; charset="utf-8"', new EventSourceException('Response content-type is "text/html; charset="utf-8"" while "text/event-stream" was expected for "http://localhost:8080/events".')], ['text/event-streambla', new EventSourceException('Response content-type is "text/event-streambla" while "text/event-stream" was expected for "http://localhost:8080/events".')], ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/array-object-custom.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\MyArrayObject'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\MyArrayObject')), ], null, [ ], $o[0], [[1, [234, ], ["\0" . 'Symfony\\Component\\VarExporter\\Tests\\MyArrayObject' . "\0" . 'unused' => 123, ], null, ], ])
/src/Symfony/Component/HttpClient/Tests/RetryableHttpClientTest.php:4051$client = new RetryableHttpClient(new MockHttpClient([new MockResponse('', ['http_code' => 500]), new MockResponse('', ['http_code' => 502]), new MockResponse('', ['http_code' => 504]), new MockResponse('', ['http_code' => 200]), ]), new GenericRetryStrategy([500, 502, 504], 0), 3)
/src/Symfony/Component/VarExporter/Tests/Fixtures/abstract-parent.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\ConcreteClass'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\ConcreteClass')), ], null, ['Symfony\\Component\\VarExporter\\Tests\\AbstractClass' => ['foo' => [123, ], 'bar' => [234, ], ], ], $o[0], [ ])
/src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php:4321$root = $normalizer->denormalize(['children' => [[['foo' => 'one', 'bar' => 'two'], ['foo' => 'three', 'bar' => 'four'], ]], 'grandChildren' => [[[['foo' => 'five', 'bar' => 'six'], ['foo' => 'seven', 'bar' => 'eight'], ]]], 'intMatrix' => [[0, 1, 2], [3, 4, 5], ], ], RootDummy::class, 'any')
/src/Symfony/Component/VarExporter/Tests/Fixtures/readonly.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\Fixtures\\FooReadonly'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\Fixtures\\FooReadonly')), ], null, ['Symfony\\Component\\VarExporter\\Tests\\Fixtures\\FooReadonly' => ['name' => ['k', ], 'value' => ['v', ], ], ], $o[0], [ ])
/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CallbacksTestTrait.php:1311return ['Change a string' => [['bar' => function ($bar) { /**/ } , ], 'baz', ['bar' => 'baz', 'foo' => null], ], 'Null an item' => [['bar' => function ($value, $object, $attributeName, $format, $context) { /**/ } , ], 'baz', ['bar' => null, 'foo' => null], ], 'Format a date' => [['bar' => function ($bar) { /**/ } , ], new \DateTimeImmutable('2011-09-10 06:30:00'), ['bar' => '10-09-2011 06:30:00', 'foo' => null], ], 'Collect a property' => [['bar' => function (array $bars) { /**/ } , ], [new CallbacksObject('baz'), new CallbacksObject('quux')], ['bar' => 'bazquux', 'foo' => null], ], 'Count a property' => [['bar' => fn (array $bars) => \count($bars), ], [new CallbacksObject( ), new CallbacksObject( )], ['bar' => 2, 'foo' => null], ], ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/wakeup.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Symfony\\Component\\VarExporter\\Tests\\MyWakeup'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\MyWakeup')), clone $p['Symfony\\Component\\VarExporter\\Tests\\MyWakeup'], ], null, ['stdClass' => ['sub' => [$o[1], 123, ], 'baz' => [1 => 123, ], ], ], $o[0], [1 => 1, 0, ])
/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CallbacksTestTrait.php:1931return ['Change a string' => [['bar' => function ($bar) { /**/ } , ], 'bar', new CallbacksObject('bar'), ], 'Null an item' => [['bar' => function ($value, $object, $attributeName, $format, $context) { /**/ } , ], 'baz', new CallbacksObject(null), ], 'Format a date' => [['bar' => function ($bar) { /**/ } , ], '10-09-2011 06:30:00', new CallbacksObject(new \DateTimeImmutable('2011-09-10 06:30:00')), ], 'Collect a property' => [['bar' => function (array $bars) { /**/ } , ], [new CallbacksObject('baz'), new CallbacksObject('quux')], new CallbacksObject('bazquux'), ], 'Count a property' => [['bar' => fn (array $bars) => \count($bars), ], [new CallbacksObject( ), new CallbacksObject( )], new CallbacksObject(2), ], ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/final-error.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [(\Symfony\Component\VarExporter\Internal\Registry::$factories['Symfony\\Component\\VarExporter\\Tests\\FinalError'] ?? \Symfony\Component\VarExporter\Internal\Registry::f('Symfony\\Component\\VarExporter\\Tests\\FinalError'))( ), ], null, ['TypeError' => ['file' => [\dirname(__DIR__) . \DIRECTORY_SEPARATOR . 'VarExporterTest.php', ], 'line' => [123, ], ], 'Error' => ['trace' => [[ ], ], ], ], $o[0], [1 => 0, ])
/src/Symfony/Component/Serializer/Command/DebugCommand.php:1011$data[$attributeMetadata->getName( )] = ['groups' => $attributeMetadata->getGroups( ), 'maxDepth' => $attributeMetadata->getMaxDepth( ), 'serializedName' => $attributeMetadata->getSerializedName( ), 'ignore' => $attributeMetadata->isIgnored( ), 'normalizationContexts' => $attributeMetadata->getNormalizationContexts( ), 'denormalizationContexts' => $attributeMetadata->getDenormalizationContexts( ), ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/private.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Symfony\\Component\\VarExporter\\Tests\\MyPrivateValue'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\MyPrivateValue')), clone ($p['Symfony\\Component\\VarExporter\\Tests\\MyPrivateChildValue'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\MyPrivateChildValue')), ], null, ['Symfony\\Component\\VarExporter\\Tests\\MyPrivateValue' => ['prot' => [123, 123, ], 'priv' => [234, 234, ], ], ], [$o[0], $o[1], ], [ ])
/src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php:6211$objectWithBooleanProperties = $denormalizer->denormalize(['boolTrue1' => 'true', 'boolFalse1' => 'false', 'boolTrue2' => '1', 'boolFalse2' => '0', 'int1' => '4711', 'int2' => '-4711', 'float1' => '123.456', 'float2' => '-1.2344e56', 'float3' => '45E-6', 'floatNaN' => 'NaN', 'floatInf' => 'INF', 'floatNegInf' => '-INF', ], ObjectWithBasicProperties::class, 'xml')
/src/Symfony/Component/VarExporter/Tests/Fixtures/__serialize-but-no-__unserialize.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\__SerializeButNo__Unserialize'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\__SerializeButNo__Unserialize')), ], null, ['stdClass' => ['foo' => ['ccc', ], ], ], $o[0], [ ])
/src/Symfony/Component/Serializer/Tests/Normalizer/ConstraintViolationListNormalizerTest.php:791$list = new ConstraintViolationList([new ConstraintViolation('too short', 'a', [ ], '3', 'shortDescription', ''), new ConstraintViolation('too long', 'b', [ ], '3', 'product.shortDescription', 'Lorem ipsum dolor sit amet'), new ConstraintViolation('error', 'c', [ ], '3', '', ''), ])
/src/Symfony/Component/VarExporter/Tests/Fixtures/__unserialize-but-no-__serialize.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\__UnserializeButNo__Serialize'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\__UnserializeButNo__Serialize')), ], null, [ ], $o[0], [['foo' => 'ccc', ], ])
/src/Symfony/Component/Serializer/Tests/Normalizer/UidNormalizerTest.php:491$data = [[UuidV1::fromString('9b7541de-6f87-11ea-ab3c-9da9a81562fc'), '9b7541de-6f87-11ea-ab3c-9da9a81562fc', '9b7541de-6f87-11ea-ab3c-9da9a81562fc', 'LCQS8f2p5SDSiAt9V7ZYnF', '4VEN0XWVW727NAPF4XN6M1ARQW', '9b7541de-6f87-11ea-ab3c-9da9a81562fc', ], [UuidV3::fromString('e576629b-ff34-3642-9c08-1f5219f0d45b'), 'e576629b-ff34-3642-9c08-1f5219f0d45b', 'e576629b-ff34-3642-9c08-1f5219f0d45b', 'VLRwe3qfi66uUAE3mYQ4Dp', '75ESH9QZSM6S19R20ZA8CZ1N2V', 'e576629b-ff34-3642-9c08-1f5219f0d45b', ], [UuidV4::fromString('4126dbc1-488e-4f6e-aadd-775dcbac482e'), '4126dbc1-488e-4f6e-aadd-775dcbac482e', '4126dbc1-488e-4f6e-aadd-775dcbac482e', '93d88pS3fdrDXNR2XxU9nu', '214VDW2J4E9XQANQBQBQ5TRJ1E', '4126dbc1-488e-4f6e-aadd-775dcbac482e', ], [UuidV5::fromString('18cdf3d3-ea1b-5b23-a9c5-40abd0e2df22'), '18cdf3d3-ea1b-5b23-a9c5-40abd0e2df22', '18cdf3d3-ea1b-5b23-a9c5-40abd0e2df22', '44epMFQYZ9byVSGis5dofo', '0RSQSX7TGVBCHTKHA0NF8E5QS2', '18cdf3d3-ea1b-5b23-a9c5-40abd0e2df22', ], [UuidV6::fromString('1ea6ecef-eb9a-66fe-b62b-957b45f17e43'), '1ea6ecef-eb9a-66fe-b62b-957b45f17e43', '1ea6ecef-eb9a-66fe-b62b-957b45f17e43', '4nXtvo2iuyYefrqTMhvogn', '0YMVPEZTWTCVZBCAWNFD2Z2ZJ3', '1ea6ecef-eb9a-66fe-b62b-957b45f17e43', ], [Ulid::fromString('01E4BYF64YZ97MDV6RH0HAMN6X'), '01E4BYF64YZ97MDV6RH0HAMN6X', '01E4BYF64YZ97MDV6RH0HAMN6X', '1BKuy2YWf8Yf9vSkA2wDpg', '01E4BYF64YZ97MDV6RH0HAMN6X', '017117e7-989e-fa4f-46ec-d88822aa54dd', ], ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/private-constructor.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\PrivateConstructor'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\PrivateConstructor')), ], null, ['stdClass' => ['prop' => ['bar', ], ], ], $o[0], [ ])
/src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php:4901return [[new TypedPropertiesObjectWithGetters( ), (new TypedPropertiesObjectWithGetters( ))->setUninitialized('value2'), ], [['initialized' => 'value', 'initialized2' => 'value'], ['unInitialized' => 'value2', 'initialized' => 'value', 'initialized2' => 'value'], ]]
/src/Symfony/Component/BrowserKit/AbstractBrowser.php:6511return $this->request($request->getMethod( ), $request->getUri( ), $request->getParameters( ), $request->getFiles( ), $request->getServer( ), $request->getContent( ), $changeHistory)
/src/Symfony/Component/Serializer/Tests/Context/Normalizer/AbstractObjectNormalizerContextBuilderTest.php:381$context = $this->contextBuilder->withEnableMaxDepth($values[AbstractObjectNormalizer::ENABLE_MAX_DEPTH])->withDepthKeyPattern($values[AbstractObjectNormalizer::DEPTH_KEY_PATTERN])->withDisableTypeEnforcement($values[AbstractObjectNormalizer::DISABLE_TYPE_ENFORCEMENT])->withSkipNullValues($values[AbstractObjectNormalizer::SKIP_NULL_VALUES])->withSkipUninitializedValues($values[AbstractObjectNormalizer::SKIP_UNINITIALIZED_VALUES])->withMaxDepthHandler($values[AbstractObjectNormalizer::MAX_DEPTH_HANDLER])->withExcludeFromCacheKeys($values[AbstractObjectNormalizer::EXCLUDE_FROM_CACHE_KEY])->withDeepObjectToPopulate($values[AbstractObjectNormalizer::DEEP_OBJECT_TO_POPULATE])->withPreserveEmptyObjects($values[AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS])->toArray( )
/src/Symfony/Component/BrowserKit/Tests/HttpBrowserTest.php:541yield 'form' => [['POST', 'http://example.com/', ['key' => 'value', 'key2' => 'value']], ['POST', 'http://example.com/', ['headers' => $defaultHeaders + ['Content-Type' => 'application/x-www-form-urlencoded'], 'body' => 'key=value&key2=value', 'max_redirects' => 0]], ]
/src/Symfony/Component/Serializer/Tests/Context/Normalizer/ConstraintViolationListNormalizerContextBuilderTest.php:371$context = $this->contextBuilder->withInstance($values[ConstraintViolationListNormalizer::INSTANCE])->withStatus($values[ConstraintViolationListNormalizer::STATUS])->withTitle($values[ConstraintViolationListNormalizer::TITLE])->withType($values[ConstraintViolationListNormalizer::TYPE])->withPayloadFields($values[ConstraintViolationListNormalizer::PAYLOAD_FIELDS])->toArray( )
/src/Symfony/Component/BrowserKit/Tests/HttpBrowserTest.php:621yield 'POST JSON' => [['POST', 'http://example.com/', [ ], [ ], ['CONTENT_TYPE' => 'application/json'], '["content"]'], ['POST', 'http://example.com/', ['headers' => $defaultHeaders + ['content-type' => 'application/json'], 'body' => '["content"]', 'max_redirects' => 0]], ]
/src/Symfony/Component/Serializer/Tests/Context/Normalizer/ConstraintViolationListNormalizerContextBuilderTest.php:531yield 'With values' => [[ConstraintViolationListNormalizer::INSTANCE => new \stdClass( ), ConstraintViolationListNormalizer::STATUS => 418, ConstraintViolationListNormalizer::TITLE => 'title', ConstraintViolationListNormalizer::TYPE => 'type', ConstraintViolationListNormalizer::PAYLOAD_FIELDS => ['field'], ]]
/src/Symfony/Component/BrowserKit/Tests/HttpBrowserTest.php:661yield 'custom header with HTTP_ prefix' => [['PUT', 'http://example.com/', [ ], [ ], ['HTTP_CONTENT_TYPE' => 'application/json'], '["content"]'], ['PUT', 'http://example.com/', ['headers' => $defaultHeaders + ['content-type' => 'application/json'], 'body' => '["content"]', 'max_redirects' => 0]], ]
/src/Symfony/Component/Serializer/Tests/Encoder/JsonEncodeTest.php:471return [[[ ], '[]', [ ]], [[ ], '{}', ['json_encode_options' => \JSON_FORCE_OBJECT]], [new \ArrayObject( ), '{}', [ ]], [new \ArrayObject(['foo' => 'bar']), '{"foo":"bar"}', [ ]], ]
/src/Symfony/Component/VarExporter/Tests/Fixtures/hard-references.php:31return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate($o = [clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['stdClass'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('stdClass')), ], [$r = [ ], $r[1] = $o[0], ], [ ], [&$r[1], &$r[1], $o[0], ], [ ])
/src/Symfony/Component/Serializer/Tests/Context/Normalizer/AbstractNormalizerContextBuilderTest.php:381$context = $this->contextBuilder->withCircularReferenceLimit($values[AbstractNormalizer::CIRCULAR_REFERENCE_LIMIT])->withObjectToPopulate($values[AbstractNormalizer::OBJECT_TO_POPULATE])->withGroups($values[AbstractNormalizer::GROUPS])->withAttributes($values[AbstractNormalizer::ATTRIBUTES])->withAllowExtraAttributes($values[AbstractNormalizer::ALLOW_EXTRA_ATTRIBUTES])->withDefaultContructorArguments($values[AbstractNormalizer::DEFAULT_CONSTRUCTOR_ARGUMENTS])->withCallbacks($values[AbstractNormalizer::CALLBACKS])->withCircularReferenceHandler($values[AbstractNormalizer::CIRCULAR_REFERENCE_HANDLER])->withIgnoredAttributes($values[AbstractNormalizer::IGNORED_ATTRIBUTES])->withRequireAllProperties($values[AbstractNormalizer::REQUIRE_ALL_PROPERTIES])->toArray( )
/src/Symfony/Component/VarExporter/Internal/Exporter.php:2291$m[1] = sprintf('\'."%s".\'', str_replace(["\0", "\r", "\n", "\u{202A}", "\u{202B}", "\u{202D}", "\u{202E}", "\u{2066}", "\u{2067}", "\u{2068}", "\u{202C}", "\u{2069}", '\n\\'], ['\0', '\r', '\n', '\u{202A}', '\u{202B}', '\u{202D}', '\u{202E}', '\u{2066}', '\u{2067}', '\u{2068}', '\u{202C}', '\u{2069}', '\n"' . "\n" . $subIndent . '."\\'], $m[1]))
/src/Symfony/Component/Serializer/Tests/Context/Normalizer/AbstractNormalizerContextBuilderTest.php:591yield 'With values' => [[AbstractNormalizer::CIRCULAR_REFERENCE_LIMIT => 12, AbstractNormalizer::OBJECT_TO_POPULATE => new \stdClass( ), AbstractNormalizer::GROUPS => ['group'], AbstractNormalizer::ATTRIBUTES => ['attribute1', 'attribute2'], AbstractNormalizer::ALLOW_EXTRA_ATTRIBUTES => true, AbstractNormalizer::DEFAULT_CONSTRUCTOR_ARGUMENTS => [self::class => ['foo' => 'bar']], AbstractNormalizer::CALLBACKS => [static function ( ) : void { /**/ } ], AbstractNormalizer::CIRCULAR_REFERENCE_HANDLER => static function ( ) : void { /**/ } , AbstractNormalizer::IGNORED_ATTRIBUTES => ['attribute3'], AbstractNormalizer::REQUIRE_ALL_PROPERTIES => true, ]]
/src/Symfony/Component/VarExporter/Internal/Exporter.php:3691$code = [self::export($value->registry, $subIndent), self::export($value->values, $subIndent), '' !== $code ? "[\n" . $code . $subIndent . ']' : '[]', self::export($value->value, $subIndent), self::export($value->wakeups, $subIndent), ]
/src/Symfony/Component/Serializer/Tests/Context/Normalizer/ProblemNormalizerContextBuilderTest.php:371$context = $this->contextBuilder->withTitle($values[ProblemNormalizer::TITLE])->withType($values[ProblemNormalizer::TYPE])->withStatusCode($values[ProblemNormalizer::STATUS])->toArray( )
/src/Symfony/Component/BrowserKit/Cookie.php:1371$values = ['name' => trim($name), 'value' => trim($value), 'expires' => null, 'path' => '/', 'domain' => '', 'secure' => false, 'httponly' => false, 'passedRawValue' => true, 'samesite' => null, ]
/src/Symfony/Component/Serializer/Tests/Context/Normalizer/FormErrorNormalizerContextBuilderTest.php:371$context = $this->contextBuilder->withTitle($values[FormErrorNormalizer::TITLE])->withType($values[FormErrorNormalizer::TYPE])->withStatusCode($values[FormErrorNormalizer::CODE])->toArray( )
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:6401$finals = isset(self::$final[$class]) || $refl->isFinal( ) ? [ ] : ['finalConstants' => $refl->getReflectionConstants(\ReflectionClassConstant::IS_PUBLIC | \ReflectionClassConstant::IS_PROTECTED), 'finalProperties' => $refl->getProperties(\ReflectionProperty::IS_PUBLIC | \ReflectionProperty::IS_PROTECTED), ]
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:5601$canAddReturnType = 2 === (int) $forcePatchTypes || false !== stripos($method->getFileName( ), \DIRECTORY_SEPARATOR . 'Tests' . \DIRECTORY_SEPARATOR) || $refl->isFinal( ) || $method->isFinal( ) || $method->isPrivate( ) || ('.' === (self::$internal[$class] ?? null) && !$refl->isAbstract( )) || '.' === (self::$final[$class] ?? null) || '' === ($doc['final'][0] ?? null) || '' === ($doc['internal'][0] ?? null)
/src/Symfony/Component/ErrorHandler/Tests/ErrorHandlerTest.php:2011$loggers = [\E_DEPRECATED => [null, LogLevel::INFO], \E_USER_DEPRECATED => [null, LogLevel::INFO], \E_NOTICE => [$logger, LogLevel::WARNING], \E_USER_NOTICE => [$logger, LogLevel::CRITICAL], \E_STRICT => [null, LogLevel::WARNING], \E_WARNING => [null, LogLevel::WARNING], \E_USER_WARNING => [null, LogLevel::WARNING], \E_COMPILE_WARNING => [null, LogLevel::WARNING], \E_CORE_WARNING => [null, LogLevel::WARNING], \E_USER_ERROR => [null, LogLevel::CRITICAL], \E_RECOVERABLE_ERROR => [null, LogLevel::CRITICAL], \E_COMPILE_ERROR => [null, LogLevel::CRITICAL], \E_PARSE => [null, LogLevel::CRITICAL], \E_ERROR => [null, LogLevel::CRITICAL], \E_CORE_ERROR => [null, LogLevel::CRITICAL], ]
/src/Symfony/Component/ErrorHandler/ErrorEnhancer/ClassNotFoundErrorEnhancer.php:1281$candidates = [$namespacedClass = str_replace([$path . \DIRECTORY_SEPARATOR, '.php', '/'], ['', '', '\\'], $file), $prefix . $namespacedClass, $prefix . '\\' . $namespacedClass, str_replace('\\', '_', $namespacedClass), str_replace('\\', '_', $prefix . $namespacedClass), str_replace('\\', '_', $prefix . '\\' . $namespacedClass), ]
/src/Symfony/Component/BrowserKit/Tests/HttpBrowserTest.php:741yield 'modify notation of custom header' => [['PUT', 'http://example.com/', [ ], [ ], ['Content-Type' => 'application/json'], '["content"]'], ['PUT', 'http://example.com/', ['headers' => $defaultHeaders + ['content-type' => 'application/json'], 'body' => '["content"]', 'max_redirects' => 0]], ]
/src/Symfony/Component/BrowserKit/Tests/HttpBrowserTest.php:701yield 'modify notation of custom header with HTTP_ prefix' => [['PUT', 'http://example.com/', [ ], [ ], ['HTTP_Content-Type' => 'application/json'], '["content"]'], ['PUT', 'http://example.com/', ['headers' => $defaultHeaders + ['content-type' => 'application/json'], 'body' => '["content"]', 'max_redirects' => 0]], ]
/src/Symfony/Component/BrowserKit/Tests/HttpBrowserTest.php:821yield 'HEAD JSON' => [['HEAD', 'http://example.com/jsonrpc', [ ], [ ], ['CONTENT_TYPE' => 'application/json'], '["content"]'], ['HEAD', 'http://example.com/jsonrpc', ['headers' => $defaultHeaders + ['content-type' => 'application/json'], 'body' => '["content"]', 'max_redirects' => 0]], ]
/src/Symfony/Component/BrowserKit/Tests/HttpBrowserTest.php:781yield 'GET JSON' => [['GET', 'http://example.com/jsonrpc', [ ], [ ], ['CONTENT_TYPE' => 'application/json'], '["content"]'], ['GET', 'http://example.com/jsonrpc', ['headers' => $defaultHeaders + ['content-type' => 'application/json'], 'body' => '["content"]', 'max_redirects' => 0]], ]
/src/Symfony/Component/ErrorHandler/Exception/FlattenException.php:3261$this->trace[] = ['namespace' => $namespace, 'short_class' => $class, 'class' => $entry['class'] ?? '', 'type' => $entry['type'] ?? '', 'function' => $entry['function'] ?? null, 'file' => $entry['file'] ?? null, 'line' => $entry['line'] ?? null, 'args' => isset($entry['args']) ? $this->flattenArgs($entry['args']) : [ ], ]
/src/Symfony/Component/ErrorHandler/ErrorRenderer/HtmlErrorRenderer.php:1381return $this->include($debugTemplate, ['exception' => $exception, 'exceptionMessage' => $exceptionMessage, 'statusText' => $statusText, 'statusCode' => $statusCode, 'logger' => null !== $this->logger && class_exists(DebugLoggerConfigurator::class) ? DebugLoggerConfigurator::getDebugLogger($this->logger) : null, 'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)( ), ])
/src/Symfony/Component/Messenger/DataCollector/MessengerDataCollector.php:861$debugRepresentation = ['bus' => $busName, 'stamps' => $tracedMessage['stamps'] ?? null, 'stamps_after_dispatch' => $tracedMessage['stamps_after_dispatch'] ?? null, 'message' => ['type' => new ClassStub($message::class), 'value' => $message, ], 'caller' => $tracedMessage['caller'], ]
/src/Symfony/Component/Messenger/TraceableMessageBus.php:301$context = ['stamps' => array_merge([ ], ...array_values($envelope->all( ))), 'message' => $envelope->getMessage( ), 'caller' => $this->getCaller( ), 'callTime' => microtime(true), ]
/src/Symfony/Component/ErrorHandler/Tests/ErrorHandlerTest.php:4381$loggers = [\E_DEPRECATED => [$bootLogger, LogLevel::INFO], \E_USER_DEPRECATED => [$bootLogger, LogLevel::INFO], \E_NOTICE => [$bootLogger, LogLevel::WARNING], \E_USER_NOTICE => [$bootLogger, LogLevel::WARNING], \E_STRICT => [$bootLogger, LogLevel::WARNING], \E_WARNING => [$bootLogger, LogLevel::WARNING], \E_USER_WARNING => [$bootLogger, LogLevel::WARNING], \E_COMPILE_WARNING => [$bootLogger, LogLevel::WARNING], \E_CORE_WARNING => [$bootLogger, LogLevel::WARNING], \E_USER_ERROR => [$bootLogger, LogLevel::CRITICAL], \E_RECOVERABLE_ERROR => [$bootLogger, LogLevel::CRITICAL], \E_COMPILE_ERROR => [$bootLogger, LogLevel::CRITICAL], \E_PARSE => [$bootLogger, LogLevel::CRITICAL], \E_ERROR => [$bootLogger, LogLevel::CRITICAL], \E_CORE_ERROR => [$bootLogger, LogLevel::CRITICAL], ]
/src/Symfony/Component/ErrorHandler/Tests/ErrorHandlerTest.php:4171return [['Uncaught Exception: foo', new \Exception('foo')], ['Uncaught Exception: foo', new class ('foo') extends \RuntimeException { /**/ } ], ['Uncaught Exception: foo stdClass@anonymous bar', new \RuntimeException('foo ' . (new class ( ) extends \stdClass { /**/ } )::class . ' bar')], ['Uncaught Error: bar', new \Error('bar')], ['Uncaught ccc', new \ErrorException('ccc')], ['Uncaught Error: Class "App\Controller\ClassDoesNotExist" not found', new \Error('Class "App\Controller\ClassDoesNotExist" not found'), "Attempted to load class \"ClassDoesNotExist\" from namespace \"App\Controller\".\nDid you forget a \"use\" statement for another namespace?", ], ]
/src/Symfony/Component/Serializer/Normalizer/ProblemNormalizer.php:961$data = [self::TYPE => $data[self::TYPE] ?? $context[self::TYPE] ?? 'https://tools.ietf.org/html/rfc2616#section-10', self::TITLE => $data[self::TITLE] ?? $context[self::TITLE] ?? 'An error occurred', self::STATUS => $context[self::STATUS] ?? $object->getStatusCode( ), 'detail' => $data['detail'] ?? ($debug ? $object->getMessage( ) : $object->getStatusText( )), ] + $data
/src/Symfony/Component/ErrorHandler/Tests/ErrorEnhancer/ClassNotFoundErrorEnhancerTest.php:1431$error = (new ClassNotFoundErrorEnhancer( ))->enhance(new FatalError('foo', 0, ['type' => \E_ERROR, 'message' => "Class 'FooBarCcc' not found", 'file' => $expectedFile = realpath(__FILE__), 'line' => $expectedLine = __LINE__, ]))
/src/Symfony/Component/ErrorHandler/Tests/ErrorEnhancer/ClassNotFoundErrorEnhancerTest.php:831return [['Class "WhizBangFactory" not found', "Attempted to load class \"WhizBangFactory\" from the global namespace.\nDid you forget a \"use\" statement?", ], ['Class \'WhizBangFactory\' not found', "Attempted to load class \"WhizBangFactory\" from the global namespace.\nDid you forget a \"use\" statement?", ], ['Class "Foo\\Bar\\WhizBangFactory" not found', "Attempted to load class \"WhizBangFactory\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?", ], ['Class \'Foo\\Bar\\WhizBangFactory\' not found', "Attempted to load class \"WhizBangFactory\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?", ], ['Interface "Foo\\Bar\\WhizBangInterface" not found', "Attempted to load interface \"WhizBangInterface\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?", ], ['Trait "Foo\\Bar\\WhizBangTrait" not found', "Attempted to load trait \"WhizBangTrait\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?", ], ['Class \'UndefinedFunctionError\' not found', "Attempted to load class \"UndefinedFunctionError\" from the global namespace.\nDid you forget a \"use\" statement for \"Symfony\Component\ErrorHandler\Error\UndefinedFunctionError\"?", [$debugClassLoader, 'loadClass'], ], ['Class \'PEARClass\' not found', "Attempted to load class \"PEARClass\" from the global namespace.\nDid you forget a \"use\" statement for \"Symfony_Component_ErrorHandler_Tests_Fixtures_PEARClass\"?", [$debugClassLoader, 'loadClass'], ], ['Class \'Foo\\Bar\\UndefinedFunctionError\' not found', "Attempted to load class \"UndefinedFunctionError\" from namespace \"Foo\Bar\".\nDid you forget a \"use\" statement for \"Symfony\Component\ErrorHandler\Error\UndefinedFunctionError\"?", [$debugClassLoader, 'loadClass'], ], ['Class \'Foo\\Bar\\UndefinedFunctionError\' not found', "Attempted to load class \"UndefinedFunctionError\" from namespace \"Foo\Bar\".\nDid you forget a \"use\" statement for \"Symfony\Component\ErrorHandler\Error\UndefinedFunctionError\"?", [$autoloader, 'loadClass'], ], ['Class \'Foo\\Bar\\UndefinedFunctionError\' not found', "Attempted to load class \"UndefinedFunctionError\" from namespace \"Foo\Bar\".\nDid you forget a \"use\" statement for \"Symfony\Component\ErrorHandler\Error\UndefinedFunctionError\"?", [$debugClassLoader, 'loadClass'], ], ['Class \'Foo\\Bar\\UndefinedFunctionError\' not found', "Attempted to load class \"UndefinedFunctionError\" from namespace \"Foo\\Bar\".\nDid you forget a \"use\" statement for another namespace?", function ($className) { /**/ } , ], ]
/src/Symfony/Component/Lock/Store/DoctrineDbalPostgreSqlStore.php:551$params = (new DsnParser(['db2' => 'ibm_db2', 'mssql' => 'pdo_sqlsrv', 'mysql' => 'pdo_mysql', 'mysql2' => 'pdo_mysql', 'postgres' => 'pdo_pgsql', 'postgresql' => 'pdo_pgsql', 'pgsql' => 'pdo_pgsql', 'sqlite' => 'pdo_sqlite', 'sqlite3' => 'pdo_sqlite', ]))->parse($this->filterDsn($connOrUrl))
/src/Symfony/Component/Validator/Constraints/RangeValidator.php:921$violationBuilder = $this->context->buildViolation($message)->setParameter('{{ value }}', $this->formatValue($value, self::PRETTY_DATE))->setParameter('{{ min }}', $this->formatValue($min, self::PRETTY_DATE))->setParameter('{{ max }}', $this->formatValue($max, self::PRETTY_DATE))->setCode($code)
/src/Symfony/Component/Lock/Store/PdoStore.php:1331$sql = "UPDATE $this->table SET $this->expirationCol = {$this->getCurrentTimestampStatement( )} + $ttl, $this->tokenCol = :token1 WHERE $this->idCol = :id AND ($this->tokenCol = :token2 OR $this->expirationCol <= {$this->getCurrentTimestampStatement( )})"
/src/Symfony/Component/Validator/Constraints/RangeValidator.php:1121$violationBuilder = $this->context->buildViolation($constraint->maxMessage)->setParameter('{{ value }}', $this->formatValue($value, self::PRETTY_DATE))->setParameter('{{ limit }}', $this->formatValue($max, self::PRETTY_DATE))->setCode(Range::TOO_HIGH_ERROR)
/src/Symfony/Component/EventDispatcher/Tests/Debug/WrappedListenerTest.php:341return [[new FooListener( ), 'Symfony\Component\EventDispatcher\Tests\Debug\FooListener::__invoke'], [[new FooListener( ), 'listen'], 'Symfony\Component\EventDispatcher\Tests\Debug\FooListener::listen'], [['Symfony\Component\EventDispatcher\Tests\Debug\FooListener', 'listenStatic'], 'Symfony\Component\EventDispatcher\Tests\Debug\FooListener::listenStatic'], [['Symfony\Component\EventDispatcher\Tests\Debug\FooListener', 'invalidMethod'], 'Symfony\Component\EventDispatcher\Tests\Debug\FooListener::invalidMethod'], ['var_dump', 'var_dump'], [function ( ) { /**/ } , 'closure'], [\Closure::fromCallable([new FooListener( ), 'listen']), 'Symfony\Component\EventDispatcher\Tests\Debug\FooListener::listen'], [\Closure::fromCallable(['Symfony\Component\EventDispatcher\Tests\Debug\FooListener', 'listenStatic']), 'Symfony\Component\EventDispatcher\Tests\Debug\FooListener::listenStatic'], [\Closure::fromCallable(function ( ) { /**/ } ), 'closure'], [[static fn ( ) => new FooListener( ), 'listen'], 'Symfony\Component\EventDispatcher\Tests\Debug\FooListener::listen'], ]
/src/Symfony/Component/Dotenv/Tests/DotenvTest.php:1861$tests = array_merge($tests, [['FOO=$(echo foo)', ['FOO' => 'foo']], ['FOO=$((1+2))', ['FOO' => '3']], ['FOO=FOO$((1+2))BAR', ['FOO' => 'FOO3BAR']], ['FOO=$(echo "$(echo "$(echo "$(echo foo)")")")', ['FOO' => 'foo']], ["FOO=$(echo \"Quotes won't be a problem\")", ['FOO' => 'Quotes won\'t be a problem']], ["FOO=bar\nBAR=$(echo \"FOO is \$FOO\")", ['FOO' => 'bar', 'BAR' => 'FOO is bar']], ])
/src/Symfony/Component/Runtime/Internal/ComposerPlugin.php:951$code = strtr(file_get_contents($autoloadTemplate), ['%project_dir%' => $projectDir, '%runtime_class%' => var_export($runtimeClass, true), '%runtime_options%' => '[' . substr(var_export($extra, true), 7, -1) . " 'project_dir' => {$projectDir},\n]", ])
/src/Symfony/Component/Validator/Test/ConstraintValidatorTestCase.php:4321return new ConstraintViolation($this->message, $this->message, $this->parameters, $this->context->getRoot( ), $this->propertyPath, $this->invalidValue, $this->plural, $this->code, $this->constraint, $this->cause)
/src/Symfony/Component/Lock/Store/DoctrineDbalStore.php:1401$sql = "UPDATE $this->table SET $this->expirationCol = {$this->getCurrentTimestampStatement( )} + ?, $this->tokenCol = ? WHERE $this->idCol = ? AND ($this->tokenCol = ? OR $this->expirationCol <= {$this->getCurrentTimestampStatement( )})"
/src/Symfony/Component/Validator/Constraints/LengthValidator.php:541$length = $invalidCharset ? 0 : match ($constraint->countUnit) { /**/ }
/src/Symfony/Component/Scheduler/Tests/Trigger/PeriodicalTriggerTest.php:1141yield [new \DateTimeImmutable('2023-03-19 13:45'), self::createTrigger('next tuesday'), [new \DateTimeImmutable('2023-03-21 13:45:00'), new \DateTimeImmutable('2023-03-28 13:45:00'), new \DateTimeImmutable('2023-04-04 13:45:00'), new \DateTimeImmutable('2023-04-11 13:45:00'), new \DateTimeImmutable('2023-04-18 13:45:00'), new \DateTimeImmutable('2023-04-25 13:45:00'), new \DateTimeImmutable('2023-05-02 13:45:00'), new \DateTimeImmutable('2023-05-09 13:45:00'), new \DateTimeImmutable('2023-05-16 13:45:00'), new \DateTimeImmutable('2023-05-23 13:45:00'), new \DateTimeImmutable('2023-05-30 13:45:00'), new \DateTimeImmutable('2023-06-06 13:45:00'), new \DateTimeImmutable('2023-06-13 13:45:00'), ], 20, ]
/src/Symfony/Component/Validator/Tests/ConstraintViolationListTest.php:1011$this->list = new ConstraintViolationList([$this->getViolation('Error 1', 'Root'), $this->getViolation('Error 2', 'Root', 'foo.bar'), $this->getViolation('Error 3', 'Root', '[baz]'), $this->getViolation('Error 4', '', 'foo.bar'), $this->getViolation('Error 5', '', '[baz]'), ])
/src/Symfony/Component/Lock/Store/MongoDbStore.php:2781$cursor = $this->manager->executeQuery($this->namespace, new Query(['_id' => (string) $key, 'token' => $this->getUniqueToken($key), 'expires_at' => ['$gt' => $this->createMongoDateTime(microtime(true)), ], ], ['limit' => 1, 'projection' => ['_id' => 1], ]))
/src/Symfony/Component/Validator/Constraints/RangeValidator.php:1311$violationBuilder = $this->context->buildViolation($constraint->minMessage)->setParameter('{{ value }}', $this->formatValue($value, self::PRETTY_DATE))->setParameter('{{ limit }}', $this->formatValue($min, self::PRETTY_DATE))->setCode(Range::TOO_LOW_ERROR)
/src/Symfony/Component/Lock/Store/DoctrineDbalStore.php:741$params = (new DsnParser(['db2' => 'ibm_db2', 'mssql' => 'pdo_sqlsrv', 'mysql' => 'pdo_mysql', 'mysql2' => 'pdo_mysql', 'postgres' => 'pdo_pgsql', 'postgresql' => 'pdo_pgsql', 'pgsql' => 'pdo_pgsql', 'sqlite' => 'pdo_sqlite', 'sqlite3' => 'pdo_sqlite', ]))->parse($connOrUrl)
/src/Symfony/Component/Validator/Constraints/AbstractComparisonValidator.php:731$violationBuilder = $this->context->buildViolation($constraint->message)->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING | self::PRETTY_DATE))->setParameter('{{ compared_value }}', $this->formatValue($comparedValue, self::OBJECT_TO_STRING | self::PRETTY_DATE))->setParameter('{{ compared_value_type }}', $this->formatTypeOf($comparedValue))->setCode($this->getErrorCode( ))
/src/Symfony/Component/Scheduler/Tests/Generator/MessageGeneratorTest.php:2551yield 'concurrency' => ['startTime' => '22:12:00', 'runs' => ['22:12:00.555' => [ ], '22:13:01.555' => [$third, $first, $first, $second, $first], '22:13:02.000' => [$first], '22:13:02.555' => [ ], ], 'schedule' => [[$first, '22:12:59', '22:13:00', '22:13:01', '22:13:02', '22:13:03'], [$second, '22:13:00', '22:14:00'], [$third, '22:12:30', '22:13:30'], ], ]
/src/Symfony/Component/Scheduler/Tests/Generator/MessageGeneratorTest.php:2701yield 'parallel' => ['startTime' => '22:12:00', 'runs' => ['22:12:59' => [ ], '22:13:59' => [$first, $second], '22:14:00' => [$first, $second], '22:14:01' => [ ], ], 'schedule' => [[$first, '22:13:00', '22:14:00', '22:15:00'], [$second, '22:13:00', '22:14:00', '22:15:00'], ], ]
/src/Symfony/Component/Scheduler/Tests/Generator/MessageGeneratorTest.php:2131yield 'first' => ['startTime' => '22:12:00', 'runs' => ['22:12:00' => [ ], '22:12:01' => [ ], '22:13:00' => [$first], '22:13:01' => [ ], ], 'schedule' => [[$first, '22:13:00', '22:14:00']], ]
/src/Symfony/Component/Scheduler/Tests/Generator/MessageGeneratorTest.php:2421yield 'sequence' => ['startTime' => '22:12:00', 'runs' => ['22:12:59' => [ ], '22:13:00' => [$first], '22:13:01' => [ ], '22:13:59' => [ ], '22:14:00' => [$first], '22:14:01' => [ ], ], 'schedule' => [[$first, '22:13:00', '22:14:00', '22:15:00']], ]
/src/Symfony/Component/Mailer/Bridge/Postmark/Transport/PostmarkApiTransport.php:541$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/email', ['headers' => ['Accept' => 'application/json', 'X-Postmark-Server-Token' => $this->key, ], 'json' => $this->getPayload($email, $envelope), ])
/src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php:821return !$method->isStatic( ) && !($method->getAttributes(Ignore::class) || $method->getAttributes(LegacyIgnore::class)) && !$method->getNumberOfRequiredParameters( ) && ((2 < ($methodLength = \strlen($method->name)) && str_starts_with($method->name, 'is')) || (3 < $methodLength && (str_starts_with($method->name, 'has') || str_starts_with($method->name, 'get'))))
/src/Symfony/Component/Mailer/Bridge/Postmark/Transport/PostmarkApiTransport.php:821$payload = ['From' => $envelope->getSender( )->toString( ), 'To' => implode(',', $this->stringifyAddresses($this->getRecipients($email, $envelope))), 'Cc' => implode(',', $this->stringifyAddresses($email->getCc( ))), 'Bcc' => implode(',', $this->stringifyAddresses($email->getBcc( ))), 'ReplyTo' => implode(',', $this->stringifyAddresses($email->getReplyTo( ))), 'Subject' => $email->getSubject( ), 'TextBody' => $email->getTextBody( ), 'HtmlBody' => $email->getHtmlBody( ), 'Attachments' => $this->getAttachments($email), ]
/src/Symfony/Component/Serializer/Normalizer/ConstraintViolationListNormalizer.php:921$result = ['type' => $context[self::TYPE] ?? $this->defaultContext[self::TYPE] ?? 'https://symfony.com/errors/validation', 'title' => $context[self::TITLE] ?? $this->defaultContext[self::TITLE] ?? 'Validation Failed', ]
/src/Symfony/Component/Scheduler/DependencyInjection/AddScheduleMessengerPass.php:671$taskArguments = ['$message' => $message, ] + array_filter(match ($tagAttributes['trigger'] ?? throw new InvalidArgumentException(sprintf('Tag "scheduler.task" is missing attribute "trigger" on service "%s".', $serviceId))) { /**/ } , fn ($value) => null !== $value)
/src/Symfony/Component/Scheduler/DependencyInjection/AddScheduleMessengerPass.php:1161$transportDefinition = (new Definition(TransportInterface::class))->setFactory([new Reference('messenger.transport_factory'), 'createTransport'])->setArguments(['schedule://' . $name, ['transport_name' => $transportName], new Reference('messenger.default_serializer')])->addTag('messenger.receiver', ['alias' => $transportName])
/src/Symfony/Component/Serializer/Normalizer/FormErrorNormalizer.php:271$data = ['title' => $context[self::TITLE] ?? 'Validation Failed', 'type' => $context[self::TYPE] ?? 'https://symfony.com/errors/form', 'code' => $context[self::CODE] ?? null, 'errors' => $this->convertFormErrorsToArray($object), ]
/src/Symfony/Component/Mailer/Bridge/MailPace/Transport/MailPaceApiTransport.php:501$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/send', ['headers' => ['Accept' => 'application/json', 'MailPace-Server-Token' => $this->key, 'Content-Type' => 'application/json', 'User-Agent' => 'MailPace Symfony Mailer', ], 'json' => $this->getPayload($email, $envelope), ])
/src/Symfony/Component/Mailer/Bridge/Postmark/Tests/Transport/PostmarkTransportFactoryTest.php:721yield [new Dsn('postmark+api', 'example.com', self::USER, '', 8080, ['message_stream' => 'broadcasts']), (new PostmarkApiTransport(self::USER, new MockHttpClient( ), null, $logger))->setHost('example.com')->setPort(8080)->setMessageStream('broadcasts'), ]
/src/Symfony/Component/Mailer/Bridge/Postmark/Tests/Transport/PostmarkTransportFactoryTest.php:671yield [new Dsn('postmark+api', 'example.com', self::USER, '', 8080), (new PostmarkApiTransport(self::USER, new MockHttpClient( ), null, $logger))->setHost('example.com')->setPort(8080), ]
/src/Symfony/Component/Mailer/Bridge/Postmark/Tests/Transport/PostmarkApiTransportTest.php:401return [[new PostmarkApiTransport('KEY'), 'postmark+api://api.postmarkapp.com', ], [(new PostmarkApiTransport('KEY'))->setHost('example.com'), 'postmark+api://example.com', ], [(new PostmarkApiTransport('KEY'))->setHost('example.com')->setPort(99), 'postmark+api://example.com:99', ], ]
/src/Symfony/Component/Validator/Tests/Constraints/AtLeastOneOfValidatorTest.php:1341return [['symphony', [new Length(['min' => 10]), new EqualTo(['value' => 'symfony']), ]], [70, [new Range(['min' => 10, 'max' => 20]), new GreaterThanOrEqual(['value' => 100]), ]], [8, [new LessThan(['value' => 5]), new IdenticalTo(['value' => 7]), ]], [3, [new DivisibleBy(['value' => 4]), new Negative( ), ]], ['F_O_O', [new Choice(['choices' => ['bar', 'BAR']]), new Regex(['pattern' => '/foo/i']), ]], ['f_r', [new Country( ), new Language( ), ]], [[1, 3, 3], [new Count(['min' => 5]), new Unique( ), ]], ]
/src/Symfony/Component/Mailer/Bridge/Infobip/Tests/Transport/InfobipApiTransportTest.php:1292$email = (new Email( ))->subject('Subject of the email')->from('From <from@example.com>')->to('to1@example.com', 'to2@example.com')->text('Some text')->html('<html><p>Hello!</p></html>')->bcc('bcc@example.com')->cc('cc@example.com')->date(new \DateTimeImmutable('2022-04-28 14:00.00', new \DateTimeZone('UTC')))->replyTo('replyTo@example.com')
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:671$classes = [$this->em->getClassMetadata(self::ITEM_GROUP_CLASS), $this->em->getClassMetadata(self::SINGLE_IDENT_CLASS), $this->em->getClassMetadata(self::SINGLE_IDENT_NO_TO_STRING_CLASS), $this->em->getClassMetadata(self::SINGLE_STRING_IDENT_CLASS), $this->em->getClassMetadata(self::SINGLE_ASSOC_IDENT_CLASS), $this->em->getClassMetadata(self::SINGLE_STRING_CASTABLE_IDENT_CLASS), $this->em->getClassMetadata(self::COMPOSITE_IDENT_CLASS), $this->em->getClassMetadata(self::COMPOSITE_STRING_IDENT_CLASS), ]
/src/Symfony/Component/Mailer/Bridge/MailPace/Tests/Transport/MailPaceApiTransportTest.php:381return [[new MailPaceApiTransport('KEY'), 'mailpace+api://app.mailpace.com/api/v1', ], [(new MailPaceApiTransport('KEY'))->setHost('example.com'), 'mailpace+api://example.com', ], [(new MailPaceApiTransport('KEY'))->setHost('example.com')->setPort(99), 'mailpace+api://example.com:99', ], ]
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:1961$view = $this->factory->createNamed('name', static::TESTED_TYPE, null, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, 'required' => false, 'choice_label' => 'name', 'query_builder' => $qb, ])->createView( )
/src/Symfony/Component/Mailer/Bridge/MailPace/Tests/Transport/MailPaceTransportFactoryTest.php:671yield [new Dsn('mailpace+api', 'example.com', self::USER, '', 8080), (new MailPaceApiTransport(self::USER, new MockHttpClient( ), null, $logger))->setHost('example.com')->setPort(8080), ]
/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php:1211return ChoiceList::loader($this, new DoctrineChoiceLoader($options['em'], $options['class'], $options['id_reader'], $this->getCachedEntityLoader($options['em'], $options['query_builder'] ?? $options['em']->getRepository($options['class'])->createQueryBuilder('e'), $options['class'], $vary)), $vary)
/src/Symfony/Component/Mailer/Bridge/MailPace/Transport/MailPaceApiTransport.php:931$payload = ['from' => $envelope->getSender( )->toString( ), 'to' => implode(',', $this->stringifyAddresses($this->getRecipients($email, $envelope))), 'cc' => implode(',', $this->stringifyAddresses($email->getCc( ))), 'bcc' => implode(',', $this->stringifyAddresses($email->getBcc( ))), 'replyto' => implode(',', $this->stringifyAddresses($email->getReplyTo( ))), 'subject' => $email->getSubject( ), 'textbody' => $email->getTextBody( ), 'htmlbody' => $email->getHtmlBody( ), 'attachments' => $this->getAttachments($email), 'tags' => [ ], ]
/src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php:911$paramValues = ['class' => $token->getClass( ), 'username' => $token->getUserIdentifier( ), 'series' => $token->getSeries( ), 'value' => $token->getTokenValue( ), 'lastUsed' => \DateTimeImmutable::createFromInterface($token->getLastUsed( )), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesTransportFactory.php:491$options = ['region' => $dsn->getOption('region') ?: 'eu-west-1', 'accessKeyId' => $dsn->getUser( ), 'accessKeySecret' => $dsn->getPassword( ), ] + ('default' === $dsn->getHost( ) ? [ ] : ['endpoint' => 'https://' . $dsn->getHost( ) . ($dsn->getPort( ) ? ':' . $dsn->getPort( ) : '')]) + (null === $dsn->getOption('session_token') ? [ ] : ['sessionToken' => $dsn->getOption('session_token')])
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:9591$field = $this->factory->createNamed('name', static::TESTED_TYPE, null, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, 'query_builder' => $repository->createQueryBuilder('e')->where('e.id IN (1, 2)'), 'choice_label' => 'name', ])
/src/Symfony/Component/Validator/Tests/Constraints/NotEqualToValidatorTest.php:431return [[1, 2], ['22', '333'], [new \DateTime('2001-01-01'), new \DateTime('2000-01-01')], [new \DateTime('2001-01-01'), '2000-01-01'], [new \DateTime('2001-01-01 UTC'), '2000-01-01 UTC'], [new ComparisonTest_Class(6), new ComparisonTest_Class(5)], [null, 1], ]
/src/Symfony/Component/Mailer/Bridge/Infobip/Tests/Transport/InfobipApiTransportTest.php:3672$email = $this->basicValidEmail( )->text('foobar')->addPart(new DataPart('some attachment', 'attachment.txt', 'text/plain'))->addPart((new DataPart('some inline attachment', 'inline.txt', 'text/plain'))->asInline( ))
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:9832$field = $this->factory->createNamed('name', static::TESTED_TYPE, null, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, 'query_builder' => $repository->createQueryBuilder('e')->where('e.id IN (1, 2, 3)')->setMaxResults(1), 'choice_label' => 'name', ])
/src/Symfony/Component/Validator/Tests/Validator/RecursiveValidatorTest.php:12951return [['sequence' => new GroupSequence(['Group 1', 'Group 2', 'Group 3', 'Entity']), 'assertViolations' => ['Violation in Group 2', ], ], ['sequence' => ['Group 1', 'Group 2', 'Group 3', 'Entity'], 'assertViolations' => ['Violation in Group 2', ], ], ['sequence' => new GroupSequence(['Group 1', ['Group 2', 'Group 3'], 'Entity']), 'assertViolations' => ['Violation in Group 2', 'Violation in Group 3', ], ], ['sequence' => ['Group 1', ['Group 2', 'Group 3'], 'Entity'], 'assertViolations' => ['Violation in Group 2', 'Violation in Group 3', ], ], ]
/src/Symfony/Component/Mailer/Bridge/Infobip/Tests/Transport/InfobipApiTransportTest.php:3202$email = (new Email( ))->subject('Subject of the email')->from('From <from@example.com>')->to('to1@example.com', 'to2@example.com')->text('Some text')->html('<html><p>Hello!</p></html>')->bcc('bcc@example.com')->cc('cc@example.com')->date(new \DateTimeImmutable('2022-04-28 14:00.00', new \DateTimeZone('UTC')))->replyTo('replyTo@example.com')
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:8221$field = $this->factory->createNamed('name', static::TESTED_TYPE, null, ['em' => 'default', 'class' => self::ITEM_GROUP_CLASS, 'choices' => [$item1, $item2, $item3, $item4], 'choice_label' => 'name', 'group_by' => 'groupName', ])
/src/Symfony/Component/Validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php:531$constraints = [new ConstraintA(['groups' => ['Default', 'Entity', ]]), new ConstraintA(['groups' => ['Default', 'EntityParent', 'Entity', ]]), new ConstraintA(['groups' => ['Default', 'EntityInterfaceA', 'EntityParent', 'Entity', ]]), new ConstraintA(['groups' => ['Default', 'EntityInterfaceB', 'Entity', ]]), new ConstraintA(['groups' => ['Default', 'EntityParentInterface', 'Entity', ]]), ]
/src/Symfony/Component/Mailer/Bridge/Infobip/Tests/Transport/InfobipApiTransportTest.php:2082$email = $this->basicValidEmail( )->text('foobar')->addPart(new DataPart('some attachment', 'attachment.txt', 'text/plain'))->addPart((new DataPart('some inline attachment', 'inline.txt', 'text/plain'))->asInline( ))
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:8721$field = $this->factory->createNamed('name', static::TESTED_TYPE, null, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, 'choices' => [$entity2, $entity3], 'preferred_choices' => [$entity3], 'choice_label' => 'name', ])
/src/Symfony/Component/Validator/Tests/ConstraintValidatorTest.php:381$data = [['true', true], ['false', false], ['null', null], ['resource', fopen('php://memory', 'r')], ['"foo"', 'foo'], ['array', [ ]], ['object', $toString = new TestToStringObject( )], ['ccc', $toString, ConstraintValidator::OBJECT_TO_STRING], ['object', $dateTime = new \DateTimeImmutable('1971-02-02T08:00:00UTC')], [class_exists(\IntlDateFormatter::class) ? static::normalizeIcuSpaces("Oct 4, 2019, 11:02\u{202F}AM") : '2019-10-04 11:02:03', new \DateTimeImmutable('2019-10-04T11:02:03+09:00'), ConstraintValidator::PRETTY_DATE], [class_exists(\IntlDateFormatter::class) ? static::normalizeIcuSpaces("Feb 2, 1971, 8:00\u{202F}AM") : '1971-02-02 08:00:00', $dateTime, ConstraintValidator::PRETTY_DATE], [class_exists(\IntlDateFormatter::class) ? static::normalizeIcuSpaces("Jan 1, 1970, 6:00\u{202F}AM") : '1970-01-01 06:00:00', new \DateTimeImmutable('1970-01-01T06:00:00Z'), ConstraintValidator::PRETTY_DATE], [class_exists(\IntlDateFormatter::class) ? static::normalizeIcuSpaces("Jan 1, 1970, 3:00\u{202F}PM") : '1970-01-01 15:00:00', (new \DateTimeImmutable('1970-01-01T23:00:00'))->setTimezone(new \DateTimeZone('America/New_York')), ConstraintValidator::PRETTY_DATE], ['FirstCase', TestEnum::FirstCase], ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesApiAsyncAwsTransportTest.php:391return [[new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY']))), 'ses+api://ACCESS_KEY@us-east-1', ], [new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'region' => 'us-west-1']))), 'ses+api://ACCESS_KEY@us-west-1', ], [new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'endpoint' => 'https://example.com']))), 'ses+api://ACCESS_KEY@example.com', ], [new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'endpoint' => 'https://example.com:99']))), 'ses+api://ACCESS_KEY@example.com:99', ], [new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'sessionToken' => 'SESSION_TOKEN']))), 'ses+api://ACCESS_KEY@us-east-1', ], [new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'region' => 'us-west-1', 'sessionToken' => 'SESSION_TOKEN']))), 'ses+api://ACCESS_KEY@us-west-1', ], [new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'endpoint' => 'https://example.com', 'sessionToken' => 'SESSION_TOKEN']))), 'ses+api://ACCESS_KEY@example.com', ], [new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'endpoint' => 'https://example.com:99', 'sessionToken' => 'SESSION_TOKEN']))), 'ses+api://ACCESS_KEY@example.com:99', ], ]
/src/Symfony/Component/Validator/Tests/Constraints/AtLeastOneOfValidatorTest.php:651return [['symfony', [new Length(['min' => 10]), new EqualTo(['value' => 'symfony']), ]], [150, [new Range(['min' => 10, 'max' => 20]), new GreaterThanOrEqual(['value' => 100]), ]], [7, [new LessThan(['value' => 5]), new IdenticalTo(['value' => 7]), ]], [-3, [new DivisibleBy(['value' => 4]), new Negative( ), ]], ['FOO', [new Choice(['choices' => ['bar', 'BAR']]), new Regex(['pattern' => '/foo/i']), ]], ['fr', [new Country( ), new Language( ), ]], [[1, 3, 5], [new Count(['min' => 5]), new Unique( ), ]], ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesApiAsyncAwsTransport.php:581$request = ['FromEmailAddress' => $this->stringifyAddress(self::getSenderFromHeaders($email->getHeaders( ))), 'Destination' => ['ToAddresses' => $this->stringifyAddresses($this->getRecipients($email, $envelope)), ], 'Content' => ['Simple' => ['Subject' => ['Data' => $email->getSubject( ), 'Charset' => 'utf-8', ], 'Body' => [ ], ], ], ]
/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorTest.php:631return [[3, '3', 2, '2', 'int'], [2, '2', 2, '2', 'int'], [new \DateTime('2010-01-01'), self::normalizeIcuSpaces("Jan 1, 2010, 12:00\u{202F}AM"), new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2010-01-01'), self::normalizeIcuSpaces("Jan 1, 2010, 12:00\u{202F}AM"), '2000-01-01', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2000-01-01', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2010-01-01 UTC'), self::normalizeIcuSpaces("Jan 1, 2010, 12:00\u{202F}AM"), '2000-01-01 UTC', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000-01-01 UTC'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2000-01-01 UTC', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new ComparisonTest_Class(5), '5', new ComparisonTest_Class(5), '5', __NAMESPACE__ . '\ComparisonTest_Class'], [new ComparisonTest_Class(6), '6', new ComparisonTest_Class(5), '5', __NAMESPACE__ . '\ComparisonTest_Class'], ['333', '"333"', '22', '"22"', 'string'], ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesHttpAsyncAwsTransport.php:711$request = ['Destination' => new Destination(['ToAddresses' => $this->stringifyAddresses($message->getEnvelope( )->getRecipients( )), ]), 'Content' => ['Raw' => ['Data' => $message->toString( ), ], ], ]
/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php:10082$field = $this->factory->createNamed('name', static::TESTED_TYPE, null, ['em' => 'default', 'class' => self::SINGLE_IDENT_CLASS, 'query_builder' => $repository->createQueryBuilder('e')->where('e.id IN (1, 2, 3)')->setMaxResults(1), 'choice_label' => 'name', ])
/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorTest.php:431return [[1, 2], [new \DateTime('2000-01-01'), new \DateTime('2010-01-01')], [new \DateTime('2000-01-01'), '2010-01-01'], [new \DateTime('2000-01-01 UTC'), '2010-01-01 UTC'], [new ComparisonTest_Class(4), new ComparisonTest_Class(5)], ['22', '333'], [null, 1], ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesHttpAsyncAwsTransport.php:621$exception = new HttpTransportException(sprintf('Unable to send an email: %s (code %s).', $e->getAwsMessage( ) ?: $e->getMessage( ), $e->getAwsCode( ) ?: $e->getCode( )), $e->getResponse( ), $e->getCode( ), $e)
/src/Symfony/Component/Validator/Tests/Constraints/NotEqualToValidatorTest.php:631return [[3, '3', 3, '3', 'int'], ['2', '"2"', 2, '2', 'int'], ['a', '"a"', 'a', '"a"', 'string'], [new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000-01-01'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2000-01-01', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new \DateTime('2000-01-01 UTC'), self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), '2000-01-01 UTC', self::normalizeIcuSpaces("Jan 1, 2000, 12:00\u{202F}AM"), 'DateTime'], [new ComparisonTest_Class(5), '5', new ComparisonTest_Class(5), '5', __NAMESPACE__ . '\ComparisonTest_Class'], ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesHttpAsyncAwsTransportTest.php:391return [[new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY']))), 'ses+https://ACCESS_KEY@us-east-1', ], [new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'region' => 'us-west-1']))), 'ses+https://ACCESS_KEY@us-west-1', ], [new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'endpoint' => 'https://example.com']))), 'ses+https://ACCESS_KEY@example.com', ], [new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'endpoint' => 'https://example.com:99']))), 'ses+https://ACCESS_KEY@example.com:99', ], [new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'sessionToken' => 'SESSION_TOKEN']))), 'ses+https://ACCESS_KEY@us-east-1', ], [new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'region' => 'us-west-1', 'sessionToken' => 'SESSION_TOKEN']))), 'ses+https://ACCESS_KEY@us-west-1', ], [new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'endpoint' => 'https://example.com', 'sessionToken' => 'SESSION_TOKEN']))), 'ses+https://ACCESS_KEY@example.com', ], [new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['sharedConfigFile' => false, 'accessKeyId' => 'ACCESS_KEY', 'accessKeySecret' => 'SECRET_KEY', 'endpoint' => 'https://example.com:99', 'sessionToken' => 'SESSION_TOKEN']))), 'ses+https://ACCESS_KEY@example.com:99', ], ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:711yield [new Dsn('ses+api', 'default', self::USER, self::PASSWORD), new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:761yield [new Dsn('ses+api', 'default', self::USER, self::PASSWORD, null, ['region' => 'eu-west-2']), new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-2']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:811yield [new Dsn('ses+api', 'example.com', self::USER, self::PASSWORD, 8080), new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1', 'endpoint' => 'https://example.com:8080']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:861yield [new Dsn('ses+api', 'default', self::USER, self::PASSWORD, null, ['session_token' => 'se$sion']), new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1', 'sessionToken' => 'se$sion']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:911yield [new Dsn('ses+api', 'default', self::USER, self::PASSWORD, null, ['region' => 'eu-west-2', 'session_token' => 'se$sion']), new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-2', 'sessionToken' => 'se$sion']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:961yield [new Dsn('ses+api', 'example.com', self::USER, self::PASSWORD, 8080, ['session_token' => 'se$sion']), new SesApiAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1', 'endpoint' => 'https://example.com:8080', 'sessionToken' => 'se$sion']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1011yield [new Dsn('ses+https', 'default', self::USER, self::PASSWORD), new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1061yield [new Dsn('ses', 'default', self::USER, self::PASSWORD), new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1111yield [new Dsn('ses+https', 'example.com', self::USER, self::PASSWORD, 8080), new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1', 'endpoint' => 'https://example.com:8080']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1161yield [new Dsn('ses+https', 'default', self::USER, self::PASSWORD, null, ['region' => 'eu-west-2']), new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-2']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1211yield [new Dsn('ses+https', 'default', self::USER, self::PASSWORD, null, ['session_token' => 'se$sion']), new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1', 'sessionToken' => 'se$sion']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1261yield [new Dsn('ses', 'default', self::USER, self::PASSWORD, null, ['session_token' => 'se$sion']), new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1', 'sessionToken' => 'se$sion']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1311yield [new Dsn('ses+https', 'example.com', self::USER, self::PASSWORD, 8080, ['session_token' => 'se$sion']), new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-1', 'endpoint' => 'https://example.com:8080', 'sessionToken' => 'se$sion']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1361yield [new Dsn('ses+https', 'default', self::USER, self::PASSWORD, null, ['region' => 'eu-west-2', 'session_token' => 'se$sion']), new SesHttpAsyncAwsTransport(new SesClient(Configuration::create(['accessKeyId' => self::USER, 'accessKeySecret' => self::PASSWORD, 'region' => 'eu-west-2', 'sessionToken' => 'se$sion']), null, $client, $logger), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php:1561yield [new Dsn('ses+smtps', 'default', self::USER, self::PASSWORD, null, ['region' => 'eu-west-1', 'ping_threshold' => '10']), (new SesSmtpTransport(self::USER, self::PASSWORD, 'eu-west-1', null, $logger))->setPingThreshold(10), ]
/src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Transport/SendgridApiTransportTest.php:371return [[new SendgridApiTransport('KEY'), 'sendgrid+api://api.sendgrid.com', ], [(new SendgridApiTransport('KEY'))->setHost('example.com'), 'sendgrid+api://example.com', ], [(new SendgridApiTransport('KEY'))->setHost('example.com')->setPort(99), 'sendgrid+api://example.com:99', ], ]
/src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Transport/SendgridTransportFactoryTest.php:671yield [new Dsn('sendgrid+api', 'example.com', self::USER, '', 8080), (new SendgridApiTransport(self::USER, new MockHttpClient( ), null, $logger))->setHost('example.com')->setPort(8080), ]
/src/Symfony/Component/Mailer/Bridge/Mailjet/Transport/MailjetApiTransport.php:1181$message = ['From' => $this->formatAddress($envelope->getSender( )), 'To' => $this->formatAddresses($this->getRecipients($email, $envelope)), 'Subject' => $email->getSubject( ), 'Attachments' => $attachments, 'InlinedAttachments' => $inlines, ]
/src/Symfony/Component/Mailer/Bridge/Mailjet/Transport/MailjetApiTransport.php:741$response = $this->client->request('POST', sprintf('https://%s/v%s/send', $this->getEndpoint( ), self::API_VERSION), ['headers' => ['Accept' => 'application/json', ], 'auth_basic' => $this->publicKey . ':' . $this->privateKey, 'json' => $this->getPayload($email, $envelope), ])
/src/Symfony/Component/Mailer/Bridge/Mailjet/Tests/Transport/MailjetTransportFactoryTest.php:671yield [new Dsn('mailjet+api', 'example.com', self::USER, self::PASSWORD), (new MailjetApiTransport(self::USER, self::PASSWORD, new MockHttpClient( ), null, $logger))->setHost('example.com'), ]
/src/Symfony/Component/Mailer/Bridge/Mailjet/Tests/Transport/MailjetApiTransportTest.php:391return [[new MailjetApiTransport(self::USER, self::PASSWORD), 'mailjet+api://api.mailjet.com', ], [(new MailjetApiTransport(self::USER, self::PASSWORD))->setHost('example.com'), 'mailjet+api://example.com', ], [(new MailjetApiTransport(self::USER, self::PASSWORD, sandbox : true))->setHost('example.com'), 'mailjet+api://example.com?sandbox=true', ], ]
/src/Symfony/Component/Mailer/Bridge/Mailchimp/Transport/MandrillApiTransport.php:851$payload = ['key' => $this->key, 'message' => ['html' => $email->getHtmlBody( ), 'text' => $email->getTextBody( ), 'subject' => $email->getSubject( ), 'from_email' => $envelope->getSender( )->getAddress( ), 'to' => $this->getRecipientsPayload($email, $envelope), ], ]
/src/Symfony/Component/Mailer/Bridge/Mailchimp/Transport/MandrillHttpTransport.php:501$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/api/1.0/messages/send-raw.json', ['json' => ['key' => $this->key, 'to' => array_map(fn (Address $recipient) : string => $recipient->getAddress( ), $envelope->getRecipients( )), 'from_email' => $envelope->getSender( )->getAddress( ), 'from_name' => $envelope->getSender( )->getName( ), 'raw_message' => $message->toString( ), ], ])
/src/Symfony/Component/Mailer/Bridge/Mailchimp/Tests/Transport/MandrillHttpTransportTest.php:371return [[new MandrillHttpTransport('KEY'), 'mandrill+https://mandrillapp.com', ], [(new MandrillHttpTransport('KEY'))->setHost('example.com'), 'mandrill+https://example.com', ], [(new MandrillHttpTransport('KEY'))->setHost('example.com')->setPort(99), 'mandrill+https://example.com:99', ], ]
/src/Symfony/Component/Mailer/Bridge/Mailchimp/Tests/Transport/MandrillApiTransportTest.php:381return [[new MandrillApiTransport('KEY'), 'mandrill+api://mandrillapp.com', ], [(new MandrillApiTransport('KEY'))->setHost('example.com'), 'mandrill+api://example.com', ], [(new MandrillApiTransport('KEY'))->setHost('example.com')->setPort(99), 'mandrill+api://example.com:99', ], ]
/src/Symfony/Component/Mailer/Bridge/MailerSend/Transport/MailerSendApiTransport.php:881$payload = ['from' => array_filter(['email' => $sender->getAddress( ), 'name' => $sender->getName( ), ]), 'to' => $this->prepareAddresses($this->getRecipients($email, $envelope)), 'subject' => $email->getSubject( ), ]
/src/Symfony/Component/Mailer/Bridge/MailerSend/Transport/MailerSendApiTransport.php:481$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . '/v1/email', ['json' => $this->getPayload($email, $envelope), 'headers' => ['Authorization' => 'Bearer ' . $this->key, ], ])
/src/Symfony/Component/Mailer/Bridge/Scaleway/Transport/ScalewayApiTransport.php:831$payload = ['from' => $this->formatAddress($envelope->getSender( )), 'to' => $this->formatAddresses($this->getRecipients($email, $envelope)), 'subject' => $email->getSubject( ), 'project_id' => $this->projectId, ]
/src/Symfony/Component/Mailer/Bridge/Scaleway/Transport/ScalewayApiTransport.php:561$response = $this->client->request('POST', 'https://' . $this->getEndpoint( ) . $path, ['json' => $this->getPayload($email, $envelope), 'headers' => ['X-Auth-Token' => $this->token, ], ])
/src/Symfony/Component/Mailer/Bridge/Scaleway/Tests/Transport/ScalewayTransportFactoryTest.php:621yield [new Dsn('scaleway+api', 'default', self::USER, self::PASSWORD, null, ['region' => 'fr-par']), new ScalewayApiTransport(self::USER, self::PASSWORD, 'fr-par', new MockHttpClient( ), null, $logger), ]
/src/Symfony/Component/Mailer/Bridge/Scaleway/Tests/Transport/ScalewayApiTransportTest.php:361return [[new ScalewayApiTransport('PROJECT_ID', 'TOKEN'), 'scaleway+api://api.scaleway.com@PROJECT_ID', ], [new ScalewayApiTransport('PROJECT_ID', 'TOKEN', 'fr-par'), 'scaleway+api://api.scaleway.com@PROJECT_ID?region=fr-par', ], [(new ScalewayApiTransport('PROJECT_ID', 'TOKEN'))->setHost('example.com'), 'scaleway+api://example.com@PROJECT_ID', ], [(new ScalewayApiTransport('PROJECT_ID', 'TOKEN'))->setHost('example.com')->setPort(99), 'scaleway+api://example.com:99@PROJECT_ID', ], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php:1481$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'date_widget' => 'choice', 'years' => [2010], 'time_widget' => 'choice', 'input' => 'datetime', 'with_minutes' => false, ])
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:11201return [[false, '', ''], [false, '', 'foo'], [false, 'foo', ''], [false, 'foo', 'o'], [false, "\nfoo", 'f'], [true, 'foo', 'F'], [true, 'FoO', 'foo'], [true, 'foo', new ByteString('F')], [true, 'foo', new CodePointString('F')], [true, 'foo', new UnicodeString('F')], [true, 'foo', ['E', 'F', 'G']], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php:1781$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'date_widget' => 'choice', 'years' => [2010], 'time_widget' => 'choice', 'input' => 'datetime', 'with_seconds' => true, ])
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:11481return [[false, '', ''], [false, '', 'foo'], [false, 'foo', ''], [false, 'foo', 'f'], [false, 'foo', 'O'], [false, "foo\n", 'o'], [true, 'foo', 'o'], [true, 'foo', 'foo'], [true, 'foo', new ByteString('o')], [true, 'foo', new CodePointString('o')], [true, 'foo', new UnicodeString('o')], [true, 'foo', ['a', 'o', 'u']], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php:2101$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'America/New_York', 'view_timezone' => 'Pacific/Tahiti', 'date_widget' => 'choice', 'years' => [2010], 'time_widget' => 'choice', 'input' => 'string', 'with_seconds' => true, ])
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:11741return [[false, '', ''], [false, '', 'foo'], [false, 'foo', ''], [false, 'foo', 'f'], [false, "foo\n", 'o'], [true, 'foo', 'O'], [true, 'Foo', 'foo'], [true, 'foo', new ByteString('O')], [true, 'foo', new CodePointString('O')], [true, 'foo', new UnicodeString('O')], [true, 'foo', ['A', 'O', 'U']], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php:4001$view = $this->factory->create(static::TESTED_TYPE, null, ['placeholder' => ['year' => 'Empty year', 'month' => 'Empty month', 'day' => 'Empty day', 'hour' => 'Empty hour', 'minute' => 'Empty minute', 'second' => 'Empty second', ], 'with_seconds' => true, 'widget' => 'choice', ])->createView( )
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:13221return [[true, '', ''], [false, '', 'foo'], [false, 'foo', ''], [false, 'foo', 'Foo'], [false, "foo\n", 'foo'], [true, 'Foo bar', 'Foo bar'], [true, 'Foo bar', new ByteString('Foo bar')], [true, 'Foo bar', new CodePointString('Foo bar')], [true, 'Foo bar', new UnicodeString('Foo bar')], [false, '', [ ]], [false, 'foo', ['bar', 'baz']], [true, 'foo', ['bar', 'foo', 'baz']], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:7791$view = $this->factory->createNamedBuilder('parent', self::TESTED_TYPE, null, ['form_attr' => true, ])->add('child1', $this->getTestedType( ))->add('child2', $this->getTestedType( ))->getForm( )->createView( )
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:1581return [[[ ], [ ]], [['abc' => static::createFromString('foo'), 1, static::createFromString('bar'), 'baz' => true], ['abc' => 'foo', 1, 'bar', 'baz' => true], ], [['a' => ['b' => static::createFromString('c'), [static::createFromString('d')]], static::createFromString('e')], ['a' => ['b' => 'c', ['d']], 'e'], ], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:7941$view = $this->factory->createNamedBuilder('parent', self::TESTED_TYPE)->add('child1', $this->getTestedType( ), ['form_attr' => true, ])->add('child2', $this->getTestedType( ))->getForm( )->createView( )
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:3291return [['hello world', ' ', [static::createFromString('hello'), static::createFromString('world'), ], null, ], ['radar', 'd', [static::createFromString('ra'), static::createFromString('ar'), ], 2, ], ['foo,bar,baz,qux,kix', ',', [static::createFromString('foo'), static::createFromString('bar'), static::createFromString('baz'), static::createFromString('qux'), static::createFromString('kix'), ], null, ], ['foo,bar,baz,qux,kix', ',', [static::createFromString('foo,bar,baz,qux,kix'), ], 1, ], ['foo,bar,baz,qux,kix', ',', [static::createFromString('foo'), static::createFromString('bar'), static::createFromString('baz,qux,kix'), ], 3, ], ['Quisque viverra tincidunt elit. Vestibulum convallis dui nec lacis suscipit cursus.', 'is', [static::createFromString('Qu'), static::createFromString('que viverra tincidunt elit. Vestibulum convall'), static::createFromString(' dui nec lac'), static::createFromString(' suscipit cursus.'), ], null, ], ['foo,,bar, baz , qux,kix', '/\s*,\s*/', [static::createFromString('foo'), static::createFromString(''), static::createFromString('bar'), static::createFromString('baz'), static::createFromString('qux,kix'), ], 5, AbstractString::PREG_SPLIT, ], ['foo ,,bar, baz', '/\s*(,)\s*/', [static::createFromString('foo'), static::createFromString(','), static::createFromString(','), static::createFromString('bar'), static::createFromString(','), static::createFromString('baz'), ], null, AbstractString::PREG_SPLIT_NO_EMPTY | AbstractString::PREG_SPLIT_DELIM_CAPTURE, ], ['foo, bar,baz', '/\s*(,)\s*/', [[static::createFromString('foo'), 0], [static::createFromString('bar'), 5], [static::createFromString('baz'), 9], ], null, AbstractString::PREG_SPLIT_OFFSET_CAPTURE, ], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:8241$view = $this->factory->createNamedBuilder('', self::TESTED_TYPE, null, ['form_attr' => $stringId, ])->add('child1', $this->getTestedType( ))->add('child2', $this->getTestedType( ))->getForm( )->createView( )
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:4591return [['', [ ], 1, ], ['hello', [static::createFromString('h'), static::createFromString('e'), static::createFromString('l'), static::createFromString('l'), static::createFromString('o'), ], 1, ], ['hello you!', [static::createFromString('h'), static::createFromString('e'), static::createFromString('l'), static::createFromString('l'), static::createFromString('o'), static::createFromString(' '), static::createFromString('y'), static::createFromString('o'), static::createFromString('u'), static::createFromString('!'), ], 1, ], ['hell', [static::createFromString('h'), static::createFromString('e'), static::createFromString('l'), static::createFromString('l'), ], 1, ], ['hell', [static::createFromString('he'), static::createFromString('ll'), ], 2, ], [str_repeat('-', 65537), [static::createFromString(str_repeat('-', 65536)), static::createFromString('-'), ], 65536, ], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:8401$view = $this->factory->createNamedBuilder('parent', self::TESTED_TYPE)->add('child1', null, ['priority' => -1])->add('child2')->add('child3', null, ['priority' => -1])->add('child4')->add('child5', null, ['priority' => 1])->add('child6')->getForm( )->createView( )
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:10941return [[false, '', ''], [false, '', 'foo'], [false, 'foo', ''], [false, 'foo', 'o'], [false, 'foo', 'F'], [false, "\nfoo", 'f'], [true, 'foo', 'f'], [true, 'foo', 'fo'], [true, 'foo', new ByteString('f')], [true, 'foo', new CodePointString('f')], [true, 'foo', new UnicodeString('f')], [true, 'foo', ['e', 'f', 'g']], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php:2461$view = $this->factory->create(static::TESTED_TYPE, null, ['placeholder' => ['years' => 'Empty years', 'months' => 'Empty months', 'days' => 'Empty days', 'hours' => 'Empty hours', 'minutes' => 'Empty minutes', 'seconds' => 'Empty seconds', ], 'with_hours' => true, 'with_minutes' => true, 'with_seconds' => true, ])->createView( )
/src/Symfony/Component/Mime/Tests/Encoder/QpMimeHeaderEncoderTest.php:931$allowedBytes = array_merge(range(\ord('a'), \ord('z')), range(\ord('A'), \ord('Z')), range(\ord('0'), \ord('9')), [\ord('!'), \ord('*'), \ord('+'), \ord('-'), \ord('/')])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php:2711$view = $this->factory->create(static::TESTED_TYPE, null, ['required' => false, 'placeholder' => ['years' => 'Empty years', 'days' => 'Empty days', 'hours' => 'Empty hours', 'seconds' => 'Empty seconds', ], 'with_hours' => true, 'with_minutes' => true, 'with_seconds' => true, ])->createView( )
/src/Symfony/Component/Mime/Tests/Part/Multipart/FormDataPartTest.php:531$f = new FormDataPart(['foo' => clone $p1, 'bar' => ['baz' => [clone $p1, 'qux' => clone $p1, ], ], 'quux' => [clone $p1, clone $p1, ], 'quuz' => ['corge' => [clone $p1, clone $p1, ], ], '2' => clone $p1, '0' => clone $p1, 'bar2' => [['baz' => clone $p1], 'baz' => ['qux' => clone $p1, ], ], ['quux2' => clone $p1], ['quux2' => [clone $p1]], 'quuz2' => [['corge' => clone $p1], ['corge' => clone $p1], ], ['2' => clone $p1], ['2' => clone $p1], ['0' => clone $p1], ['0' => clone $p1], ['2[0]' => clone $p1], ['2[1]' => clone $p1], ['0[0]' => clone $p1], ['0[1]' => clone $p1], 'qux' => [['foo' => clone $p1, 'bar' => clone $p1, ], ['foo' => clone $p1, 'bar' => clone $p1, ], ], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php:2951$view = $this->factory->create(static::TESTED_TYPE, null, ['required' => true, 'placeholder' => ['years' => 'Empty years', 'days' => 'Empty days', 'hours' => 'Empty hours', 'seconds' => 'Empty seconds', ], 'with_hours' => true, 'with_minutes' => true, 'with_seconds' => true, ])->createView( )
/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php:8451return [[true, 'string', 'The option "option" with value true is expected to be of type "string", but is of type "bool".'], [false, 'string', 'The option "option" with value false is expected to be of type "string", but is of type "bool".'], [fopen(__FILE__, 'r'), 'string', 'The option "option" with value resource is expected to be of type "string", but is of type "resource (stream)".'], [[ ], 'string', 'The option "option" with value array is expected to be of type "string", but is of type "array".'], [new OptionsResolver( ), 'string', 'The option "option" with value Symfony\Component\OptionsResolver\OptionsResolver is expected to be of type "string", but is of type "Symfony\Component\OptionsResolver\OptionsResolver".'], [42, 'string', 'The option "option" with value 42 is expected to be of type "string", but is of type "int".'], [null, 'string', 'The option "option" with value null is expected to be of type "string", but is of type "null".'], ['bar', '\stdClass', 'The option "option" with value "bar" is expected to be of type "\stdClass", but is of type "string".'], [['foo', 12], 'string[]', 'The option "option" with value array is expected to be of type "string[]", but one of the elements is of type "int".'], [123, ['string[]', 'string'], 'The option "option" with value 123 is expected to be of type "string[]" or "string", but is of type "int".'], [[null], ['string[]', 'string'], 'The option "option" with value array is expected to be of type "string[]" or "string", but one of the elements is of type "null".'], [['string', null], ['string[]', 'string'], 'The option "option" with value array is expected to be of type "string[]" or "string", but one of the elements is of type "null".'], [[\stdClass::class], ['string'], 'The option "option" with value array is expected to be of type "string", but is of type "array".'], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php:3581$form = $this->factory->create(static::TESTED_TYPE, null, ['required' => true, 'with_invert' => true, 'with_hours' => true, 'with_minutes' => true, 'with_seconds' => true, 'labels' => ['invert' => 'form.trans.invert', 'years' => 'form.trans.years', 'months' => 'form.trans.months', 'days' => 'form.trans.days', 'hours' => 'form.trans.hours', 'minutes' => 'form.trans.minutes', 'seconds' => 'form.trans.seconds', ], ])
/src/Symfony/Component/String/AbstractUnicodeString.php:631$string .= \chr(0xF0 | $code >> 18) . \chr(0x80 | $code >> 12 & 0x3F) . \chr(0x80 | $code >> 6 & 0x3F) . \chr(0x80 | $code & 0x3F)
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php:4241$view = $this->factory->create(static::TESTED_TYPE, null, ['required' => false, 'placeholder' => ['year' => 'Empty year', 'day' => 'Empty day', 'hour' => 'Empty hour', 'second' => 'Empty second', ], 'with_seconds' => true, 'widget' => 'choice', ])->createView( )
/src/Symfony/Component/Mime/Tests/Crypto/SMimeEncrypterTest.php:264$message = (new Email( ))->date(new \DateTimeImmutable('2019-04-07 10:36:30', new \DateTimeZone('Europe/Paris')))->to('fabien@symfony.com')->subject('Testing')->from('noreply@example.com')->text('El Barto was not here')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php:4471$view = $this->factory->create(static::TESTED_TYPE, null, ['required' => true, 'placeholder' => ['year' => 'Empty year', 'day' => 'Empty day', 'hour' => 'Empty hour', 'second' => 'Empty second', ], 'with_seconds' => true, 'widget' => 'choice', ])->createView( )
/src/Symfony/Component/Mime/Tests/Crypto/SMimeEncrypterTest.php:431$message = (new Email( ))->date(new \DateTimeImmutable('2019-04-07 10:36:30', new \DateTimeZone('Europe/Paris')))->to('fabien@symfony.com')->bcc('luna@symfony.com')->subject('Testing')->from('noreply@example.com')->text('El Barto was not here')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php:6291$form = $this->factory->create(static::TESTED_TYPE, null, ['choice_translation_domain' => ['year' => 'foo', 'month' => 'test', 'hour' => 'foo', 'second' => 'test', ], 'with_seconds' => true, 'widget' => 'choice', ])
/src/Symfony/Component/Mime/Tests/Crypto/SMimeEncrypterTest.php:644$message = (new Email( ))->date(new \DateTimeImmutable('2019-04-07 10:36:30', new \DateTimeZone('Europe/Paris')))->to('fabien@symfony.com')->subject('Testing')->from('noreply@example.com')->text('El Barto was not here')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php:7281return ['Simple field' => ['single_text', '2018-11-11T21:23', $expectedData], 'Compound text field' => ['text', ['date' => ['year' => '2018', 'month' => '11', 'day' => '11'], 'time' => ['hour' => '21', 'minute' => '23']], $expectedData], 'Compound choice field' => ['choice', ['date' => ['year' => '2018', 'month' => '11', 'day' => '11'], 'time' => ['hour' => '21', 'minute' => '23']], $expectedData], 'Simple field lazy' => ['single_text', $lazyEmptyData, $expectedData], 'Compound text field lazy' => ['text', $lazyEmptyData, $expectedData], 'Compound choice field lazy' => ['choice', $lazyEmptyData, $expectedData], ]
/src/Symfony/Component/Mime/Tests/Crypto/SMimeEncrypterTest.php:711$message2 = (new Email( ))->date(new \DateTimeImmutable('2019-04-07 10:36:30', new \DateTimeZone('Europe/Paris')))->to('luna@symfony.com')->subject('Testing')->from('noreply@example.com')->text('El Barto was not here')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:1291$view = $this->factory->createNamedBuilder('parent', static::TESTED_TYPE)->add('child', static::TESTED_TYPE, ['attr' => ['readonly' => true]])->getForm( )->createView( )
/src/Symfony/Component/Mime/Tests/Crypto/SMimeSignerTest.php:1011$message = (new Email( ))->date(new \DateTimeImmutable('2019-04-07 10:36:30', new \DateTimeZone('Europe/Paris')))->to('fabien@symfony.com')->addBcc('fabien@symfony.com', 's.stok@rollerscapes.net')->subject('I am your sign of fear')->from('noreply@example.com')->text('El Barto was not here')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:1191$view = $this->factory->createNamedBuilder('parent', static::TESTED_TYPE, null, ['attr' => ['readonly' => true]])->add('child', static::TESTED_TYPE)->getForm( )->createView( )
/src/Symfony/Component/Mime/Tests/Crypto/SMimeSignerTest.php:794$message = (new Email( ))->date(new \DateTimeImmutable('2019-04-07 10:36:30', new \DateTimeZone('Europe/Paris')))->to('fabien@symfony.com')->subject('Testing')->from('noreply@example.com')->text('El Barto was not here')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:2171$form = $this->factory->createBuilder(static::TESTED_TYPE, null, ['data' => $defaultAuthor, 'required' => false, ])->add('firstName', TextTypeTest::TESTED_TYPE)->add('lastName', TextTypeTest::TESTED_TYPE)->getForm( )
/src/Symfony/Component/Mime/Tests/Crypto/DkimSignerTest.php:531$message = (new Email( ))->from(new Address('fabien@testdkim.symfony.net', 'Fabién'))->to('fabien.potencier@gmail.com')->subject('Tést')->text("Some body \n \n This \r\n\r\n is really interesting and at the same time very long line to see if everything works as expected, does it?\r\n\r\n\r\n\r\n")->date(new \DateTimeImmutable('2005-10-15', new \DateTimeZone('Europe/Paris')))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:1942$form = $this->factory->createBuilder(static::TESTED_TYPE, null, ['data_class' => 'Symfony\Component\Form\Tests\Fixtures\Author', 'required' => false, ])->add('firstName', TextTypeTest::TESTED_TYPE)->add('lastName', TextTypeTest::TESTED_TYPE)->getForm( )
/src/Symfony/Component/Mime/Tests/Crypto/SMimeSignerTest.php:1171$message = new Email((new Headers( ))->addDateHeader('Date', new \DateTimeImmutable('2019-04-07 10:36:30', new \DateTimeZone('Europe/Paris')))->addMailboxListHeader('From', ['fabien@symfony.com'])->addMailboxListHeader('To', ['fabien@symfony.com']))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ButtonTypeTest.php:591$view = $this->factory->createNamedBuilder('parent')->add('child1', $this->getTestedType( ), ['form_attr' => true, ])->add('child2', $this->getTestedType( ))->getForm( )->createView( )
/src/Symfony/Component/Mime/Crypto/DkimSigner.php:911$params = ['v' => '1', 'q' => 'dns/txt', 'a' => $options['algorithm'], 'bh' => base64_encode($bodyHash), 'd' => $this->domainName, 'h' => implode(': ', $signedHeaderNames), 'i' => '@' . $this->domainName, 's' => $this->selector, 't' => time( ), 'c' => $options['header_canon'] . '/' . $options['body_canon'], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ButtonTypeTest.php:441$view = $this->factory->createNamedBuilder('parent', FormType::class, null, ['form_attr' => true, ])->add('child1', $this->getTestedType( ))->add('child2', $this->getTestedType( ))->getForm( )->createView( )
/src/Symfony/Component/Mime/Crypto/DkimSigner.php:501$this->defaultOptions = $defaultOptions + ['algorithm' => self::ALGO_SHA256, 'signature_expiration_delay' => 0, 'body_max_length' => \PHP_INT_MAX, 'body_show_length' => false, 'header_canon' => self::CANON_RELAXED, 'body_canon' => self::CANON_RELAXED, 'headers_to_ignore' => [ ], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:1031$form = $this->factory->createBuilder(static::TESTED_TYPE, null, ['trim' => false])->addViewTransformer(new FixedDataTransformer(['' => '', 'reverse[ a ]' => ' a ', ]))->setCompound(false)->getForm( )
/src/Symfony/Component/Mime/Tests/Crypto/SMimeSignerTest.php:444$message = (new Email( ))->date(new \DateTimeImmutable('2019-04-07 10:36:30', new \DateTimeZone('Europe/Paris')))->to('fabien@symfony.com')->subject('Testing')->from('noreply@example.com')->text('El Barto was not here')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ButtonTypeTest.php:891$view = $this->factory->createNamedBuilder('', FormType::class, null, ['form_attr' => $stringId, ])->add('child1', $this->getTestedType( ))->add('child2', $this->getTestedType( ))->getForm( )->createView( )
/src/Symfony/Component/Mime/Tests/RawMessageTest.php:801return ['string' => ['some string', true], 'traversable' => [new \ArrayObject(['some', ' ', 'string']), true], 'array' => [['some', ' ', 'string'], true], 'generator' => [(function ( ) { /**/ } )( ), false], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:7291$view = $this->factory->createNamedBuilder('parent', self::TESTED_TYPE, null, ['help_translation_parameters' => ['%param%' => 'value'], ])->add('child', $this->getTestedType( ))->getForm( )->createView( )
/src/Symfony/Component/Mime/MessageConverter.php:701return (new Email(clone $message->getHeaders( )))->text($part->getBody( ), $part->getPreparedHeaders( )->getHeaderParameter('Content-Type', 'charset') ?: 'utf-8')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:6971$view = $this->factory->createNamedBuilder('parent', static::TESTED_TYPE)->add('child', $this->getTestedType( ), ['block_prefix' => 'child', ])->getForm( )->createView( )
/src/Symfony/Component/Yaml/Tests/InlineTest.php:4891return [['null', null], ['false', false], ['true', true], ['12', 12], ["'1_2'", '1_2'], ['_12', '_12'], ["'12_'", '12_'], ["'quoted string'", 'quoted string'], ['1230.0', 12.30e+02], ['1.23E+45', 12.30e+44], ['1234', 0x4D2], ['1243', 02333], ["'0x_4_D_2_'", '0x_4_D_2_'], ["'0_2_3_3_3'", '0_2_3_3_3'], ['.Inf', -log(0)], ['-.Inf', log(0)], ["'686e444'", '686e444'], ['"foo\r\nbar"', "foo\r\nbar"], ["'foo#bar'", 'foo#bar'], ["'foo # bar'", 'foo # bar'], ["'#cfcfcf'", '#cfcfcf'], ["\"isn't it a nice single quote\"", "isn't it a nice single quote"], ['\'this is "double quoted"\'', 'this is "double quoted"'], ["\"one double, four single quotes: \\\"''''\"", 'one double, four single quotes: "\'\'\'\''], ['\'four double, one single quote: """"\'\'\'', 'four double, one single quote: """"\''], ["'a \"string\" with ''quoted strings inside'''", 'a "string" with \'quoted strings inside\''], ["'-dash'", '-dash'], ["'-'", '-'], ["'y'", 'y'], ["'n'", 'n'], ["'yes'", 'yes'], ["'no'", 'no'], ["'on'", 'on'], ["'off'", 'off'], ['[foo, bar, false, null, 12]', ['foo', 'bar', false, null, 12]], ['[\'foo,bar\', \'foo bar\']', ['foo,bar', 'foo bar']], ['{ foo: bar, bar: foo, \'false\': false, \'null\': null, integer: 12 }', ['foo' => 'bar', 'bar' => 'foo', 'false' => false, 'null' => null, 'integer' => 12]], ['{ foo: bar, bar: \'foo: bar\' }', ['foo' => 'bar', 'bar' => 'foo: bar']], ['[foo, [bar, foo]]', ['foo', ['bar', 'foo']]], ['[foo, [bar, [foo, [bar, foo]], foo]]', ['foo', ['bar', ['foo', ['bar', 'foo']], 'foo']]], ['{ foo: { bar: foo } }', ['foo' => ['bar' => 'foo']]], ['[foo, { bar: foo }]', ['foo', ['bar' => 'foo']]], ['[foo, { bar: foo, foo: [foo, { bar: foo }] }, [foo, { bar: foo }]]', ['foo', ['bar' => 'foo', 'foo' => ['foo', ['bar' => 'foo']]], ['foo', ['bar' => 'foo']]]], ['[foo, \'@foo.baz\', { \'%foo%\': \'foo is %foo%\', bar: \'%foo%\' }, true, \'@service_container\']', ['foo', '@foo.baz', ['%foo%' => 'foo is %foo%', 'bar' => '%foo%'], true, '@service_container']], ['{ foo: { bar: { 1: 2, baz: 3 } } }', ['foo' => ['bar' => [1 => 2, 'baz' => 3]]]], ["'0123 '", '0123 '], ['"0123\f"', "0123\f"], ['"0123\n"', "0123\n"], ['"0123\r"', "0123\r"], ['"0123\t"', "0123\t"], ['"0123\v"', "0123\v"], 'ideographic space' => ["' '", ' '], 'ideographic space surrounded by characters' => ["'a b'", 'a b'], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:7571$form = $this->factory->createNamedBuilder('form', self::TESTED_TYPE)->add($this->factory->createNamedBuilder('inherit_data_type', self::TESTED_TYPE, null, ['inherit_data' => true, ])->add('child', self::TESTED_TYPE, ['compound' => false, 'error_bubbling' => true, ]))->getForm( )
/src/Symfony/Component/Mime/MessageConverter.php:871return (new Email(clone $message->getHeaders( )))->text($parts[0]->getBody( ), $parts[0]->getPreparedHeaders( )->getHeaderParameter('Content-Type', 'charset') ?: 'utf-8')->html($parts[1]->getBody( ), $parts[1]->getPreparedHeaders( )->getHeaderParameter('Content-Type', 'charset') ?: 'utf-8')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:7421$view = $this->factory->createNamedBuilder('parent', self::TESTED_TYPE, null, ['help_translation_parameters' => ['%parent_param%' => 'parent_value', '%override_param%' => 'parent_override_value'], ])->add('child', $this->getTestedType( ), ['help_translation_parameters' => ['%override_param%' => 'child_value'], ])->getForm( )->createView( )
/src/Symfony/Component/Mime/MessageConverter.php:731return (new Email(clone $message->getHeaders( )))->html($part->getBody( ), $part->getPreparedHeaders( )->getHeaderParameter('Content-Type', 'charset') ?: 'utf-8')
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:2721$form = $this->factory->createBuilder(static::TESTED_TYPE, null, ['data_class' => 'Symfony\Component\Form\Tests\Fixtures\Author', 'required' => true, ])->add('firstName', TextTypeTest::TESTED_TYPE)->add('lastName', TextTypeTest::TESTED_TYPE)->getForm( )
/src/Symfony/Component/Yaml/Tests/ParserTest.php:25351$expected = (object) ['foo' => (object) ['bar' => 1, ], 'bar' => (object) ['baz' => 2, 'bar' => 1, ], 'baz' => (object) ['baz_foo' => 3, 'baz_bar' => 4, ], 'foobar' => (object) ['bar' => null, 'baz' => 2, ], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:2552$form = $this->factory->createBuilder(static::TESTED_TYPE, null, ['data_class' => 'Symfony\Component\Form\Tests\Fixtures\Author', 'required' => false, ])->add('firstName', TextTypeTest::TESTED_TYPE)->add('lastName', TextTypeTest::TESTED_TYPE)->getForm( )
/src/Symfony/Component/Yaml/Tests/ParserTest.php:22471return ['scalars' => [['foo' => new TaggedValue('inline', 'bar'), 'quz' => new TaggedValue('long', 'this is a long text'), ], <<<YAML foo: !inline bar quz: !long > this is a long text YAML], 'sequences' => [[new TaggedValue('foo', ['yaml']), new TaggedValue('quz', ['bar'])], <<<YAML - !foo - yaml - !quz [bar] YAML], 'mappings' => [new TaggedValue('foo', ['foo' => new TaggedValue('quz', ['bar']), 'quz' => new TaggedValue('foo', ['quz' => 'bar'])]), <<<YAML !foo foo: !quz [bar] quz: !foo quz: bar YAML], 'inline' => [[new TaggedValue('foo', ['foo', 'bar']), new TaggedValue('quz', ['foo' => 'bar', 'quz' => new TaggedValue('bar', ['one' => 'bar'])])], <<<YAML - !foo [foo, bar] - !quz {foo: bar, quz: !bar {one: bar}} YAML], 'spaces-around-tag-value-in-sequence' => [[new TaggedValue('foo', 'bar')], '[ !foo bar ]', ], 'with-comments' => [[[new TaggedValue('foo', ['foo', 'baz'])], ], <<<YAML - [!foo [ foo, baz #bar ]] YAML], 'with-comments-trailing-comma' => [[[new TaggedValue('foo', ['foo', 'baz'])], ], <<<YAML - [!foo [ foo, baz, #bar ]] YAML], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:6381$view = $this->factory->createBuilder(static::TESTED_TYPE)->addModelTransformer(new FixedDataTransformer(['foo' => 'bar', ]))->addViewTransformer(new FixedDataTransformer(['bar' => 'baz', ]))->setData('foo')->getForm( )->createView( )
/src/Symfony/Component/Yaml/Tests/InlineTest.php:4081return [['', ''], ['null', null], ['false', false], ['true', true], ['12', 12], ['-12', -12], ['"quoted string"', 'quoted string'], ["'quoted string'", 'quoted string'], ['12.30e+02', 12.30e+02], ['0x4D2', 0x4D2], ['0o2333', 02333], ['.Inf', -log(0)], ['-.Inf', log(0)], ["'686e444'", '686e444'], ['686e444', 646e444], ['123456789123456789123456789123456789', '123456789123456789123456789123456789'], ['"foo\r\nbar"', "foo\r\nbar"], ["'foo#bar'", 'foo#bar'], ["'foo # bar'", 'foo # bar'], ["'#cfcfcf'", '#cfcfcf'], ['::form_base.html.twig', '::form_base.html.twig'], ['2007-10-30', gmmktime(0, 0, 0, 10, 30, 2007)], ['2007-10-30T02:59:43Z', gmmktime(2, 59, 43, 10, 30, 2007)], ['2007-10-30 02:59:43 Z', gmmktime(2, 59, 43, 10, 30, 2007)], ['1960-10-30 02:59:43 Z', gmmktime(2, 59, 43, 10, 30, 1960)], ['1730-10-30T02:59:43Z', \PHP_INT_SIZE === 4 ? '-7547547617' : gmmktime(2, 59, 43, 10, 30, 1730)], ['"a \\"string\\" with \'quoted strings inside\'"', 'a "string" with \'quoted strings inside\''], ["'a \"string\" with ''quoted strings inside'''", 'a "string" with \'quoted strings inside\''], ['[foo, http://urls.are/no/mappings, false, null, 12]', ['foo', 'http://urls.are/no/mappings', false, null, 12]], ['[ foo , bar , false , null , 12 ]', ['foo', 'bar', false, null, 12]], ['[\'foo,bar\', \'foo bar\']', ['foo,bar', 'foo bar']], ['{foo: bar,bar: foo,"false": false,"null": null,integer: 12}', (object) ['foo' => 'bar', 'bar' => 'foo', 'false' => false, 'null' => null, 'integer' => 12], Yaml::PARSE_OBJECT_FOR_MAP], ['{ foo : bar, bar : foo, "false" : false, "null" : null, integer : 12 }', (object) ['foo' => 'bar', 'bar' => 'foo', 'false' => false, 'null' => null, 'integer' => 12], Yaml::PARSE_OBJECT_FOR_MAP], ['{foo: \'bar\', bar: \'foo: bar\'}', (object) ['foo' => 'bar', 'bar' => 'foo: bar']], ['{\'foo\': \'bar\', "bar": \'foo: bar\'}', (object) ['foo' => 'bar', 'bar' => 'foo: bar']], ['{\'foo\'\'\': \'bar\', "bar\"": \'foo: bar\'}', (object) ['foo\'' => 'bar', 'bar"' => 'foo: bar']], ['{\'foo: \': \'bar\', "bar: ": \'foo: bar\'}', (object) ['foo: ' => 'bar', 'bar: ' => 'foo: bar']], ['{"foo:bar": "baz"}', (object) ['foo:bar' => 'baz']], ['{"foo":"bar"}', (object) ['foo' => 'bar']], ['[foo, [bar, foo]]', ['foo', ['bar', 'foo']]], ['[foo, {bar: foo}]', ['foo', (object) ['bar' => 'foo']]], ['{ foo: {bar: foo} }', (object) ['foo' => (object) ['bar' => 'foo']]], ['{ foo: [bar, foo] }', (object) ['foo' => ['bar', 'foo']]], ['[ foo, [ bar, foo ] ]', ['foo', ['bar', 'foo']]], ['[{ foo: {bar: foo} }]', [(object) ['foo' => (object) ['bar' => 'foo']]]], ['[foo, [bar, [foo, [bar, foo]], foo]]', ['foo', ['bar', ['foo', ['bar', 'foo']], 'foo']]], ['[foo, {bar: foo, foo: [foo, {bar: foo}]}, [foo, {bar: foo}]]', ['foo', (object) ['bar' => 'foo', 'foo' => ['foo', (object) ['bar' => 'foo']]], ['foo', (object) ['bar' => 'foo']]]], ['[foo, bar: { foo: bar }]', ['foo', '1' => (object) ['bar' => (object) ['foo' => 'bar']]]], ['[foo, \'@foo.baz\', { \'%foo%\': \'foo is %foo%\', bar: \'%foo%\' }, true, \'@service_container\']', ['foo', '@foo.baz', (object) ['%foo%' => 'foo is %foo%', 'bar' => '%foo%'], true, '@service_container']], ['{}', new \stdClass( )], ['{ foo : bar, bar : {} }', (object) ['foo' => 'bar', 'bar' => new \stdClass( )]], ['{ foo : [], bar : {} }', (object) ['foo' => [ ], 'bar' => new \stdClass( )]], ['{foo: \'bar\', bar: {} }', (object) ['foo' => 'bar', 'bar' => new \stdClass( )]], ['{\'foo\': \'bar\', "bar": {}}', (object) ['foo' => 'bar', 'bar' => new \stdClass( )]], ['{\'foo\': \'bar\', "bar": \'{}\'}', (object) ['foo' => 'bar', 'bar' => '{}']], ['[foo, [{}, {}]]', ['foo', [new \stdClass( ), new \stdClass( )]]], ['[foo, [[], {}]]', ['foo', [[ ], new \stdClass( )]]], ['[foo, [[{}, {}], {}]]', ['foo', [[new \stdClass( ), new \stdClass( )], new \stdClass( )]]], ['[foo, {bar: {}}]', ['foo', '1' => (object) ['bar' => new \stdClass( )]]], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php:4821$view = $this->factory->createBuilder(static::TESTED_TYPE)->add('foo', TextTypeTest::TESTED_TYPE)->add('bar', FileTypeTest::TESTED_TYPE)->getForm( )->createView( )
/src/Symfony/Component/Yaml/Tests/InlineTest.php:3191return [['', ''], ['null', null], ['false', false], ['true', true], ['12', 12], ['-12', -12], ['1_2', 12], ['_12', '_12'], ['12_', 12], ['"quoted string"', 'quoted string'], ["'quoted string'", 'quoted string'], ['1234.0', 1234.0], ['12.30e+02', 12.30e+02], ['123.45_67', 123.4567], ['0x4D2', 0x4D2], ['0x_4_D_2_', 0x4D2], ['0o2333', 02333], ['0o_2_3_3_3', 02333], ['.Inf', -log(0)], ['-.Inf', log(0)], ["'686e444'", '686e444'], ['686e444', 646e444], ['123456789123456789123456789123456789', '123456789123456789123456789123456789'], ['"foo\r\nbar"', "foo\r\nbar"], ["'foo#bar'", 'foo#bar'], ["'foo # bar'", 'foo # bar'], ["'#cfcfcf'", '#cfcfcf'], ['::form_base.html.twig', '::form_base.html.twig'], ["'y'", 'y'], ["'n'", 'n'], ["'yes'", 'yes'], ["'no'", 'no'], ["'on'", 'on'], ["'off'", 'off'], ['2007-10-30', gmmktime(0, 0, 0, 10, 30, 2007)], ['2007-10-30T02:59:43Z', gmmktime(2, 59, 43, 10, 30, 2007)], ['2007-10-30 02:59:43 Z', gmmktime(2, 59, 43, 10, 30, 2007)], ['1960-10-30 02:59:43 Z', gmmktime(2, 59, 43, 10, 30, 1960)], ['1730-10-30T02:59:43Z', \PHP_INT_SIZE === 4 ? '-7547547617' : gmmktime(2, 59, 43, 10, 30, 1730)], ['"a \\"string\\" with \'quoted strings inside\'"', 'a "string" with \'quoted strings inside\''], ["'a \"string\" with ''quoted strings inside'''", 'a "string" with \'quoted strings inside\''], ['[foo, http://urls.are/no/mappings, false, null, 12]', ['foo', 'http://urls.are/no/mappings', false, null, 12]], ['[ foo , bar , false , null , 12 ]', ['foo', 'bar', false, null, 12]], ['[\'foo,bar\', \'foo bar\']', ['foo,bar', 'foo bar']], ['{foo: bar,bar: foo,"false": false, "null": null,integer: 12}', ['foo' => 'bar', 'bar' => 'foo', 'false' => false, 'null' => null, 'integer' => 12]], ['{ foo : bar, bar : foo, "false" : false, "null" : null, integer : 12 }', ['foo' => 'bar', 'bar' => 'foo', 'false' => false, 'null' => null, 'integer' => 12]], ['{foo: \'bar\', bar: \'foo: bar\'}', ['foo' => 'bar', 'bar' => 'foo: bar']], ['{\'foo\': \'bar\', "bar": \'foo: bar\'}', ['foo' => 'bar', 'bar' => 'foo: bar']], ['{\'foo\'\'\': \'bar\', "bar\"": \'foo: bar\'}', ['foo\'' => 'bar', 'bar"' => 'foo: bar']], ['{\'foo: \': \'bar\', "bar: ": \'foo: bar\'}', ['foo: ' => 'bar', 'bar: ' => 'foo: bar']], ['{"foo:bar": "baz"}', ['foo:bar' => 'baz']], ['{"foo":"bar"}', ['foo' => 'bar']], ['[foo, [bar, foo]]', ['foo', ['bar', 'foo']]], ['[foo, {bar: foo}]', ['foo', ['bar' => 'foo']]], ['{ foo: {bar: foo} }', ['foo' => ['bar' => 'foo']]], ['{ foo: [bar, foo] }', ['foo' => ['bar', 'foo']]], ['{ foo:{bar: foo} }', ['foo' => ['bar' => 'foo']]], ['{ foo:[bar, foo] }', ['foo' => ['bar', 'foo']]], ['[ foo, [ bar, foo ] ]', ['foo', ['bar', 'foo']]], ['[{ foo: {bar: foo} }]', [['foo' => ['bar' => 'foo']]]], ['[foo, [bar, [foo, [bar, foo]], foo]]', ['foo', ['bar', ['foo', ['bar', 'foo']], 'foo']]], ['[foo, {bar: foo, foo: [foo, {bar: foo}]}, [foo, {bar: foo}]]', ['foo', ['bar' => 'foo', 'foo' => ['foo', ['bar' => 'foo']]], ['foo', ['bar' => 'foo']]]], ['[foo, bar: { foo: bar }]', ['foo', '1' => ['bar' => ['foo' => 'bar']]]], ['[foo, \'@foo.baz\', { \'%foo%\': \'foo is %foo%\', bar: \'%foo%\' }, true, \'@service_container\']', ['foo', '@foo.baz', ['%foo%' => 'foo is %foo%', 'bar' => '%foo%'], true, '@service_container']], ['{ uid: !!binary Ju0Yh+uqSXOagJZFTlUt8g== }', ['uid' => hex2bin('26ed1887ebaa49739a8096454e552df2')]], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:2431$form = $this->factory->create(static::TESTED_TYPE, $input, ['format' => \IntlDateFormatter::MEDIUM, 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'array', 'widget' => 'single_text', ])
/src/Symfony/Component/Routing/Generator/Dumper/CompiledUrlGeneratorDumper.php:771$compiledAliases[$name] = [$compiledTarget->getVariables( ), $target->getDefaults( ), $target->getRequirements( ), $compiledTarget->getTokens( ), $compiledTarget->getHostTokens( ), $target->getSchemes( ), $deprecations, ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:5101$form = $this->factory->create(static::TESTED_TYPE, null, ['format' => \IntlDateFormatter::MEDIUM, 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'America/New_York', 'input' => 'string', 'widget' => 'single_text', ])
/src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerAllTest.php:221return new HtmlSanitizer((new HtmlSanitizerConfig( ))->allowStaticElements( )->allowLinkHosts(['trusted.com', 'external.com'])->allowMediaHosts(['trusted.com', 'external.com'])->allowRelativeLinks( )->allowRelativeMedias( )->forceHttpsUrls( ))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:1811$form = $this->factory->create(static::TESTED_TYPE, null, ['format' => \IntlDateFormatter::MEDIUM, 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'widget' => 'single_text', 'input' => 'timestamp', ])
/src/Symfony/Component/Routing/Generator/UrlGenerator.php:3431return '' === $path || '/' === $path[0] || false !== ($colonPos = strpos($path, ':')) && ($colonPos < ($slashPos = strpos($path, '/')) || false === $slashPos) ? "./$path" : $path
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:2091$form = $this->factory->create(static::TESTED_TYPE, null, ['format' => \IntlDateFormatter::MEDIUM, 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'widget' => 'single_text', 'input' => 'array', ])
/src/Symfony/Component/Routing/Generator/Dumper/CompiledUrlGeneratorDumper.php:331$compiledRoutes[$name] = [$compiledRoute->getVariables( ), $route->getDefaults( ), $route->getRequirements( ), $compiledRoute->getTokens( ), $compiledRoute->getHostTokens( ), $route->getSchemes( ), [ ], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:1281$form = $this->factory->create(static::TESTED_TYPE, null, ['format' => \IntlDateFormatter::MEDIUM, 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'widget' => 'single_text', 'input' => 'datetime_immutable', ])
/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherDumper.php:2221$compiledRoutes[$url][] = $this->compileRoute($route, $name, (!$route->compile( )->getHostVariables( ) ? $route->getHost( ) : $route->compile( )->getHostRegex( )) ?: null, $hasTrailingSlash, false, $conditions)
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:1551$form = $this->factory->create(static::TESTED_TYPE, null, ['format' => \IntlDateFormatter::MEDIUM, 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'widget' => 'single_text', 'input' => 'string', ])
/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherDumper.php:4321return [['_route' => $name] + $defaults, $vars, array_flip($route->getMethods( )) ?: null, array_flip($route->getSchemes( )) ?: null, $hasTrailingSlash, $hasTrailingVar, $condition, ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/RepeatedTypeTest.php:561$form = $this->factory->create(static::TESTED_TYPE, null, ['type' => TextTypeTest::TESTED_TYPE, 'first_options' => ['label' => 'Test', 'required' => false], 'second_options' => ['label' => 'Test2'], ])
/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php:1411return ['null' => ['', 'foo', null], 'string' => ['?foo=bar', 'foo', 'bar'], 'boolean-false' => ['?foo=0', 'foo', false], 'boolean-true' => ['?foo=1', 'foo', true], 'object implementing __toString()' => ['?foo=bar', 'foo', new StringableObject( )], 'object implementing __toString() but has public property' => ['?foo%5Bfoo%5D=property', 'foo', new StringableObjectWithPublicProperty( )], 'object implementing __toString() in nested array' => ['?foo%5Bbaz%5D=bar', 'foo', ['baz' => new StringableObject( )]], 'object implementing __toString() in nested array but has public property' => ['?foo%5Bbaz%5D%5Bfoo%5D=property', 'foo', ['baz' => new StringableObjectWithPublicProperty( )]], 'stdClass' => ['?foo%5Bbaz%5D=bar', 'foo', $stdClass], 'stdClass in nested stdClass' => ['?foo%5Bnested%5D%5Bbaz%5D=bar', 'foo', $nestedStdClass], 'non stringable object' => ['', 'foo', new NonStringableObject( )], 'non stringable object but has public property' => ['?foo%5Bfoo%5D=property', 'foo', new NonStringableObjectWithPublicProperty( )], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:1021$form = $this->factory->create(static::TESTED_TYPE, null, ['format' => \IntlDateFormatter::MEDIUM, 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'widget' => 'single_text', 'input' => 'datetime', ])
/src/Symfony/Component/Routing/Matcher/UrlMatcher.php:2611return Request::create($this->context->getScheme( ) . '://' . $this->context->getHost( ) . $this->context->getBaseUrl( ) . $pathinfo, $this->context->getMethod( ), $this->context->getParameters( ), [ ], [ ], ['SCRIPT_FILENAME' => $this->context->getBaseUrl( ), 'SCRIPT_NAME' => $this->context->getBaseUrl( ), ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:3161$form = $this->factory->create(static::TESTED_TYPE, false, ['multiple' => false, 'expanded' => true, 'required' => false, 'choices' => ['Yes' => true, 'No' => false, ], 'placeholder' => 'Select an option', ])
/src/Symfony/Component/Routing/Tests/RouteTest.php:3591return [[new Route('/foo')], [(new Route('/foo'))->setDefault('_locale', 'en')], [(new Route('/foo'))->setDefault('_locale', 'en')->setDefault('_canonical_route', 'foo')], [(new Route('/foo'))->setDefault('_locale', 'en')->setDefault('_canonical_route', 'foo')->setRequirement('_locale', 'foobar')], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:3651$form = $this->factory->create(static::TESTED_TYPE, null, ['expanded' => true, 'choices' => ['Symfony' => [$obj1, $obj2, $obj3], 'Doctrine' => [$obj4, $obj5], ], 'choice_name' => 'id', ])
/src/Symfony/Component/Routing/Tests/Matcher/Dumper/CompiledUrlMatcherDumperTest.php:4611return [[new RouteCollection( ), 'compiled_url_matcher0.php'], [$collection, 'compiled_url_matcher1.php'], [$redirectCollection, 'compiled_url_matcher2.php'], [$rootprefixCollection, 'compiled_url_matcher3.php'], [$headMatchCasesCollection, 'compiled_url_matcher4.php'], [$groupOptimisedCollection, 'compiled_url_matcher5.php'], [$trailingSlashCollection, 'compiled_url_matcher6.php'], [$trailingSlashCollection, 'compiled_url_matcher7.php'], [$unicodeCollection, 'compiled_url_matcher8.php'], [$hostTreeCollection, 'compiled_url_matcher9.php'], [$chunkedCollection, 'compiled_url_matcher10.php'], [$demoCollection, 'compiled_url_matcher11.php'], [$suffixCollection, 'compiled_url_matcher12.php'], [$hostCollection, 'compiled_url_matcher13.php'], [$fixedLocaleCollection, 'compiled_url_matcher14.php'], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:2721$view = $this->factory->create(static::TESTED_TYPE, false, ['multiple' => false, 'expanded' => false, 'required' => false, 'choices' => ['Yes' => true, 'No' => false, ], 'placeholder' => 'Select an option', ])->createView( )
/src/Symfony/Component/Routing/CompiledRoute.php:541return ['vars' => $this->variables, 'path_prefix' => $this->staticPrefix, 'path_regex' => $this->regex, 'path_tokens' => $this->tokens, 'path_vars' => $this->pathVariables, 'host_regex' => $this->hostRegex, 'host_tokens' => $this->hostTokens, 'host_vars' => $this->hostVariables, ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:2921$form = $this->factory->create(static::TESTED_TYPE, null, ['multiple' => false, 'expanded' => true, 'required' => false, 'choices' => ['Yes' => true, 'No' => false, ], 'placeholder' => 'Select an option', ])
/src/Symfony/Component/Routing/Route.php:631return ['path' => $this->path, 'host' => $this->host, 'defaults' => $this->defaults, 'requirements' => $this->requirements, 'options' => $this->options, 'schemes' => $this->schemes, 'methods' => $this->methods, 'condition' => $this->condition, 'compiled' => $this->compiled, ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:711$this->objectChoices = [(object) ['id' => 1, 'name' => 'Bernhard'], (object) ['id' => 2, 'name' => 'Fabien'], (object) ['id' => 3, 'name' => 'Kris'], (object) ['id' => 4, 'name' => 'Jon'], (object) ['id' => 5, 'name' => 'Roman'], ]
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:5081return array_merge(parent::provideReplaceIgnoreCase( ), [['ΣΣΣ', 3, 'σσσ', 'σ', 'Σ'], ['ΣΣΣ', 3, 'σσσ', 'ς', 'Σ'], ['Σσ', 1, 'σσσ', 'σσ', 'Σ'], ['漢字はユニコード', 0, '漢字はユニコード', 'foo', 'bar'], ['漢字ーユニコード', 1, '漢字はユニコード', 'は', 'ー'], ['This is a jamais-vu situation!', 1, 'This is a déjà-vu situation!', 'DÉjÀ', 'jamais'], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:2521$view = $this->factory->create(static::TESTED_TYPE, null, ['multiple' => false, 'expanded' => false, 'required' => false, 'choices' => ['Yes' => true, 'No' => false, ], 'placeholder' => 'Select an option', ])->createView( )
/src/Symfony/Component/String/Tests/FunctionsTest.php:351return [[new UnicodeString(''), ''], [new UnicodeString(''), null], [new UnicodeString('foo'), 'foo'], [new UnicodeString('अनुच्छेद'), 'अनुच्छेद'], [new ByteString("b\x80ar"), "b\x80ar"], [new ByteString("\xfe\xff"), "\xfe\xff"], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:5331$form = $this->factory->create(static::TESTED_TYPE, null, ['format' => \IntlDateFormatter::MEDIUM, 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'America/New_York', 'input' => 'datetime', 'widget' => 'single_text', ])
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:4481return array_merge(parent::provideBeforeAfterLast( ), [['déjàdéjà', 'Ç', 'déjàdéjà', 0, false], ['déjàdéjà', 'Ç', 'déjàdéjà', 0, true], ['éjà', 'é', 'déjàdéjà', 0, false], ['déjàd', 'é', 'déjàdéjà', 0, true], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php:11131return ['Simple field' => ['single_text', '2018-11-11', $expectedData], 'Compound text fields' => ['text', ['year' => '2018', 'month' => '11', 'day' => '11'], $expectedData], 'Compound choice fields' => ['choice', ['year' => '2018', 'month' => '11', 'day' => '11'], $expectedData], 'Simple field lazy' => ['single_text', $lazyEmptyData, $expectedData], 'Compound text fields lazy' => ['text', $lazyEmptyData, $expectedData], 'Compound choice fields lazy' => ['choice', $lazyEmptyData, $expectedData], ]
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:4851return array_merge(parent::provideReplace( ), [['ΣσΣ', 1, 'Σσς', 'ς', 'Σ'], ['漢字はユニコード', 0, '漢字はユニコード', 'foo', 'bar'], ['漢字ーユニコード', 1, '漢字はユニコード', 'は', 'ー'], ['This is a jamais-vu situation!', 1, 'This is a déjà-vu situation!', 'déjà', 'jamais'], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:3622$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2019-01-01', new \DateTimeZone('UTC')), 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:4331return array_merge(parent::provideBeforeAfterIgnoreCase( ), [['jàdéjà', 'JÀ', 'déjàdéjà', 0, false], ['dé', 'jÀ', 'déjàdéjà', 0, true], ['éjàdéjà', 'é', 'déjàdéjà', 0, false], ['d', 'é', 'déjàdéjà', 0, true], ['déjàdéjà', 'Ç', 'déjàdéjà', 0, false], ['déjàdéjà', 'Ç', 'déjàdéjà', 0, true], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:3462$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2019-07-12', new \DateTimeZone('UTC')), 'widget' => 'single_text', ])
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:3551return array_merge(parent::provideSlice( ), [['jà', 'déjà', 2, null], ['jà', 'déjà', 2, null], ['jà', 'déjà', -2, null], ['jà', 'déjà', -2, 3], ['', 'déjà', -1, 0], ['', 'déjà', 1, -4], ['j', 'déjà', -2, -1], ['', 'déjà', -2, -2], ['', 'déjà', 5, 0], ['', 'déjà', -5, 0], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:3301$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2019-01-01', new \DateTimeZone('UTC')), 'widget' => 'single_text', ])
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:3281return array_merge(parent::provideTitle( ), [['Deja', 'deja', false], ['Σσς', 'σσς', false], ['DEJa', 'dEJa', false], ['ΣσΣ', 'σσΣ', false], ['Deja Σσς DEJa ΣσΣ', 'deja σσς dEJa σσΣ', true], ['Última prueba', 'última prueba', false], ['ÚLTIMA pRUEBA', 'úLTIMA pRUEBA', false], ['¡Hola spain!', '¡hola spain!', false], ['¡HOLA sPAIN!', '¡hOLA sPAIN!', false], ['¡Hola Spain!', '¡hola spain!', true], ['¡HOLA SPAIN!', '¡hOLA sPAIN!', true], ['Última Prueba', 'última prueba', true], ['ÚLTIMA PRUEBA', 'úLTIMA pRUEBA', true], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:3103$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2019-07-12', new \DateTimeZone('UTC')), 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:2331return array_merge(parent::provideChunk( ), [['déjà', [static::createFromString('d'), static::createFromString('é'), static::createFromString('j'), static::createFromString('à'), ], 1, ], ['déjà', [static::createFromString('dé'), static::createFromString('jà'), ], 2, ], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:2902$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2019-01-01', new \DateTimeZone('UTC')), 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:1961return array_merge(parent::provideSplit( ), [['會|意|文|字|/|会|意|文|字', '|', [static::createFromString('會'), static::createFromString('意'), static::createFromString('文'), static::createFromString('字'), static::createFromString('/'), static::createFromString('会'), static::createFromString('意'), static::createFromString('文'), static::createFromString('字'), ], null, ], ['會|意|文|字|/|会|意|文|字', '|', [static::createFromString('會'), static::createFromString('意'), static::createFromString('文'), static::createFromString('字'), static::createFromString('/|会|意|文|字'), ], 5, ], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/EnumTypeTest.php:1811$form = $this->factory->create($this->getTestedType( ), null, ['multiple' => true, 'expanded' => true, 'class' => Suit::class, 'empty_data' => [Suit::Spades->value], ])
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:1731return array_merge(parent::provideIndexOfLastIgnoreCase( ), [[null, '한국어', '', 0], [3, 'DÉJÀ', 'à', 0], [3, 'DÉJÀ', 'À', 0], [6, 'DÉJÀÀÀÀ', 'à', 0], [6, 'DÉJÀÀÀÀ', 'à', 3], [5, 'DÉJÀÀÀÀ', 'àà', 0], [2, 'DÉJÀÀÀÀ', 'jà', 0], [2, 'DÉJÀÀÀÀ', 'jà', -5], [6, 'DÉJÀÀÀÀ!', 'à', -2], [5, 'DÉJÀÀÀÀ', 'à', -2], [15, 'abcdéf12é45abcdéf', 'é', 0], [8, 'abcdéf12é45abcdéf', 'é', -4], [1, 'aςσb', 'ΣΣ', 0], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/EnumTypeTest.php:1531$form = $this->factory->create($this->getTestedType( ), null, ['multiple' => true, 'expanded' => false, 'class' => Suit::class, 'empty_data' => [Suit::Diamonds->value], ])
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:1581return array_merge(parent::provideIndexOfLast( ), [[null, '한국어', '', 0], [1, '한국어', '국', 0], [5, '한국어어어어국국', '어', 0], [15, 'abcdéf12é45abcdéf', 'é', 0], [8, 'abcdéf12é45abcdéf', 'é', -4], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php:4471return ['Simple field' => ['single_text', 'P6Y4M0D', $expectedData], 'Compound text field' => ['text', ['years' => '06', 'months' => '04', 'days' => '00'], $expectedData], 'Compound integer field' => ['integer', ['years' => '6', 'months' => '4', 'days' => '0'], $expectedData], 'Compound choice field' => ['choice', ['years' => '6', 'months' => '4', 'days' => '0'], $expectedData], ]
/src/Symfony/Component/String/Tests/AbstractUnicodeTestCase.php:1421return array_merge(parent::provideIndexOfIgnoreCase( ), [[3, 'DÉJÀ', 'À', 0], [3, 'DÉJÀ', 'à', 0], [1, 'DÉJÀ', 'É', 1], [1, 'DÉJÀ', 'é', 1], [1, 'aςσb', 'ΣΣ', 0], [16, 'der Straße nach Paris', 'Paris', 0], [8, 'der Straße nach Paris', 'ß', 4], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:11541return ['Simple field' => ['single_text', '21:23', $expectedData], 'Compound text field' => ['text', ['hour' => '21', 'minute' => '23'], $expectedData], 'Compound choice field' => ['choice', ['hour' => '21', 'minute' => '23'], $expectedData], 'Simple field lazy' => ['single_text', $lazyEmptyData, $expectedData], 'Compound text field lazy' => ['text', $lazyEmptyData, $expectedData], 'Compound choice field lazy' => ['choice', $lazyEmptyData, $expectedData], ]
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:2121return array_merge(parent::provideBeforeAfterLastIgnoreCase( ), [['दछेच्नुअ-दछेच्नु-अदछेच्नु', 'छेछे', 'दछेच्नुअ-दछेच्नु-अदछेच्नु', 0, false], ['दछेच्नुअ-दछेच्नु-अदछेच्नु', 'छेछे', 'दछेच्नुअ-दछेच्नु-अदछेच्नु', 0, true], ['-दछेच्नु', '-द', 'दछेच्नुअ-दछेच्नु-अद-दछेच्नु', 0, false], ['दछेच्नुअ-दछेच्नु-अद', '-द', 'दछेच्नुअ-दछेच्नु-अद-दछेच्नु', 0, true], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:11151$form = $this->factory->create(static::TESTED_TYPE, $input, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'reference_date' => new \DateTimeImmutable('01-05-2021 12:34:56', new \DateTimeZone('UTC')), 'input' => 'array', 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:1991return array_merge(parent::provideBeforeAfterLast( ), [['दछेच्नुअ-दछेच्नु-अदछेच्नु', 'छेछे', 'दछेच्नुअ-दछेच्नु-अदछेच्नु', 0, false], ['दछेच्नुअ-दछेच्नु-अदछेच्नु', 'छेछे', 'दछेच्नुअ-दछेच्नु-अदछेच्नु', 0, true], ['-दछेच्नु', '-द', 'दछेच्नुअ-दछेच्नु-अद-दछेच्नु', 0, false], ['दछेच्नुअ-दछेच्नु-अद', '-द', 'दछेच्नुअ-दछेच्नु-अद-दछेच्नु', 0, true], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:10871$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'reference_date' => new \DateTimeImmutable('01-01-2021 12:34:56', new \DateTimeZone('UTC')), 'input' => 'array', 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:1861return array_merge(parent::provideBeforeAfterIgnoreCase( ), [['दछेच्नुअ', 'छेछे', 'दछेच्नुअ', 0, false], ['दछेच्नुअ', 'छेछे', 'दछेच्नुअ', 0, true], ['छेच्नुअ', 'छे', 'दछेच्नुअ', 0, false], ['द', 'छे', 'दछेच्नुअ', 0, true], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:5503$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2019-07-12', new \DateTimeZone('UTC')), 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:951return array_merge(parent::provideBytesAt( ), [[[0xC3, 0xA4], "Spa\u{0308}ßchen", 2], [[0x61, 0xCC, 0x88], "Spa\u{0308}ßchen", 2, UnicodeString::NFD], [[0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D], 'नमस्ते', 2], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:5211$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'America/New_York', 'view_timezone' => 'Asia/Hong_Kong', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('now', new \DateTimeZone('America/New_York')), 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:751return array_merge(parent::provideChunk( ), [['अनुच्छेद', [static::createFromString('अ'), static::createFromString('नु'), static::createFromString('च्'), static::createFromString('छे'), static::createFromString('द'), ], 1, ], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:4931$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'America/New_York', 'view_timezone' => 'Asia/Hong_Kong', 'input' => 'string', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2013-01-01 00:00:00', new \DateTimeZone('America/New_York')), 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:541return array_merge(parent::provideSplit( ), [['अ.नु.च्.छे.द', '.', [static::createFromString('अ'), static::createFromString('नु'), static::createFromString('च्'), static::createFromString('छे'), static::createFromString('द'), ], null, ], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:4002$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2019-07-12', new \DateTimeZone('UTC')), 'widget' => 'single_text', ])
/src/Symfony/Component/String/Tests/UnicodeStringTest.php:261return array_merge(parent::provideWrap( ), [[['Käse' => static::createFromString('köstlich'), 'fromage' => static::createFromString('délicieux')], ["Ka\u{0308}se" => "ko\u{0308}stlich", 'fromage' => 'délicieux'], ], [['a' => 1, 'ä' => ['ö' => 2, 'ü' => 3]], ['a' => 1, "a\u{0308}" => ["o\u{0308}" => 2, 'ü' => 3]], ], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php:3813$form = $this->factory->create(static::TESTED_TYPE, null, ['model_timezone' => 'UTC', 'view_timezone' => 'Europe/Berlin', 'input' => 'datetime', 'with_seconds' => true, 'reference_date' => new \DateTimeImmutable('2019-07-12', new \DateTimeZone('UTC')), 'widget' => 'choice', ])
/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php:13481return [[true, '', ''], [false, '', 'foo'], [false, 'foo', ''], [false, "foo\n", 'foo'], [true, 'foo Bar', 'FOO bar'], [true, 'foo Bar', new ByteString('FOO bar')], [true, 'foo Bar', new CodePointString('FOO bar')], [true, 'foo Bar', new UnicodeString('FOO bar')], [false, '', [ ]], [false, 'Foo', ['bar', 'baz']], [true, 'Foo', ['bar', 'foo', 'baz']], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:1074$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', $this->getTestedType( ), $this->getTestOptions( ))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:81917$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:1431$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['label_translation_parameters' => ['%param%' => 'value'], ])->add('child', $this->getTestedType( ), $this->getTestOptions( ))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/AmqpExtIntegrationTest.php:1401$connection = Connection::fromDsn(getenv('MESSENGER_AMQP_DSN'), ['exchange' => ['name' => 'messages_topic', 'type' => 'topic', 'default_publish_routing_key' => 'topic_routing_key', ], 'queues' => ['A' => ['binding_keys' => ['topic_routing_key']], 'B' => ['binding_keys' => ['topic_routing_key']], ], ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:1581$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['attr_translation_parameters' => ['%param%' => 'value'], ])->add('child', $this->getTestedType( ), $this->getTestOptions( ))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php:1251$queryBuilder = $this->driverConnection->createQueryBuilder( )->insert($this->configuration['table_name'])->values(['body' => '?', 'headers' => '?', 'queue_name' => '?', 'created_at' => '?', 'available_at' => '?', ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:1731$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['label_translation_parameters' => ['%parent_param%' => 'parent_value', '%override_param%' => 'parent_override_value'], ])->add('child', $this->getTestedType( ), array_merge($this->getTestOptions( ), ['label_translation_parameters' => ['%override_param%' => 'child_value'], ]))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php:1351return $this->executeInsert($queryBuilder->getSQL( ), [$body, json_encode($headers), $this->configuration['queue_name'], $now, $availableAt, ], [Types::STRING, Types::STRING, Types::STRING, Types::DATETIME_IMMUTABLE, Types::DATETIME_IMMUTABLE, ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:1901$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['attr_translation_parameters' => ['%parent_param%' => 'parent_value', '%override_param%' => 'parent_override_value'], ])->add('child', $this->getTestedType( ), array_merge($this->getTestOptions( ), ['attr_translation_parameters' => ['%override_param%' => 'child_value'], ]))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php:3521return $this->createQueryBuilder( )->where('m.queue_name = ?')->andWhere('m.delivered_at is null OR m.delivered_at < ?')->andWhere('m.available_at <= ?')->setParameters([$this->configuration['queue_name'], $redeliverLimit, $now, ], [Types::STRING, Types::DATETIME_IMMUTABLE, Types::DATETIME_IMMUTABLE, ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:2074$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', $this->getTestedType( ), $this->getTestOptions( ))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php:1271$configuration = ['buffer_size' => (int) $options['buffer_size'], 'wait_time' => (int) $options['wait_time'], 'poll_timeout' => $options['poll_timeout'], 'visibility_timeout' => null !== $options['visibility_timeout'] ? (int) $options['visibility_timeout'] : null, 'auto_setup' => filter_var($options['auto_setup'], \FILTER_VALIDATE_BOOL), 'queue_name' => (string) $options['queue_name'], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:2194$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', $this->getTestedType( ), $this->getTestOptions( ))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php:1361$clientConfiguration = ['region' => $options['region'], 'accessKeyId' => rawurldecode($params['user'] ?? '') ?: $options['access_key'] ?? self::DEFAULT_OPTIONS['access_key'], 'accessKeySecret' => rawurldecode($params['pass'] ?? '') ?: $options['secret_key'] ?? self::DEFAULT_OPTIONS['secret_key'], ]
/src/Symfony/Component/Form/Tests/Extension/Validator/ValidatorTypeGuesserTest.php:751return [[new Type('array'), new TypeGuess(CollectionType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('bool'), new TypeGuess(CheckboxType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('boolean'), new TypeGuess(CheckboxType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('double'), new TypeGuess(NumberType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('float'), new TypeGuess(NumberType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('numeric'), new TypeGuess(NumberType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('real'), new TypeGuess(NumberType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('int'), new TypeGuess(IntegerType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('integer'), new TypeGuess(IntegerType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('long'), new TypeGuess(IntegerType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type('string'), new TypeGuess(TextType::class, [ ], Guess::LOW_CONFIDENCE)], [new Type(\DateTime::class), new TypeGuess(DateType::class, [ ], Guess::MEDIUM_CONFIDENCE)], [new Type(\DateTimeImmutable::class), new TypeGuess(DateType::class, ['input' => 'datetime_immutable'], Guess::MEDIUM_CONFIDENCE)], [new Type('\DateTime'), new TypeGuess(DateType::class, [ ], Guess::MEDIUM_CONFIDENCE)], ]
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php:2161$this->currentResponse = $this->client->receiveMessage(['QueueUrl' => $this->getQueueUrl( ), 'VisibilityTimeout' => $this->configuration['visibility_timeout'], 'MaxNumberOfMessages' => $this->configuration['buffer_size'], 'MessageAttributeNames' => ['All'], 'WaitTimeSeconds' => $this->configuration['wait_time'], ])
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:62317$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Validator/ValidatorTypeGuesserTest.php:951return [[new NotNull( ), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], [new NotBlank( ), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], [new IsTrue( ), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], [new Length(['min' => 10, 'max' => 10]), new ValueGuess(false, Guess::LOW_CONFIDENCE)], [new Range(['min' => 1, 'max' => 20]), new ValueGuess(false, Guess::LOW_CONFIDENCE)], ]
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:63817$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorTest.php:2941$form = $this->getBuilder('name', '\stdClass', ['invalid_message' => 'invalid_message_key', 'invalid_message_parameters' => ['{{ foo }}' => 'bar'], 'validation_groups' => [ ], ])->setData($object)->addViewTransformer(new CallbackTransformer(static fn ($data) => $data, static fn ( ) => throw new TransformationFailedException( )))->getForm( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:69317$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorTest.php:6071$form = $this->getBuilder('parent', null, ['extra_fields_message' => 'Extra!|Extras!'])->setCompound(true)->setDataMapper(new DataMapper( ))->add($this->getBuilder('child'))->getForm( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:71317$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorTest.php:6321$form = $this->getBuilder('parent', null, ['extra_fields_message' => 'Extra!|Extras!!'])->setCompound(true)->setDataMapper(new DataMapper( ))->add($this->getBuilder('child'))->getForm( )
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorTest.php:6571$form = $this->getBuilder('parent', null, ['allow_extra_fields' => true])->setCompound(true)->setDataMapper(new DataMapper( ))->add($this->getBuilder('child'))->getForm( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:72817$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorTest.php:6861$form = $this->getBuilder('form', null, ['constraints' => [new NotBlank(['groups' => ['foo']])]])->setCompound(true)->setDataMapper(new DataMapper( ))->getForm( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:74317$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorTest.php:7271return $this->getBuilder('name', \is_object($data) ? $data::class : null, $options)->setData($data)->setCompound(true)->setDataMapper(new DataMapper( ))->getForm( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:77917$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:1051$form = $this->formFactory->create(FormType::class, null, ['constraints' => [new Collection(['field1' => new NotBlank(['groups' => ['field1'], ]), 'field2' => new NotBlank(['groups' => ['field2'], ]), ]), ], 'validation_groups' => ['field1', 'field2'], ])
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:79917$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:23217$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:15441$view = $this->factory->create(static::TESTED_TYPE, [$this->objectChoices[3]], ['multiple' => true, 'expanded' => false, 'choices' => $this->objectChoices, 'choice_label' => 'name', 'choice_value' => 'id', ])->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:2011return [[$baseDsn . '?queues[messages][arguments][x-delay]=not-a-number', [ ]], [$baseDsn . '?queues[messages][arguments][x-expires]=not-a-number', [ ]], [$baseDsn . '?queues[messages][arguments][x-max-length]=not-a-number', [ ]], [$baseDsn . '?queues[messages][arguments][x-max-length-bytes]=not-a-number', [ ]], [$baseDsn . '?queues[messages][arguments][x-max-priority]=not-a-number', [ ]], [$baseDsn . '?queues[messages][arguments][x-message-ttl]=not-a-number', [ ]], [$baseDsn, ['queues' => ['messages' => ['arguments' => ['x-delay' => 'not-a-number']]]]], [$baseDsn, ['queues' => ['messages' => ['arguments' => ['x-expires' => 'not-a-number']]]]], [$baseDsn, ['queues' => ['messages' => ['arguments' => ['x-max-length' => 'not-a-number']]]]], [$baseDsn, ['queues' => ['messages' => ['arguments' => ['x-max-length-bytes' => 'not-a-number']]]]], [$baseDsn, ['queues' => ['messages' => ['arguments' => ['x-max-priority' => 'not-a-number']]]]], [$baseDsn, ['queues' => ['messages' => ['arguments' => ['x-message-ttl' => 'not-a-number']]]]], ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:15261$view = $this->factory->create(static::TESTED_TYPE, $this->objectChoices[3], ['multiple' => false, 'expanded' => false, 'choices' => $this->objectChoices, 'choice_label' => 'name', 'choice_value' => 'id', ])->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:26617$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:16971$view = $this->factory->create(static::TESTED_TYPE, null, ['multiple' => $multiple, 'expanded' => $expanded, 'required' => $required, 'placeholder' => $placeholder, 'placeholder_attr' => $placeholderAttr, 'choices' => ['Empty' => '', 'A' => 'a'], ])->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:24917$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:16771$view = $this->factory->create(static::TESTED_TYPE, null, ['multiple' => $multiple, 'expanded' => $expanded, 'required' => $required, 'placeholder' => $placeholder, 'placeholder_attr' => $placeholderAttr, 'choices' => $this->choices, ])->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:43717$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:20031$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['translation_domain' => 'parent_domain', ])->add('child', static::TESTED_TYPE, ['translation_domain' => 'domain', ])->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:41417$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:18281$view = $this->factory->create(static::TESTED_TYPE, null, ['choices' => [$obj1, $obj2, $obj3, $obj4], 'choice_label' => 'label', 'choice_value' => 'value', 'choice_attr' => [['attr1' => 'value1'], ['attr2' => 'value2'], ['attr3' => 'value3'], ['attr4' => 'value4'], ], 'choice_translation_parameters' => [['%placeholder1%' => 'value1'], ['%placeholder2%' => 'value2'], ['%placeholder3%' => 'value3'], ['%placeholder4%' => 'value4'], ], ])->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:57517$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:22601$view = $this->factory->create(FormTypeTest::TESTED_TYPE)->add('choice_one', self::TESTED_TYPE, ['choice_loader' => $choiceLoader, ])->add('choice_two', self::TESTED_TYPE, ['choice_loader' => $choiceLoader, 'choice_value' => fn ($choice) => $choice ? (string) $choice * 10 : '', ])->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:55517$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:20991$form = $this->factory->create(static::TESTED_TYPE, null, ['label' => 'label', 'translation_domain' => 'label_translation_domain', 'choices' => ['choice1' => true, 'choice2' => false, ], 'choice_translation_domain' => 'choice_translation_domain', 'expanded' => true, ])->createView( )
/src/Symfony/Component/Messenger/Transport/Serialization/Normalizer/FlattenExceptionNormalizer.php:311$normalized = ['message' => $object->getMessage( ), 'code' => $object->getCode( ), 'headers' => $object->getHeaders( ), 'class' => $object->getClass( ), 'file' => $object->getFile( ), 'line' => $object->getLine( ), 'previous' => null === $object->getPrevious( ) ? null : $this->normalize($object->getPrevious( ), $format, $context), 'status' => $object->getStatusCode( ), 'status_text' => $object->getStatusText( ), 'trace' => $object->getTrace( ), 'trace_as_string' => $object->getTraceAsString( ), ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php:3461$form = $this->factory->create(static::TESTED_TYPE, [ ], ['allow_add' => true, 'prototype' => true, 'prototype_data' => 'foo', 'entry_type' => TextTypeTest::TESTED_TYPE, 'entry_options' => ['data' => 'bar', 'label' => false, ], ])
/src/Symfony/Component/Messenger/Middleware/RouterContextMiddleware.php:371$envelope = $envelope->with(new RouterContextStamp($context->getBaseUrl( ), $context->getMethod( ), $context->getHost( ), $context->getScheme( ), $context->getHttpPort( ), $context->getHttpsPort( ), $context->getPathInfo( ), $context->getQueryString( )))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php:2141$form = $this->factory->create(static::TESTED_TYPE, null, ['entry_type' => ChoiceType::class, 'entry_options' => ['choices' => ['a', 'b'], ], 'allow_add' => true, 'allow_delete' => true, 'delete_empty' => true, ])
/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RedisReceiverTest.php:641yield [['id' => 1, 'data' => ['message' => json_encode(['body' => '{"message": "Hi"}', 'headers' => ['type' => DummyMessage::class, ], ]), ], ], new DummyMessage('Hi'), new Serializer(new SerializerComponent\Serializer([new ObjectNormalizer( )], ['json' => new JsonEncoder( )])), ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php:4311$form = $this->factory->create(static::TESTED_TYPE, [ ], ['allow_add' => true, 'prototype' => true, 'entry_type' => TextTypeTest::TESTED_TYPE, 'entry_options' => ['help' => null, ], 'prototype_options' => ['help' => 'foo', ], ])
/src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php:1941$redis ??= new \RedisCluster(null, $hosts, $params['timeout'], $params['read_timeout'], (bool) ($params['persistent'] ?? false), $auth, ...\defined('Redis::SCAN_PREFIX') ? [$params['ssl'] ?? null] : [ ])
/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php:4081$child = $this->factory->create(static::TESTED_TYPE, [ ], ['entry_type' => FileTypeTest::TESTED_TYPE, 'allow_add' => true, 'prototype' => true, 'prototype_name' => '__test__', 'entry_options' => ['required' => true, ], ])
/src/Symfony/Component/Messenger/Bridge/Amqp/Transport/Connection.php:1811$amqpOptions = array_replace_recursive(['host' => $params['host'] ?? 'localhost', 'port' => $params['port'] ?? $port, 'vhost' => isset($pathParts[0]) ? urldecode($pathParts[0]) : '/', 'exchange' => ['name' => $exchangeName, ], ], $options, $parsedQuery)
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:454$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE)->add('child', $this->getTestedType( ), $this->getTestOptions( ))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RedisReceiverTest.php:821yield [['id' => 2, 'data' => ['message' => json_encode(['foo' => 'fooValue', 'bar' => ['baz' => 'bazValue', ], ]), ], ], (new ExternalMessage('fooValue'))->setBar(['baz' => 'bazValue']), new ExternalMessageSerializer( ), ]
/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php:4481$form = $this->factory->create(static::TESTED_TYPE, ['first'], ['allow_add' => true, 'prototype' => true, 'entry_type' => TextTypeTest::TESTED_TYPE, 'entry_options' => ['disabled' => true, ], 'prototype_options' => ['disabled' => false, ], ])
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:1781$connection = Connection::fromDsn($dsn, ['queues' => ['messages' => ['arguments' => ['x-max-length' => '200', 'x-max-length-bytes' => '300', 'x-max-priority' => '4', ], ], ], 'exchange' => ['arguments' => ['alternate-exchange' => 'alternate', ], ], ], $factory)
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:921$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['translation_domain' => 'parent_domain', ])->add('child', $this->getTestedType( ), array_merge($this->getTestOptions( ), ['translation_domain' => 'domain', ]))->getForm( )->createView( )
/src/Symfony/Component/Messenger/Bridge/Amqp/Tests/Transport/ConnectionTest.php:15117$factory = new TestAmqpFactory($amqpConnection = $this->createMock(\AMQPConnection::class), $amqpChannel = $this->createMock(\AMQPChannel::class), $amqpQueue = $this->createMock(\AMQPQueue::class), $amqpExchange = $this->createMock(\AMQPExchange::class))
/src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTestCase.php:791$view = $this->factory->createNamedBuilder('parent', FormTypeTest::TESTED_TYPE, null, ['translation_domain' => 'domain', ])->add('child', $this->getTestedType( ), $this->getTestOptions( ))->getForm( )->createView( )
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/CachingFactoryDecoratorTest.php:5641return [[0, false], [0, null], [0, '0'], [0, ''], [1, true], [1, '1'], [1, 'a'], ['', false], ['', null], [false, null], [(object) ['foo' => 'bar'], (object) ['foo' => 'bar']], ]
/src/Symfony/Component/Workflow/Tests/Dumper/MermaidDumperTest.php:761yield [self::createComplexWorkflowDefinition( ), "graph LR\n" . "place0([\"a\"])\n" . "place1((\"b\"))\n" . "place2((\"c\"))\n" . "place3((\"d\"))\n" . "place4((\"e\"))\n" . "place5((\"f\"))\n" . "place6((\"g\"))\n" . "transition0[\"t1\"]\n" . "place0-->transition0\n" . "transition0-->place1\n" . "transition0-->place2\n" . "transition1[\"t2\"]\n" . "place1-->transition1\n" . "transition1-->place3\n" . "place2-->transition1\n" . "transition2[\"My custom transition label 1\"]\n" . "place3-->transition2\n" . "linkStyle 6 stroke:Red\n" . "transition2-->place4\n" . "linkStyle 7 stroke:Red\n" . "transition3[\"t4\"]\n" . "place3-->transition3\n" . "transition3-->place5\n" . "transition4[\"t5\"]\n" . "place4-->transition4\n" . "transition4-->place6\n" . "transition5[\"t6\"]\n" . "place5-->transition5\n" . "transition5-->place6", ]
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:1301$list = $this->factory->createListFromChoices(['A' => $this->obj1, 'B' => $this->obj2, 'C' => $this->obj3, 'D' => $this->obj4], $this->getValue(...))
/src/Symfony/Component/Workflow/Dumper/PlantUmlDumper.php:2001$output = "state $placeEscaped" . (\in_array($place, $definition->getInitialPlaces( ), true) ? ' ' . self::INITIAL : '') . ($marking?->has($place) ? ' ' . self::MARKED : '')
/src/Symfony/Component/Form/Tests/Extension/PasswordHasher/Type/PasswordTypePasswordHasherExtensionTest.php:1271$form = $this->factory->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType', null, ['data_class' => User::class, 'empty_data' => function ( ) use ($user) { /**/ } , ])->add('plainPassword', 'Symfony\Component\Form\Extension\Core\Type\PasswordType', ['hash_property_path' => 'password', 'mapped' => false, ])->getForm( )
/src/Symfony/Component/Finder/Tests/Iterator/SortableIteratorTest.php:2631return [[SortableIterator::SORT_BY_NAME, self::toAbsolute($sortByName)], [SortableIterator::SORT_BY_TYPE, self::toAbsolute($sortByType)], [SortableIterator::SORT_BY_ACCESSED_TIME, self::toAbsolute($sortByAccessedTime)], [SortableIterator::SORT_BY_CHANGED_TIME, self::toAbsolute($sortByChangedTime)], [SortableIterator::SORT_BY_MODIFIED_TIME, self::toAbsolute($sortByModifiedTime)], [SortableIterator::SORT_BY_NAME_NATURAL, self::toAbsolute($sortByNameNatural)], [fn (\SplFileInfo $a, \SplFileInfo $b) => strcmp($a->getRealPath( ), $b->getRealPath( )), self::toAbsolute($customComparison)], ]
/src/Symfony/Component/Form/Tests/Extension/PasswordHasher/Type/PasswordTypePasswordHasherExtensionTest.php:2051$form = $this->factory->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType', $user)->add('plainPassword', 'Symfony\Component\Form\Extension\Core\Type\PasswordType', ['hash_property_path' => 'password', 'mapped' => false, ])->add('integer', 'Symfony\Component\Form\Extension\Core\Type\IntegerType', ['mapped' => false, ])->getForm( )
/src/Symfony/Component/Workflow/Tests/DataCollector/WorkflowDataCollectorTest.php:421$guardListener = new GuardListener(['workflow.workflow2.guard.t1' => ['my_expression']], $this->createMock(ExpressionLanguage::class), $this->createMock(TokenStorageInterface::class), $this->createMock(AuthorizationCheckerInterface::class), $this->createMock(AuthenticationTrustResolverInterface::class), $this->createMock(RoleHierarchyInterface::class), $this->createMock(ValidatorInterface::class))
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:1721$list = $this->factory->createListFromChoices(['Group 1' => ['A' => $this->obj1, 'B' => $this->obj2], 'Group 2' => ['C' => $this->obj3, 'D' => $this->obj4], ], $this->getValue(...))
/src/Symfony/Component/Yaml/Dumper.php:1291$output .= sprintf('%s%s%s%s', $prefix, $dumpAsMap ? Inline::dump($key, $flags) . ':' : '-', $willBeInlined ? ' ' : "\n", $this->dump($value, $inline - 1, $willBeInlined ? 0 : $indent + $this->indentation, $flags)) . ($willBeInlined ? "\n" : '')
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:1851$list = $this->factory->createListFromChoices(['Group 1' => ['A' => $this->obj1, 'B' => $this->obj2], 'Group 2' => ['C' => $this->obj3, 'D' => $this->obj4], ], fn ($object) => $object->value)
/src/Symfony/Component/Yaml/Inline.php:1131return $value->format(match (true) { /**/ } )
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:1501$list = $this->factory->createListFromChoices(['Group 1' => ['A' => $this->obj1, 'B' => $this->obj2], 'Group 2' => ['C' => $this->obj3, 'D' => $this->obj4], ])
/src/Symfony/Component/Workflow/Dumper/GraphvizDumper.php:2521return sprintf("digraph workflow {\n %s%s\n node [%s];\n edge [%s];\n\n", $this->addOptions($options['graph']), '""' !== $label && '<>' !== $label ? sprintf(' label=%s', $label) : '', $this->addOptions($options['node']), $this->addOptions($options['edge']))
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:1601$list = $this->factory->createListFromChoices(new \ArrayIterator(['Group 1' => ['A' => $this->obj1, 'B' => $this->obj2], 'Group 2' => ['C' => $this->obj3, 'D' => $this->obj4], ]))
/src/Symfony/Component/Yaml/Unescaper.php:1061return \chr(0xF0 | $c >> 18) . \chr(0x80 | $c >> 12 & 0x3F) . \chr(0x80 | $c >> 6 & 0x3F) . \chr(0x80 | $c & 0x3F)
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:2251$list = $this->factory->createListFromChoices(new \ArrayIterator(['Group 1' => ['A' => $this->obj1, 'B' => $this->obj2], 'Group 2' => ['C' => $this->obj3, 'D' => $this->obj4], 'Group 3' => ['E' => null, 'F' => null], 'Group 4' => [ ], ]), null, fn ($choice) => null !== $choice)
/src/Symfony/Component/Finder/Tests/FinderTest.php:9581$finder = $this->buildFinder( )->in([self::$tmpDir, self::$tmpDir . '/qux', self::$tmpDir . '/foo', ])->depth(0)->files( )->filter(static fn (\SplFileInfo $file) : bool => '' !== $file->getExtension( ))->sort(static fn (\SplFileInfo $a, \SplFileInfo $b) : int => strcmp($a->getExtension( ), $b->getExtension( )) ?: strcmp($a->getFilename( ), $b->getFilename( )))
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:5131$list = new ArrayChoiceList(['Group 1' => ['A' => $this->obj1, 'B' => $this->obj2], 'Group 2' => ['C' => $this->obj3, 'D' => $this->obj4], 'Group empty' => [ ], ])
/src/Symfony/Component/Finder/Tests/FinderTest.php:10941$expected = [self::$tmpDir . \DIRECTORY_SEPARATOR . 'Zephire.php', self::$tmpDir . \DIRECTORY_SEPARATOR . 'test.php', __DIR__ . \DIRECTORY_SEPARATOR . 'GitignoreTest.php', __DIR__ . \DIRECTORY_SEPARATOR . 'FinderOpenBasedirTest.php', __DIR__ . \DIRECTORY_SEPARATOR . 'FinderTest.php', __DIR__ . \DIRECTORY_SEPARATOR . 'GlobTest.php', self::$tmpDir . \DIRECTORY_SEPARATOR . 'qux_0_1.php', self::$tmpDir . \DIRECTORY_SEPARATOR . 'qux_1000_1.php', self::$tmpDir . \DIRECTORY_SEPARATOR . 'qux_1002_0.php', self::$tmpDir . \DIRECTORY_SEPARATOR . 'qux_10_2.php', self::$tmpDir . \DIRECTORY_SEPARATOR . 'qux_12_0.php', self::$tmpDir . \DIRECTORY_SEPARATOR . 'qux_2_0.php', self::$tmpDir . \DIRECTORY_SEPARATOR . 'zebulon.php', ]
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:1981$list = $this->factory->createListFromChoices(['A' => $this->obj1, 'B' => $this->obj2, 'C' => $this->obj3, 'D' => $this->obj4, 'E' => null, 'F' => null], null, fn ($choice) => null !== $choice)
/src/Symfony/Component/Messenger/Stamp/ErrorDetailsStamp.php:761return $this->flattenException->getClass( ) === $that->flattenException->getClass( ) && $this->flattenException->getCode( ) === $that->flattenException->getCode( ) && $this->flattenException->getMessage( ) === $that->flattenException->getMessage( )
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:2091$list = $this->factory->createListFromChoices(['Group 1' => ['A' => $this->obj1, 'B' => $this->obj2], 'Group 2' => ['C' => $this->obj3, 'D' => $this->obj4], 'Group 3' => ['E' => null, 'F' => null], 'Group 4' => [ ], ], null, fn ($choice) => null !== $choice)
/src/Symfony/Component/Messenger/Command/AbstractFailedMessagesCommand.php:1851return [Caster::PREFIX_VIRTUAL . 'message' => $flattenException->getMessage( ), Caster::PREFIX_VIRTUAL . 'code' => $flattenException->getCode( ), Caster::PREFIX_VIRTUAL . 'file' => $flattenException->getFile( ), Caster::PREFIX_VIRTUAL . 'line' => $flattenException->getLine( ), Caster::PREFIX_VIRTUAL . 'trace' => new TraceStub($flattenException->getTrace( )), ]
/src/Symfony/Component/Form/ChoiceList/Factory/DefaultChoiceListFactory.php:1691$view = new ChoiceView($choice, $value, $label, \is_callable($attr) ? $attr($choice, $key, $value) : ($attr[$key] ?? [ ]), \is_callable($labelTranslationParameters) ? $labelTranslationParameters($choice, $key, $value) : ($labelTranslationParameters[$key] ?? [ ]))
/src/Symfony/Component/Finder/Tests/Iterator/DepthRangeFilterIteratorTest.php:971return [[0, 0, self::toAbsolute($lessThan1)], [0, 1, self::toAbsolute($lessThanOrEqualTo1)], [2, \PHP_INT_MAX, [ ]], [1, \PHP_INT_MAX, self::toAbsolute($graterThanOrEqualTo1)], [1, 1, self::toAbsolute($equalTo1)], ]
/src/Symfony/Component/Form/ChoiceList/Factory/Cache/AbstractStaticOption.php:431$this->option = self::$options[$hash] ??= $option instanceof \Closure || \is_string($option) || \is_bool($option) || $option instanceof ChoiceLoaderInterface || !\is_callable($option) ? $option : $option(...)
/src/Symfony/Component/Finder/Tests/Iterator/DateRangeFilterIteratorTest.php:901return [[[new DateComparator('since 20 years ago')], static::toAbsolute($since20YearsAgo)], [[new DateComparator('since 2 months ago')], static::toAbsolute($since2MonthsAgo)], [[new DateComparator('until last month')], static::toAbsolute($untilLastMonth)], ]
/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php:6231$view = $this->factory->createView($this->list, [$this->obj2, $this->obj3], null, null, null, ['B' => ['attr1' => 'value1'], 'C' => ['attr2' => 'value2'], ])
/src/Symfony/Component/Finder/Tests/Comparator/DateComparatorTest.php:541return [['< 2005-10-10', [strtotime('2005-10-09')], [strtotime('2005-10-15')]], ['until 2005-10-10', [strtotime('2005-10-09')], [strtotime('2005-10-15')]], ['before 2005-10-10', [strtotime('2005-10-09')], [strtotime('2005-10-15')]], ['> 2005-10-10', [strtotime('2005-10-15')], [strtotime('2005-10-09')]], ['after 2005-10-10', [strtotime('2005-10-15')], [strtotime('2005-10-09')]], ['since 2005-10-10', [strtotime('2005-10-15')], [strtotime('2005-10-09')]], ['!= 2005-10-10', [strtotime('2005-10-11')], [strtotime('2005-10-10')]], ]
/src/Symfony/Component/Form/Tests/DependencyInjection/FormPassTest.php:1231return [[[Type1TypeExtension::class => ['class' => Type1TypeExtension::class, 'tag' => ['extended_type' => 'type1'], ], Type1Type2TypeExtension::class => ['class' => Type1Type2TypeExtension::class, 'tag' => ['extended_type' => 'type2'], ], ], ['type1' => new IteratorArgument([new Reference(Type1TypeExtension::class)]), 'type2' => new IteratorArgument([new Reference(Type1Type2TypeExtension::class)]), ], ], [[Type1TypeExtension::class => ['class' => Type1TypeExtension::class, 'tag' => [ ], ], Type1Type2TypeExtension::class => ['class' => Type1Type2TypeExtension::class, 'tag' => [ ], ], ], ['type1' => new IteratorArgument([new Reference(Type1TypeExtension::class), new Reference(Type1Type2TypeExtension::class), ]), 'type2' => new IteratorArgument([new Reference(Type1Type2TypeExtension::class)]), ], ], [['my.type_extension1' => ['class' => Type1TypeExtension::class, 'tag' => ['extended_type' => 'type1', 'priority' => 1], ], 'my.type_extension2' => ['class' => Type1TypeExtension::class, 'tag' => ['extended_type' => 'type1', 'priority' => 2], ], 'my.type_extension3' => ['class' => Type1TypeExtension::class, 'tag' => ['extended_type' => 'type1', 'priority' => -1], ], 'my.type_extension4' => ['class' => Type2TypeExtension::class, 'tag' => ['extended_type' => 'type2', 'priority' => 2], ], 'my.type_extension5' => ['class' => Type2TypeExtension::class, 'tag' => ['extended_type' => 'type2', 'priority' => 1], ], 'my.type_extension6' => ['class' => Type2TypeExtension::class, 'tag' => ['extended_type' => 'type2', 'priority' => 1], ], ], ['type1' => new IteratorArgument([new Reference('my.type_extension2'), new Reference('my.type_extension1'), new Reference('my.type_extension3'), ]), 'type2' => new IteratorArgument([new Reference('my.type_extension4'), new Reference('my.type_extension5'), new Reference('my.type_extension6'), ]), ], ], [['my.type_extension1' => ['class' => '%type1_extension_class%', 'tag' => ['extended_type' => 'type1'], ], 'my.type_extension2' => ['class' => '%type1_extension_class%', 'tag' => [ ], ], ], ['type1' => new IteratorArgument([new Reference('my.type_extension1'), new Reference('my.type_extension2'), ]), ], ['type1_extension_class' => Type1TypeExtension::class, ], ], ]
/src/Symfony/Component/Finder/Tests/Iterator/PathFilterIteratorTest.php:671return [[$inner, ['/^A/'], [ ], ['abc.dat', 'ab.dat', 'a.dat']], [$inner, ['/^A\/B/'], [ ], ['abc.dat', 'ab.dat']], [$inner, ['/^A\/B\/C/'], [ ], ['abc.dat']], [$inner, ['/A\/B\/C/'], [ ], ['abc.dat', 'abc.dat.copy']], [$inner, ['A'], [ ], ['abc.dat', 'ab.dat', 'a.dat', 'abc.dat.copy', 'ab.dat.copy', 'a.dat.copy']], [$inner, ['A/B'], [ ], ['abc.dat', 'ab.dat', 'abc.dat.copy', 'ab.dat.copy']], [$inner, ['A/B/C'], [ ], ['abc.dat', 'abc.dat.copy']], [$inner, ['copy/A'], [ ], ['abc.dat.copy', 'ab.dat.copy', 'a.dat.copy']], [$inner, ['copy/A/B'], [ ], ['abc.dat.copy', 'ab.dat.copy']], [$inner, ['copy/A/B/C'], [ ], ['abc.dat.copy']], ]
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:2121$form = $this->formFactory->create(FormType::class, null, ['validation_groups' => new GroupSequence(['group1', 'group2']), ])->add('foo', TextType::class, ['constraints' => [new NotBlank(['groups' => ['group1'], ]), new Length(['groups' => ['group2'], 'max' => 3, ]), ], ])
/src/Symfony/Component/Messenger/Tests/Transport/Serialization/SerializerTest.php:441$envelope = (new Envelope(new DummyMessage('Hello')))->with(new SerializerStamp([ObjectNormalizer::GROUPS => ['foo']]))->with(new ValidationStamp(['foo', 'bar']))->with(new SerializedMessageStamp('{"message":"Hello"}'))
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:1871$form = $this->formFactory->create(FormType::class, null, ['validation_groups' => new GroupSequence([['group1', 'group2'], 'group3']), ])->add('foo', TextType::class, ['constraints' => [new Length(['min' => 10, 'groups' => ['group1']])], ])->add('bar', TextType::class, ['constraints' => [new Length(['min' => 10, 'groups' => ['group2']])], ])->add('baz', TextType::class, ['constraints' => [new NotBlank(['groups' => ['group3']])], ])
/src/Symfony/Component/Messenger/Tests/Middleware/DispatchAfterCurrentBusMiddlewareTest.php:1531$commandBus = new MessageBus([$middleware, new DispatchingMiddleware($eventBus, [new Envelope($eventL1a, [new DispatchAfterCurrentBusStamp( )]), new Envelope($eventL1b, [new DispatchAfterCurrentBusStamp( )]), new Envelope($eventL1c, [new DispatchAfterCurrentBusStamp( )]), ]), $handlingMiddleware, ])
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:1661$form = $this->formFactory->create(FormType::class, null, ['validation_groups' => new GroupSequence(['group1', 'group2']), ])->add('foo', TextType::class, ['constraints' => [new Length(['min' => 10, 'groups' => ['group1']])], ])->add('bar', TextType::class, ['constraints' => [new NotBlank(['groups' => ['group2']])], ])
/src/Symfony/Component/Messenger/Tests/Middleware/HandleMessageMiddlewareTest.php:1441yield 'It tries all handlers' => [[new HandlerDescriptor($first, ['alias' => 'first']), new HandlerDescriptor($failing, ['alias' => 'failing']), new HandlerDescriptor($second, ['alias' => 'second']), ], [new HandledStamp('first result', $firstClass . '::__invoke@first'), new HandledStamp(null, $secondClass . '::__invoke@second'), ], false, ]
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:1361$form = $this->formFactory->create(FormType::class, null, ['constraints' => [new Collection(['field1' => new NotBlank(['groups' => ['field1'], ]), 'field2' => new NotBlank(['groups' => ['field2'], ]), ]), ], 'validation_groups' => new GroupSequence(['field1', 'field2']), ])
/src/Symfony/Component/Messenger/Tests/Middleware/HandleMessageMiddlewareTest.php:1321yield 'A stamp is added per handler' => [[new HandlerDescriptor($first, ['alias' => 'first']), new HandlerDescriptor($second, ['alias' => 'second']), ], [new HandledStamp('first result', $firstClass . '::__invoke@first'), new HandledStamp(null, $secondClass . '::__invoke@second'), ], true, ]
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:3581$form = $this->formFactory->create(FormType::class, null, ['validation_groups' => new GroupSequence(['group1', 'group2']), ])->add('field1', null, ['constraints' => [new NotBlank(['groups' => 'group1'])], 'property_path' => '[foo]', ])->add('field2', null, ['constraints' => [new NotBlank(['groups' => 'group2'])], 'property_path' => '[bar]', ])
/src/Symfony/Component/Messenger/Tests/Command/DebugCommandTest.php:491$command = new DebugCommand(['command_bus' => [DummyCommand::class => [[DummyCommandHandler::class, ['option1' => '1', 'option2' => '2']]], DummyCommandWithDescription::class => [[DummyCommandWithDescriptionHandler::class, [ ]]], MultipleBusesMessage::class => [[MultipleBusesMessageHandler::class, [ ]]], ], 'query_bus' => [DummyQuery::class => [[DummyQueryHandler::class, [ ]]], MultipleBusesMessage::class => [[MultipleBusesMessageHandler::class, [ ]]], ], ])
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:3291$form = $this->formFactory->create(FormType::class, null, ['data_class' => Review::class, ])->add('title')->add('customers', CollectionType::class, ['mapped' => false, 'entry_type' => CustomerType::class, 'allow_add' => true, 'constraints' => [new Valid( )], ])
/src/Symfony/Component/Messenger/Tests/Transport/Serialization/Normalizer/FlattenExceptionNormalizerTest.php:651return ['instance from exception' => [FlattenException::createFromThrowable(new \RuntimeException('foo', 42))], 'instance with previous exception' => [FlattenException::createFromThrowable(new \RuntimeException('foo', 42, new \Exception( )))], 'instance with headers' => [FlattenException::createFromThrowable(new \RuntimeException('foo', 42), 404, ['Foo' => 'Bar'])], ]
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:2671$form = $this->formFactory->create(FormType::class, null, ['validation_groups' => ['group1', 'group2'], ])->add('field1', null, ['constraints' => [new NotBlank(['groups' => 'group1'])], 'property_path' => '[foo]', ])->add('field2', null, ['constraints' => [new NotBlank(['groups' => 'group2'])], 'property_path' => '[bar]', ])
/src/Symfony/Component/Messenger/Tests/Transport/Serialization/SerializerTest.php:1441$series = [[['[{"context":{"groups":["foo"]}}]', SerializerStamp::class . '[]', 'json', [Serializer::MESSENGER_SERIALIZATION_CONTEXT => true]], [new SerializerStamp(['groups' => ['foo']])], ], [['{}', DummyMessage::class, 'json', [ObjectNormalizer::GROUPS => ['foo'], Serializer::MESSENGER_SERIALIZATION_CONTEXT => true]], new DummyMessage('test'), ], ]
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:2391$form = $this->formFactory->create(FormType::class, null, ['validation_groups' => new GroupSequence(['group1', 'group2']), ])->add('bar')->add('foo', TextType::class, ['constraints' => [new NotBlank(['groups' => ['group1'], ]), new Length(['groups' => ['group2'], 'max' => 3, ]), ], ])
/src/Symfony/Component/Messenger/Tests/Transport/Serialization/SerializerTest.php:1001$envelope = (new Envelope($message = new DummyMessage('test')))->with(new SerializerStamp([ObjectNormalizer::GROUPS => ['foo']]))->with(new ValidationStamp(['foo', 'bar']))
/src/Symfony/Component/Form/Tests/Extension/Csrf/Type/FormTypeCsrfExtensionTest.php:661$view = $this->factory->createNamedBuilder('root', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add($this->factory->createNamedBuilder('form', 'Symfony\Component\Form\Extension\Core\Type\FormType', null, ['csrf_field_name' => 'csrf', 'compound' => true, ]))->getForm( )->get('form')->createView( )
/src/Symfony/Component/Messenger/Tests/WorkerTest.php:2011$series = [$this->isInstanceOf(WorkerStartedEvent::class), $this->isInstanceOf(WorkerMessageReceivedEvent::class), $this->isInstanceOf(WorkerMessageHandledEvent::class), $this->isInstanceOf(WorkerRunningEvent::class), $this->isInstanceOf(WorkerStoppedEvent::class), ]
/src/Symfony/Component/Form/Tests/Extension/Validator/Type/FormTypeValidatorExtensionTest.php:1241$form = Forms::createFormFactoryBuilder( )->addExtension(new ValidatorExtension($validator))->getFormFactory( )->create(FormTypeTest::TESTED_TYPE, new Author( ), ['validation_groups' => new GroupSequence(['First', 'Second'])])->add('firstName', TextTypeTest::TESTED_TYPE)->add('lastName', TextTypeTest::TESTED_TYPE, ['constraints' => [new Length(['min' => 10, 'groups' => ['First']]), ], ])->add('australian', TextTypeTest::TESTED_TYPE, ['constraints' => [new NotBlank(['groups' => ['Second']]), ], ])
/src/Symfony/Component/Messenger/Tests/FailureIntegrationTest.php:881$handlerLocator = new HandlersLocator([DummyMessage::class => [new HandlerDescriptor($transport1HandlerThatFails, ['from_transport' => 'transport1', 'alias' => 'handler_that_fails', ]), new HandlerDescriptor($allTransportHandlerThatWorks, ['alias' => 'handler_that_works1', ]), new HandlerDescriptor($transport2HandlerThatWorks, ['from_transport' => 'transport2', 'alias' => 'handler_that_works2', ]), ], ])
/src/Symfony/Component/Form/Tests/Extension/Validator/Type/FormTypeValidatorExtensionTest.php:781$form = Forms::createFormFactoryBuilder( )->addExtension(new ValidatorExtension(Validation::createValidator( ), false))->getFormFactory( )->create(FormTypeTest::TESTED_TYPE, null, ['validation_groups' => new GroupSequence(['First', 'Second'])])->add('field', TextTypeTest::TESTED_TYPE, ['constraints' => [new Length(['min' => 10, 'groups' => ['First']]), new NotBlank(['groups' => ['Second']]), ], ])
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Tests/Transport/ConnectionTest.php:2401$series = [[[['QueueUrl' => 'https://sqs.us-east-2.amazonaws.com/123456789012/MyQueue', 'VisibilityTimeout' => null, 'MaxNumberOfMessages' => 9, 'MessageAttributeNames' => ['All'], 'WaitTimeSeconds' => 20]], $firstResult], [[['QueueUrl' => 'https://sqs.us-east-2.amazonaws.com/123456789012/MyQueue', 'VisibilityTimeout' => null, 'MaxNumberOfMessages' => 9, 'MessageAttributeNames' => ['All'], 'WaitTimeSeconds' => 20]], $secondResult], ]
/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php:4061$form = $this->formFactory->create(FormType::class, null, ['validation_groups' => new GroupSequence(['group1']), ])->add('field1', null, ['constraints' => [new Expression(['expression' => '!this.getParent().get("field2").getData()', 'groups' => ['group1'], ])], ])->add('field2')
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Tests/Transport/ConnectionTest.php:2331$firstResult = ResultMockFactory::create(ReceiveMessageResult::class, ['Messages' => [new Message(['MessageId' => 1, 'Body' => 'this is a test']), new Message(['MessageId' => 2, 'Body' => 'this is a test']), new Message(['MessageId' => 3, 'Body' => 'this is a test']), ]])
/src/Symfony/Component/Form/Tests/Extension/Csrf/Type/FormTypeCsrfExtensionTest.php:3341$prototypeView = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\CollectionType', null, ['entry_type' => __CLASS__ . '_ChildType', 'entry_options' => ['csrf_field_name' => 'csrf', ], 'prototype' => true, 'allow_add' => true, ])->createView( )->vars['prototype']
/src/Symfony/Component/Messenger/Tests/Handler/HandlersLocatorTest.php:651$locator = new HandlersLocator([str_replace('DummyMessage', '*', DummyMessage::class) => [$first = new HandlerDescriptor($firstHandler, ['alias' => 'one']), ], str_replace('Fixtures\\DummyMessage', '*', DummyMessage::class) => [$second = new HandlerDescriptor($secondHandler, ['alias' => 'two']), ], ])
/src/Symfony/Component/Form/Tests/Extension/Csrf/Type/FormTypeCsrfExtensionTest.php:2951$form = $this->factory->createNamedBuilder('root', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add($this->factory->createNamedBuilder('form', 'Symfony\Component\Form\Extension\Core\Type\FormType', null, ['csrf_field_name' => 'csrf', 'csrf_token_manager' => $this->tokenManager, 'csrf_token_id' => 'TOKEN_ID', 'compound' => true, ]))->getForm( )->get('form')
/src/Symfony/Component/Messenger/Tests/Handler/HandlersLocatorTest.php:411$locator = new HandlersLocator([DummyMessage::class => [$first = new HandlerDescriptor($firstHandler, ['alias' => 'one']), new HandlerDescriptor($this->createPartialMock(HandlersLocatorTestCallable::class, ['__invoke']), ['from_transport' => 'ignored', 'alias' => 'two']), $second = new HandlerDescriptor($secondHandler, ['from_transport' => 'transportName', 'alias' => 'three']), ], ])
/src/Symfony/Component/Form/Tests/Extension/Csrf/Type/FormTypeCsrfExtensionTest.php:2682$form = $this->factory->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType', null, ['csrf_field_name' => 'csrf', 'csrf_token_manager' => $this->tokenManager, 'csrf_token_id' => 'TOKEN_ID', 'compound' => true, ])->add('child', 'Symfony\Component\Form\Extension\Core\Type\TextType')->getForm( )
/src/Symfony/Component/Messenger/Tests/WorkerTest.php:3041$receiver = new DummyReceiver([[new Envelope($apiMessage), new Envelope($apiMessage)], [ ], [ ], [new Envelope($apiMessage)], [new Envelope($apiMessage)], [ ], [new Envelope($apiMessage)], ])
/src/Symfony/Component/Form/Tests/Extension/Csrf/Type/FormTypeCsrfExtensionTest.php:1792$form = $this->factory->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType', null, ['csrf_field_name' => 'csrf', 'csrf_token_manager' => $this->tokenManager, 'csrf_token_id' => 'TOKEN_ID', 'compound' => true, ])->add('child', 'Symfony\Component\Form\Extension\Core\Type\TextType')->getForm( )
/src/Symfony/Component/Messenger/Tests/WorkerTest.php:2551$series = [$this->isInstanceOf(WorkerStartedEvent::class), $this->isInstanceOf(WorkerMessageReceivedEvent::class), $this->isInstanceOf(WorkerMessageFailedEvent::class), $this->isInstanceOf(WorkerRunningEvent::class), $this->isInstanceOf(WorkerStoppedEvent::class), ]
/src/Symfony/Bridge/Twig/Command/DebugCommand.php:5611return strspn($file, '/\\', 0, 1) || (\strlen($file) > 3 && ctype_alpha($file[0]) && ':' === $file[1] && strspn($file, '/\\', 2, 1)) || null !== parse_url($file, \PHP_URL_SCHEME)
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.php:2431yield 'single with invalid constraint shows as problem' => [[self::createRemoteEntry('foo', version : '1.0.0'), self::createRemoteEntry('bar', version : '1.5.0'), ], ['foo' => ['bar'], 'bar' => [ ], ], [['url' => '/foo/1.0.0', 'response' => ['dependencies' => ['bar' => 'some/repo'], ], ], ], [new PackageVersionProblem('foo', 'bar', 'some/repo', '1.5.0'), ], ]
/src/Symfony/Bridge/Twig/Tests/Node/SearchAndRenderBlockNodeTest.php:2401$arguments = new Node([new NameExpression('form', 0), new ConditionalExpression(new ConstantExpression(true, 0), new ConstantExpression(null, 0), new ConstantExpression(null, 0), 0), new ArrayExpression([new ConstantExpression('foo', 0), new ConstantExpression('bar', 0), new ConstantExpression('label', 0), new ConstantExpression('value in attributes', 0), ], 0), ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.php:2231yield 'single with npm-style constraint' => [[self::createRemoteEntry('foo', version : '1.0.0'), self::createRemoteEntry('bar', version : '1.5.0'), ], ['foo' => ['bar'], 'bar' => [ ], ], [['url' => '/foo/1.0.0', 'response' => ['dependencies' => ['bar' => '1.0.0 - v2.0.0'], ], ], ], [ ], ]
/src/Symfony/Contracts/Tests/Service/ServiceSubscriberTraitTest.php:281$expected = [TestService::class . '::aService' => Service2::class, TestService::class . '::nullableService' => '?' . Service2::class, new SubscribedService(TestService::class . '::withAttribute', Service2::class, true, new Required( )), ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:601yield 'require single lodash package' => ['packages' => [new PackageRequireOptions('lodash')], 'expectedRequests' => [['url' => '/v1/packages/npm/lodash/resolved', 'response' => ['body' => ['version' => '1.2.3']], ], ['url' => '/lodash@1.2.3/+esm', ], ['url' => '/v1/packages/npm/lodash@1.2.3/entrypoints', 'response' => ['body' => ['entrypoints' => [ ]]], ], ], 'expectedResolvedPackages' => ['lodash' => ['version' => '1.2.3', ], ], ]
/src/Symfony/Contracts/Translation/Test/TranslatorTest.php:1511return [['foo', 3, '{1,2, 3 ,4}'], ['bar', 10, '{1,2, 3 ,4}'], ['bar', 3, '[1,2]'], ['foo', 1, '[1,2]'], ['foo', 2, '[1,2]'], ['bar', 1, ']1,2['], ['bar', 2, ']1,2['], ['foo', log(0), '[-Inf,2['], ['foo', -log(0), '[-2,+Inf]'], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapUpdateCheckerTest.php:1901$map = ['https://registry.npmjs.org/@hotwired/stimulus' => new JsonMockResponse(['dist-tags' => ['latest' => '4.0.1'], ]), 'https://registry.npmjs.org/json5' => new JsonMockResponse(['dist-tags' => ['latest' => '1.2.0'], ]), 'https://registry.npmjs.org/bootstrap' => new JsonMockResponse(['dist-tags' => ['latest' => '5.3.2'], ]), 'https://registry.npmjs.org/lodash' => new JsonMockResponse(['dist-tags' => ['latest' => '4.17.21'], ]), ]
/src/Symfony/Bridge/Twig/Tests/Mime/NotificationEmailTest.php:441$email = unserialize(serialize((new NotificationEmail( ))->content('Foo', true)->exception(new \Exception( ))->importance(NotificationEmail::IMPORTANCE_HIGH)->action('Bar', 'http://example.com/')->context(['a' => 'b'])->theme('example')))
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.php:1501yield 'single with missing dependency' => [[self::createRemoteEntry('foo', version : '1.0.0'), ], ['foo' => ['bar'], ], [['url' => '/foo/1.0.0', 'response' => ['dependencies' => ['bar' => '^2.0.0'], ], ], ], [new PackageVersionProblem('foo', 'bar', '^2.0.0', null), ], ]
/src/Symfony/Bridge/Twig/Tests/Mime/NotificationEmailTest.php:211$email = (new NotificationEmail( ))->markdown('Foo')->exception(new \Exception( ))->importance(NotificationEmail::IMPORTANCE_HIGH)->action('Bar', 'http://example.com/')->context(['a' => 'b'])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.php:1281yield 'single with dependency & different package specifier with problem' => [[self::createRemoteEntry('foo', version : '1.0.0', packageModuleSpecifier : 'foo_package'), self::createRemoteEntry('bar', version : '1.5.0', packageModuleSpecifier : 'bar_package'), ], ['foo' => ['bar'], 'bar' => [ ], ], [['url' => '/foo_package/1.0.0', 'response' => ['dependencies' => ['bar_package' => '^2.0.0'], ], ], ], [new PackageVersionProblem('foo_package', 'bar_package', '^2.0.0', '1.5.0'), ], ]
/src/Symfony/Bridge/Twig/Tests/Node/SearchAndRenderBlockNodeTest.php:1821$arguments = new Node([new NameExpression('form', 0), new ConstantExpression('value in argument', 0), new ArrayExpression([new ConstantExpression('foo', 0), new ConstantExpression('bar', 0), new ConstantExpression('label', 0), new ConstantExpression('value in attributes', 0), ], 0), ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.php:2011yield 'single with problem on peerDependency' => [[self::createRemoteEntry('foo', version : '1.0.0'), self::createRemoteEntry('bar', version : '1.5.0'), ], ['foo' => ['bar'], 'bar' => [ ], ], [['url' => '/foo/1.0.0', 'response' => ['peerDependencies' => ['bar' => '^2.0.0'], ], ], ], [new PackageVersionProblem('foo', 'bar', '^2.0.0', '1.5.0'), ], ]
/src/Symfony/Bridge/Twig/Tests/TokenParser/FormThemeTokenParserTest.php:451return [['{% form_theme form "tpl1" %}', new FormThemeNode(new NameExpression('form', 1), new ArrayExpression([new ConstantExpression(0, 1), new ConstantExpression('tpl1', 1), ], 1), 1, 'form_theme'), ], ['{% form_theme form "tpl1" "tpl2" %}', new FormThemeNode(new NameExpression('form', 1), new ArrayExpression([new ConstantExpression(0, 1), new ConstantExpression('tpl1', 1), new ConstantExpression(1, 1), new ConstantExpression('tpl2', 1), ], 1), 1, 'form_theme'), ], ['{% form_theme form with "tpl1" %}', new FormThemeNode(new NameExpression('form', 1), new ConstantExpression('tpl1', 1), 1, 'form_theme'), ], ['{% form_theme form with ["tpl1"] %}', new FormThemeNode(new NameExpression('form', 1), new ArrayExpression([new ConstantExpression(0, 1), new ConstantExpression('tpl1', 1), ], 1), 1, 'form_theme'), ], ['{% form_theme form with ["tpl1", "tpl2"] %}', new FormThemeNode(new NameExpression('form', 1), new ArrayExpression([new ConstantExpression(0, 1), new ConstantExpression('tpl1', 1), new ConstantExpression(1, 1), new ConstantExpression('tpl2', 1), ], 1), 1, 'form_theme'), ], ['{% form_theme form with ["tpl1", "tpl2"] only %}', new FormThemeNode(new NameExpression('form', 1), new ArrayExpression([new ConstantExpression(0, 1), new ConstantExpression('tpl1', 1), new ConstantExpression(1, 1), new ConstantExpression('tpl2', 1), ], 1), 1, 'form_theme', true), ], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.php:1701yield 'multiple package and problems' => [[self::createRemoteEntry('foo', version : '1.0.0'), self::createRemoteEntry('bar', version : '1.5.0'), self::createRemoteEntry('baz', version : '2.0.0'), ], ['foo' => ['bar'], 'bar' => ['baz'], 'baz' => [ ], ], [['url' => '/foo/1.0.0', 'response' => ['dependencies' => ['bar' => '^2.0.0'], ], ], ['url' => '/bar/1.5.0', 'response' => ['dependencies' => ['baz' => '^1.0.0'], ], ], ], [new PackageVersionProblem('foo', 'bar', '^2.0.0', '1.5.0'), new PackageVersionProblem('bar', 'baz', '^1.0.0', '2.0.0'), ], ]
/src/Symfony/Bridge/Twig/Tests/NodeVisitor/TranslationNodeVisitorTest.php:591return [[TwigNodeProvider::getTransFilter($message), [[$message, null]]], [TwigNodeProvider::getTransTag($message), [[$message, null]]], [TwigNodeProvider::getTransFilter($message, $domain), [[$message, $domain]]], [TwigNodeProvider::getTransTag($message, $domain), [[$message, $domain]]], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:1951yield 'require single CSS package' => ['packages' => [new PackageRequireOptions('bootstrap/dist/css/bootstrap.min.css')], 'expectedRequests' => [['url' => '/v1/packages/npm/bootstrap/resolved', 'response' => ['body' => ['version' => '3.3.0']], ], ['url' => '/bootstrap@3.3.0/dist/css/bootstrap.min.css', ], ], 'expectedResolvedPackages' => ['bootstrap/dist/css/bootstrap.min.css' => ['version' => '3.3.0', ], ], ]
/src/Symfony/Bridge/Twig/Tests/NodeVisitor/TranslationDefaultDomainNodeVisitorTest.php:811return [[TwigNodeProvider::getTransFilter(self::$message)], [TwigNodeProvider::getTransTag(self::$message)], [TwigNodeProvider::getTransFilter(self::$message, null, ['arguments' => new ArrayExpression([ ], 0), ])], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:1621yield 'require package that imports another' => ['packages' => [new PackageRequireOptions('@chart/chart.js/auto', '^3')], 'expectedRequests' => [['url' => '/v1/packages/npm/@chart/chart.js/resolved?specifier=%5E3', 'response' => ['body' => ['version' => '3.0.1']], ], ['url' => '/@chart/chart.js@3.0.1/auto/+esm', 'response' => ['body' => 'import{Color as t}from"/npm/@kurkle/color@0.3.2/+esm";function e(){}const i=(()='], ], ['url' => '/v1/packages/npm/@kurkle/color/resolved?specifier=0.3.2', 'response' => ['body' => ['version' => '0.3.2']], ], ['url' => '/@kurkle/color@0.3.2/+esm', ], ['url' => '/v1/packages/npm/@kurkle/color@0.3.2/entrypoints', 'response' => ['body' => ['entrypoints' => [ ]]], ], ], 'expectedResolvedPackages' => ['@chart/chart.js/auto' => ['version' => '3.0.1', ], '@kurkle/color' => ['version' => '0.3.2', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Translation/TwigExtractorTest.php:1461return [[$directory . 'with_translations.html.twig'], [[$directory . 'with_translations.html.twig']], [[new \SplFileInfo($directory . 'with_translations.html.twig')]], [new \ArrayObject([$directory . 'with_translations.html.twig'])], [new \ArrayObject([new \SplFileInfo($directory . 'with_translations.html.twig')])], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:2491yield 'require path in package skips grabbing the style key' => ['packages' => [new PackageRequireOptions('bootstrap/dist/modal.js', '^5')], 'expectedRequests' => [['url' => '/v1/packages/npm/bootstrap/resolved?specifier=%5E5', 'response' => ['body' => ['version' => '5.2.0']], ], ['url' => '/bootstrap@5.2.0/dist/modal.js/+esm', ], ], 'expectedResolvedPackages' => ['bootstrap/dist/modal.js' => ['version' => '5.2.0', ], ], ]
/src/Symfony/Bridge/Twig/Tests/NodeVisitor/TwigNodeProvider.php:281return new ModuleNode(new ConstantExpression($content, 0), null, new ArrayExpression([ ], 0), new ArrayExpression([ ], 0), new ArrayExpression([ ], 0), null, new Source('', ''))
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:2141yield 'require package with style key grabs the CSS' => ['packages' => [new PackageRequireOptions('bootstrap', '^5')], 'expectedRequests' => [['url' => '/v1/packages/npm/bootstrap/resolved?specifier=%5E5', 'response' => ['body' => ['version' => '5.2.0']], ], ['url' => '/bootstrap@5.2.0/+esm', ], ['url' => '/v1/packages/npm/bootstrap@5.2.0/entrypoints', 'response' => ['body' => ['entrypoints' => ['css' => ['file' => '/dist/css/bootstrap.min.css', 'guessed' => false], ]]], ], ['url' => '/v1/packages/npm/bootstrap/resolved?specifier=5.2.0', 'response' => ['body' => ['version' => '5.2.0']], ], ['url' => '/bootstrap@5.2.0/dist/css/bootstrap.min.css', ], ], 'expectedResolvedPackages' => ['bootstrap' => ['version' => '5.2.0', ], 'bootstrap/dist/css/bootstrap.min.css' => ['version' => '5.2.0', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractTableLayoutTestCase.php:2291$view = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType')->setMethod('PUT')->setAction('http://example.com')->add('firstName', 'Symfony\Component\Form\Extension\Core\Type\TextType')->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType')->getForm( )->createView( )
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:1041yield 'require scoped package with version' => ['packages' => [new PackageRequireOptions('@hotwired/stimulus', '^3')], 'expectedRequests' => [['url' => '/v1/packages/npm/@hotwired/stimulus/resolved?specifier=%5E3', 'response' => ['body' => ['version' => '3.1.3']], ], ['url' => '/@hotwired/stimulus@3.1.3/+esm', ], ['url' => '/v1/packages/npm/@hotwired/stimulus@3.1.3/entrypoints', 'response' => ['body' => ['entrypoints' => [ ]]], ], ], 'expectedResolvedPackages' => ['@hotwired/stimulus' => ['version' => '3.1.3', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractTableLayoutTestCase.php:1502$view = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add('field1', 'Symfony\Component\Form\Extension\Core\Type\TextType')->add('field2', 'Symfony\Component\Form\Extension\Core\Type\RepeatedType')->add('field3', 'Symfony\Component\Form\Extension\Core\Type\TextType')->add('field4', 'Symfony\Component\Form\Extension\Core\Type\TextType')->getForm( )->createView( )
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:821yield 'require non-scoped package with version' => ['packages' => [new PackageRequireOptions('lodash', '^2')], 'expectedRequests' => [['url' => '/v1/packages/npm/lodash/resolved?specifier=%5E2', 'response' => ['body' => ['version' => '2.1.3']], ], ['url' => '/lodash@2.1.3/+esm', ], ['url' => '/v1/packages/npm/lodash@2.1.3/entrypoints', 'response' => ['body' => ['entrypoints' => [ ]]], ], ], 'expectedResolvedPackages' => ['lodash' => ['version' => '2.1.3', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractTableLayoutTestCase.php:3442$form = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add($this->factory->createNamedBuilder('child', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add($this->factory->createNamedBuilder('grandchild', 'Symfony\Component\Form\Extension\Core\Type\TextType')))->getForm( )
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:1441yield 'require scoped package with path' => ['packages' => [new PackageRequireOptions('@chart/chart.js/auto', '^3')], 'expectedRequests' => [['url' => '/v1/packages/npm/@chart/chart.js/resolved?specifier=%5E3', 'response' => ['body' => ['version' => '3.0.1']], ], ['url' => '/@chart/chart.js@3.0.1/auto/+esm', ], ], 'expectedResolvedPackages' => ['@chart/chart.js/auto' => ['version' => '3.0.1', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractTableLayoutTestCase.php:3182$form = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add($this->factory->createNamedBuilder('child', 'Symfony\Component\Form\Extension\Core\Type\FormType', null, ['error_bubbling' => false])->add('grandChild', 'Symfony\Component\Form\Extension\Core\Type\FormType'))->getForm( )
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:1261yield 'require non-scoped package with path' => ['packages' => [new PackageRequireOptions('chart.js/auto', '^3')], 'expectedRequests' => [['url' => '/v1/packages/npm/chart.js/resolved?specifier=%5E3', 'response' => ['body' => ['version' => '3.0.1']], ], ['url' => '/chart.js@3.0.1/auto/+esm', ], ], 'expectedResolvedPackages' => ['chart.js/auto' => ['version' => '3.0.1', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:8561$form = $this->factory->createNamed('name', ChoiceType::class, ['&a'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'choice_label' => function ($choice, $label, $value) { /**/ } , 'multiple' => true, 'expanded' => true, ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:4161yield 'it processes imports recursively' => [[self::createLocalEntry('app', path : 'app.js', ), ], [new MappedAsset('app.js', publicPath : '/assets/app-d1g3st.js', javaScriptImports : [new JavaScriptImport('/assets/imports_simple.js', assetLogicalPath : $eagerImportsSimpleAsset->logicalPath, assetSourcePath : $eagerImportsSimpleAsset->sourcePath, isLazy : true, addImplicitlyToImportMap : true)]), $eagerImportsSimpleAsset, $simpleAsset, ], ['app' => ['path' => '/assets/app-d1g3st.js', 'type' => 'js', ], '/assets/imports_simple.js' => ['path' => '/assets/imports_simple-d1g3st.js', 'type' => 'js', ], '/assets/simple.js' => ['path' => '/assets/simple-d1g3st.js', 'type' => 'js', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:9301$form = $this->factory->createNamed('name', ChoiceType::class, ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'multiple' => true, 'expanded' => true, 'required' => true, 'choice_translation_domain' => false, ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:4481yield 'it process can skip adding one importmap entry but still add a child' => [[self::createLocalEntry('app', path : 'app.js', ), self::createLocalEntry('imports_simple', path : 'imports_simple.js', ), ], [new MappedAsset('app.js', publicPath : '/assets/app-d1g3st.js', javaScriptImports : [new JavaScriptImport('imports_simple', assetLogicalPath : $eagerImportsSimpleAsset->logicalPath, assetSourcePath : $eagerImportsSimpleAsset->logicalPath, isLazy : true, addImplicitlyToImportMap : false)]), $eagerImportsSimpleAsset, $simpleAsset, ], ['app' => ['path' => '/assets/app-d1g3st.js', 'type' => 'js', ], '/assets/simple.js' => ['path' => '/assets/simple-d1g3st.js', 'type' => 'js', ], 'imports_simple' => ['path' => '/assets/imports_simple-d1g3st.js', 'type' => 'js', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:9701$form = $this->factory->createNamed('name', ChoiceType::class, ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => true, 'expanded' => true, 'required' => true, ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:4841yield 'imports with a module name are not added to the importmap' => [[self::createLocalEntry('app', path : 'app.js', ), ], [new MappedAsset('app.js', publicPath : '/assets/app-d1g3st.js', javaScriptImports : [new JavaScriptImport('simple', assetLogicalPath : $simpleAsset->logicalPath, assetSourcePath : $simpleAsset->sourcePath, isLazy : false)]), $simpleAsset, ], ['app' => ['path' => '/assets/app-d1g3st.js', 'type' => 'js', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/FormExtensionFieldHelpersTest.php:461$form = $this->factory->createNamedBuilder('register', FormType::class, $data)->add('username', TextType::class, ['label' => 'base.username', 'label_translation_parameters' => ['%label_brand%' => 'Symfony'], 'help' => 'base.username_help', 'help_translation_parameters' => ['%help_brand%' => 'Symfony'], 'translation_domain' => 'forms', ])->add('choice_flat', ChoiceType::class, ['choices' => ['base.yes' => 'yes', 'base.no' => 'no', ], 'choice_translation_domain' => 'forms', ])->add('choice_grouped', ChoiceType::class, ['choices' => ['base.europe' => ['base.fr' => 'fr', 'base.de' => 'de', ], 'base.asia' => ['base.cn' => 'cn', 'base.jp' => 'jp', ], ], 'choice_translation_domain' => 'forms', 'label_format' => 'label format for field "%name%" with id "%id%"', ])->add('choice_multiple', ChoiceType::class, ['choices' => ['base.sugar' => 'sugar', 'base.salt' => 'salt', ], 'multiple' => true, 'expanded' => true, 'label' => false, ])->getForm( )
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:5071yield 'it does not process dependencies of CSS files' => [[self::createLocalEntry('app.css', path : 'app.css', type : ImportMapType::CSS, ), ], [new MappedAsset('app.css', publicPath : '/assets/app-d1g3st.css', javaScriptImports : [new JavaScriptImport('/assets/simple.js', assetLogicalPath : $simpleAsset->logicalPath, assetSourcePath : $simpleAsset->sourcePath)]), ], ['app.css' => ['path' => '/assets/app-d1g3st.css', 'type' => 'css', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:6431$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'multiple' => false, 'expanded' => true, ])
/src/Symfony/Component/VarDumper/Dumper/ContextProvider/RequestContextProvider.php:441return ['uri' => $request->getUri( ), 'method' => $request->getMethod( ), 'controller' => $controller ? $this->cloner->cloneVar($controller) : $controller, 'identifier' => spl_object_hash($request), ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:6751$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'placeholder' => 'Test&Me', 'required' => false, ])
/src/Symfony/Component/AssetMapper/Tests/AssetMapperRepositoryTest.php:941$expectedAllAssets = array_map('realpath', ['file1.css' => __DIR__ . '/Fixtures/dir1/file1.css', 'file2.js' => __DIR__ . '/Fixtures/dir1/file2.js', 'already-abcdefVWXYZ0123456789.digested.css' => __DIR__ . '/Fixtures/dir2/already-abcdefVWXYZ0123456789.digested.css', 'file3.css' => __DIR__ . '/Fixtures/dir2/file3.css', 'file4.js' => __DIR__ . '/Fixtures/dir2/file4.js', 'subdir/file5.js' => __DIR__ . '/Fixtures/dir2/subdir/file5.js', 'subdir/file6.js' => __DIR__ . '/Fixtures/dir2/subdir/file6.js', 'test.gif.foo' => __DIR__ . '/Fixtures/dir3/test.gif.foo', ])
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:7151$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'required' => false, 'choice_translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:3531yield 'it adds dependency to the importmap' => [[self::createLocalEntry('app', path : 'app.js', ), ], [new MappedAsset('app.js', publicPath : '/assets/app-d1g3st.js', javaScriptImports : [new JavaScriptImport('/assets/simple.js', assetLogicalPath : $simpleAsset->logicalPath, assetSourcePath : $simpleAsset->sourcePath, isLazy : false, addImplicitlyToImportMap : true)]), $simpleAsset, ], ['app' => ['path' => '/assets/app-d1g3st.js', 'type' => 'js', ], '/assets/simple.js' => ['path' => '/assets/simple-d1g3st.js', 'type' => 'js', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:7871$form = $this->factory->createNamed('name', ChoiceType::class, ['&a', '&c'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'multiple' => true, 'expanded' => true, 'required' => true, ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:3801yield 'it adds dependency to the importmap from a remote asset' => [[self::createRemoteEntry('bootstrap', version : '1.2.3', path : '/assets/vendor/bootstrap.js'), ], [new MappedAsset('app.js', sourcePath : '/assets/vendor/bootstrap.js', publicPath : '/assets/vendor/bootstrap-d1g3st.js', javaScriptImports : [new JavaScriptImport('/assets/simple.js', assetLogicalPath : $simpleAsset->logicalPath, assetSourcePath : $simpleAsset->sourcePath, isLazy : false, addImplicitlyToImportMap : true)]), $simpleAsset, ], ['bootstrap' => ['path' => '/assets/vendor/bootstrap-d1g3st.js', 'type' => 'js', ], '/assets/simple.js' => ['path' => '/assets/simple-d1g3st.js', 'type' => 'js', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractDivLayoutTestCase.php:8082$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['&a'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'choice_label' => function ($choice, $label, $value) { /**/ } , 'multiple' => true, 'expanded' => true, ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php:1901yield 'single_package_with_version_constraint' => ['packages' => [new PackageRequireOptions('lodash', '^1.2.3')], 'expectedProviderPackageArgumentCount' => 1, 'resolvedPackages' => [self::resolvedPackage('lodash', '1.2.7'), ], 'expectedImportMap' => ['lodash' => ['version' => '1.2.7', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:3712$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => false, 'attr' => ['class' => 'bar&baz'], ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php:2031yield 'single_package_with_a_path' => ['packages' => [new PackageRequireOptions('some/module', path : self::$writableRoot . '/assets/some_file.js')], 'expectedProviderPackageArgumentCount' => 0, 'resolvedPackages' => [ ], 'expectedImportMap' => ['some/module' => ['path' => './assets/some_file.js', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:3941$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'multiple' => false, 'expanded' => true, 'attr' => ['class' => 'bar&baz'], ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.php:861yield 'single with dependency but no problem' => [[self::createRemoteEntry('foo', version : '1.0.0'), self::createRemoteEntry('bar', version : '1.5.0'), ], ['foo' => ['bar'], 'bar' => [ ], ], [['url' => '/foo/1.0.0', 'response' => ['dependencies' => ['bar' => '1.2.7 || 1.2.9- v2.0.0'], ], ], ], [ ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap4LayoutTestCase.php:5371$form = $this->factory->createNamed('name', ChoiceType::class, '&a', ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'], 'choice_label' => function ($choice, $label, $value) { /**/ } , 'multiple' => false, 'expanded' => true, ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapVersionCheckerTest.php:1061yield 'single with dependency with problem' => [[self::createRemoteEntry('foo', version : '1.0.0'), self::createRemoteEntry('bar', version : '1.5.0'), ], ['foo' => ['bar'], 'bar' => [ ], ], [['url' => '/foo/1.0.0', 'response' => ['dependencies' => ['bar' => '^2.0.0'], ], ], ], [new PackageVersionProblem('foo', 'bar', '^2.0.0', '1.5.0'), ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php:8821$form = $this->factory->createNamed('name', ChoiceType::class, ['&a'], ['choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'], 'choice_attr' => ['Choice&B' => ['class' => 'foo&bar']], 'required' => true, 'multiple' => true, 'expanded' => false, ])
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapGeneratorTest.php:6811yield 'an entry recursive dependencies are deduplicated' => [new MappedAsset('app.js', publicPath : '/assets/app.js', javaScriptImports : [new JavaScriptImport('/assets/imports_simple.js', assetLogicalPath : $importsSimpleAsset->logicalPath, assetSourcePath : $importsSimpleAsset->sourcePath, isLazy : false), new JavaScriptImport('/assets/imports_simple2.js', assetLogicalPath : $importsSimpleAsset2->logicalPath, assetSourcePath : $importsSimpleAsset2->sourcePath, isLazy : false), ]), ['/assets/imports_simple.js', '/assets/imports_simple2.js', '/assets/simple.js'], [$simpleAsset, $importsSimpleAsset, $importsSimpleAsset2], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractDivLayoutTestCase.php:1032$view = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add('field1', 'Symfony\Component\Form\Extension\Core\Type\TextType')->add('field2', 'Symfony\Component\Form\Extension\Core\Type\RepeatedType')->add('field3', 'Symfony\Component\Form\Extension\Core\Type\TextType')->add('field4', 'Symfony\Component\Form\Extension\Core\Type\TextType')->getForm( )->createView( )
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php:1431yield 'require single lodash package' => ['packages' => [new PackageRequireOptions('lodash')], 'expectedProviderPackageArgumentCount' => 1, 'resolvedPackages' => [self::resolvedPackage('lodash', '1.2.3'), ], 'expectedImportMap' => ['lodash' => ['version' => '1.2.3', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractDivLayoutTestCase.php:4522$form = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add($this->factory->createNamedBuilder('child', 'Symfony\Component\Form\Extension\Core\Type\FormType', null, ['error_bubbling' => false])->add('grandChild', 'Symfony\Component\Form\Extension\Core\Type\FormType'))->getForm( )
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php:1561yield 'require two packages' => ['packages' => [new PackageRequireOptions('lodash'), new PackageRequireOptions('cowsay')], 'expectedProviderPackageArgumentCount' => 2, 'resolvedPackages' => [self::resolvedPackage('lodash', '1.2.3'), self::resolvedPackage('cowsay', '4.5.6'), ], 'expectedImportMap' => ['lodash' => ['version' => '1.2.3', ], 'cowsay' => ['version' => '4.5.6', ], ], ]
/src/Symfony/Bridge/Twig/Tests/Extension/AbstractDivLayoutTestCase.php:4782$form = $this->factory->createNamedBuilder('name', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add($this->factory->createNamedBuilder('child', 'Symfony\Component\Form\Extension\Core\Type\FormType')->add($this->factory->createNamedBuilder('grandchild', 'Symfony\Component\Form\Extension\Core\Type\TextType')))->getForm( )
/src/Symfony/Component/AssetMapper/Tests/ImportMap/ImportMapManagerTest.php:1731yield 'single_package_that_returns_as_two' => ['packages' => [new PackageRequireOptions('lodash')], 'expectedProviderPackageArgumentCount' => 1, 'resolvedPackages' => [self::resolvedPackage('lodash', '1.2.3'), self::resolvedPackage('lodash-dependency', '9.8.7'), ], 'expectedImportMap' => ['lodash' => ['version' => '1.2.3', ], 'lodash-dependency' => ['version' => '9.8.7', ], ], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1871yield 'parameter found and backing value' => [Request::create('/', 'GET', ['suit' => 'H']), new ArgumentMetadata('suit', Suit::class, false, false, false, attributes : [new MapQueryParameter( )]), [Suit::Hearts], null, ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php:1281$expected = ['foo' => 'bar', 'values' => [true, false, \PHP_INT_MAX], 'bar' => '%foo%', 'escape' => '@escapeme', 'foo_bar' => new Reference('foo_bar'), 'mixedcase' => ['MixedCaseKey' => 'value'], 'imported_from_ini' => true, 'imported_from_xml' => true, 'with_wrong_ext' => 'from yaml', ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1791yield 'parameter found and boolean invalid' => [Request::create('/', 'GET', ['isVerified' => 'whatever']), new ArgumentMetadata('isVerified', 'bool', false, false, false, attributes : [new MapQueryParameter( )]), [ ], NotFoundHttpException::class, 'Invalid query parameter "isVerified".', ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php:1181$resolver = new LoaderResolver([new IniFileLoader($container, new FileLocator(self::$fixturesPath . '/ini')), new XmlFileLoader($container, new FileLocator(self::$fixturesPath . '/xml')), new PhpFileLoader($container, new FileLocator(self::$fixturesPath . '/php')), $loader = new YamlFileLoader($container, new FileLocator(self::$fixturesPath . '/yaml')), ])
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1551yield 'parameter found and boolean yes variadic' => [Request::create('/', 'GET', ['isVerified' => ['yes', 'yes']]), new ArgumentMetadata('isVerified', 'bool', true, false, false, attributes : [new MapQueryParameter( )]), [true, true], null, ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/LoaderResolverTest.php:351$this->resolver = new LoaderResolver([new XmlFileLoader($container, new FileLocator(self::$fixturesPath . '/xml')), new YamlFileLoader($container, new FileLocator(self::$fixturesPath . '/yaml')), new IniFileLoader($container, new FileLocator(self::$fixturesPath . '/ini')), new PhpFileLoader($container, new FileLocator(self::$fixturesPath . '/php')), new ClosureLoader($container), ])
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1431yield 'parameter found and float variadic' => [Request::create('/', 'GET', ['price' => [10.99, 5.99]]), new ArgumentMetadata('price', 'float', true, false, false, attributes : [new MapQueryParameter( )]), [10.99, 5.99], null, ]
/src/Symfony/Component/DependencyInjection/Tests/EnvVarProcessorTest.php:7881return [['', [ ]], [',', ['', '']], ['1', ['1']], ['1,2," 3 "', ['1', '2', ' 3 ']], ['\\,\\\\', ['\\', '\\\\']], [$complex, ['', '"', 'foo"', '\\"', '\\', 'foo\\']], [null, null], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1311yield 'parameter found and integer variadic' => [Request::create('/', 'GET', ['age' => [123, 222]]), new ArgumentMetadata('age', 'int', true, false, false, attributes : [new MapQueryParameter( )]), [123, 222], null, ]
/src/Symfony/Component/DependencyInjection/Argument/LazyClosure.php:901$code = 'new class(' . $initializer . ') extends \\' . self::class . $code . ' { ' . ($methodReflector->hasReturnType( ) && 'void' === (string) $methodReflector->getReturnType( ) ? '' : 'return ') . '$this->service->' . $callable[1] . '(' . $args . '); } ' . '}'
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1181yield 'parameter found and string variadic with regexp filter that does not match' => [Request::create('/', 'GET', ['firstName' => ['Fabien']]), new ArgumentMetadata('firstName', 'string', true, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_REGEXP, options : ['regexp' => '/John/'])]), [ ], NotFoundHttpException::class, 'Invalid query parameter "firstName".', ]
/src/Symfony/Component/DependencyInjection/Attribute/AutowireCallable.php:451return (new Definition($type = \is_string($this->lazy) ? $this->lazy : ($type ?: 'Closure')))->setFactory(['Closure', 'fromCallable'])->setArguments([\is_array($value) ? $value + [1 => '__invoke'] : $value])->setLazy($this->lazy || 'Closure' !== $type && 'callable' !== (string) $parameter->getType( ))
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1121yield 'parameter found and string variadic with regexp filter that falls back to null on failure' => [Request::create('/', 'GET', ['firstName' => ['John', 'Fabien']]), new ArgumentMetadata('firstName', 'string', true, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_REGEXP, flags : \FILTER_NULL_ON_FAILURE, options : ['regexp' => '/John/'])]), ['John'], null, ]
/src/Symfony/Component/DependencyInjection/Extension/ExtensionTrait.php:571$resolver = new LoaderResolver([new XmlFileLoader($container, $locator, $env), new YamlFileLoader($container, $locator, $env), new IniFileLoader($container, $locator, $env), new PhpFileLoader($container, $locator, $env, new ConfigBuilderGenerator($buildDir)), new GlobFileLoader($container, $locator, $env), new DirectoryLoader($container, $locator, $env), new ClosureLoader($container, $env), ])
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1061yield 'parameter found and string variadic with regexp filter that matches' => [Request::create('/', 'GET', ['firstName' => ['John', 'John']]), new ArgumentMetadata('firstName', 'string', true, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_REGEXP, flags : \FILTER_NULL_ON_FAILURE, options : ['regexp' => '/John/'])]), ['John', 'John'], null, ]
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:16421$result = $service->{$call[0]}(...$this->doResolveServices($this->getParameterBag( )->unescapeValue($this->getParameterBag( )->resolveValue($call[1])), $inlineServices))
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:991yield 'parameter found and string with regexp filter that does not match' => [Request::create('/', 'GET', ['firstName' => 'Fabien']), new ArgumentMetadata('firstName', 'string', false, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_REGEXP, options : ['regexp' => '/John/'])]), [ ], NotFoundHttpException::class, 'Invalid query parameter "firstName".', ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/IniFileLoaderTest.php:631return [['true_comment', true, true], ['true', true, true], ['false', false, true], ['on', true, true], ['off', false, true], ['yes', true, true], ['no', false, true], ['none', false, true], ['null', null, true], ['constant', \PHP_VERSION, true], ['12_int', 12, true], ['12_string', '12', true], ['12_quoted_number', 12, false], ['12_comment', 12, true], ['12_string_comment', '12', true], ['12_quoted_number_comment', 12, false], ['-12_negative', -12, true], ['one', 1, true], ['zero', 0, true], ['0b0110_byte_string', bindec('0b0110'), false], ['11112222333344445555_great_number', '1111,2222,3333,4444,5555', true], ['0777_number_starting_with_0', 0777, false], ['255_hexadecimal', 0xFF, false], ['100.0_exponential', 1e2, false], ['-120.0_exponential', -1.2E2, false], ['-10100.1_negative_float', -10100.1, false], ['-10,100.1_negative_float', '-10,100.1', true], ['list', [1, 2], true], ['map', ['one' => 1, 'two' => 2], true], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:931yield 'parameter found and string with regexp filter that falls back to null on failure' => [Request::create('/', 'GET', ['firstName' => 'Fabien']), new ArgumentMetadata('firstName', 'string', false, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_REGEXP, flags : \FILTER_NULL_ON_FAILURE, options : ['regexp' => '/John/'])]), [null], null, ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php:12121return [['bar1', ['item.1', 'item.2']], ['bar2', ['item.1', 'item.2']], ['bar3', ['item.1', 'item.2', 'item.3', 'item.4']], ['bar4', ['item.1', 'item.3', 'item.4']], ['bar5', ['item.1', 'item.2', ['item.3.1', 'item.3.2']]], ['bar6', ['item.1', ['item.2.1', 'item.2.2'], 'item.3']], ['bar7', new IteratorArgument(['item.1', 'item.2'])], ['bar8', new IteratorArgument(['item.1', 'item.2', ['item.3.1', 'item.3.2']])], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:871yield 'parameter found and string with regexp filter that matches' => [Request::create('/', 'GET', ['firstName' => 'John']), new ArgumentMetadata('firstName', 'string', false, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_REGEXP, flags : \FILTER_NULL_ON_FAILURE, options : ['regexp' => '/John/'])]), ['John'], null, ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php:8121$globResource = new GlobResource($fixturesDir . 'Prototype', '/*', true, false, [str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'BadClasses') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'OtherDir') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'SinglyImplementedInterface') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'StaticConstructor') => true, ])
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:811yield 'parameter found and string variadic' => [Request::create('/', 'GET', ['ids' => ['1', '2']]), new ArgumentMetadata('ids', 'string', true, false, false, attributes : [new MapQueryParameter( )]), ['1', '2'], null, ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php:7761$globResource = new GlobResource($fixturesDir . 'Prototype', '/*', true, false, [str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'OtherDir') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'BadClasses') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'SinglyImplementedInterface') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'StaticConstructor') => true, ])
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:681yield 'parameter found and array variadic with parameter not array failure' => [Request::create('/', 'GET', ['ids' => [['1', '2'], 1]]), new ArgumentMetadata('ids', 'array', true, false, false, attributes : [new MapQueryParameter( )]), [ ], NotFoundHttpException::class, 'Invalid query parameter "ids".', ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/XmlFileLoaderTest.php:1561$resolver = new LoaderResolver([new IniFileLoader($container, new FileLocator(self::$fixturesPath . '/ini')), new YamlFileLoader($container, new FileLocator(self::$fixturesPath . '/yml')), $loader = new XmlFileLoader($container, new FileLocator(self::$fixturesPath . '/xml')), ])
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:621yield 'parameter found and array variadic' => [Request::create('/', 'GET', ['ids' => [['1', '2'], ['2']]]), new ArgumentMetadata('ids', 'array', true, false, false, attributes : [new MapQueryParameter( )]), [['1', '2'], ['2']], null, ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/FileLoaderTest.php:701$expected = ['a_string' => 'a string', 'foo' => 'bar', 'values' => [0, 'integer' => 4, 100 => null, 'true', true, false, 'on', 'off', 'float' => 1.3, 1000.3, 'a string', ['foo', 'bar'], ], 'mixedcase' => ['MixedCaseKey' => 'value'], 'constant' => \PHP_EOL, 'bar' => '%foo%', 'escape' => '@escapeme', 'foo_bar' => new Reference('foo_bar'), ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:561yield 'parameter found and array' => [Request::create('/', 'GET', ['ids' => ['1', '2']]), new ArgumentMetadata('ids', 'array', false, false, false, attributes : [new MapQueryParameter( )]), [['1', '2']], null, ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/FileLoaderTest.php:591$resolver = new LoaderResolver([new IniFileLoader($container, new FileLocator(self::$fixturesPath . '/ini')), new XmlFileLoader($container, new FileLocator(self::$fixturesPath . '/xml')), new PhpFileLoader($container, new FileLocator(self::$fixturesPath . '/php')), new YamlFileLoader($container, new FileLocator(self::$fixturesPath . '/yaml')), ])
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/UidValueResolverTest.php:631return [[$uuidV1 = new UuidV1( ), (string) $uuidV1], [$uuidV1, $uuidV1->toBase58( )], [$uuidV1, $uuidV1->toBase32( )], [$ulid = Ulid::fromBase32('01FQC6Y03WDZ73DQY9RXQMPHB1'), (string) $ulid], [$ulid, $ulid->toBase58( )], [$ulid, $ulid->toRfc4122( )], [$customUid = new TestCustomUid( ), (string) $customUid], [$customUid, $customUid->toBase58( )], [$customUid, $customUid->toBase32( )], ]
/src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php:5471$globResource = new GlobResource($fixturesDir . 'Prototype', '', true, false, [str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'BadClasses') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'OtherDir') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'SinglyImplementedInterface') => true, str_replace(\DIRECTORY_SEPARATOR, '/', $prototypeRealPath . \DIRECTORY_SEPARATOR . 'StaticConstructor') => true, ])
/src/Symfony/Component/HttpKernel/Tests/Controller/ControllerResolverTest.php:1721return [['foo', \Error::class, 'Class "foo" not found'], ['oof::bar', \Error::class, 'Class "oof" not found'], [['oof', 'bar'], \Error::class, 'Class "oof" not found'], ['Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::staticsAction', \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Expected method "staticsAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest", did you mean "staticAction"?'], ['Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::privateAction', \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Method "privateAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" should be public and non-abstract'], ['Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::protectedAction', \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Method "protectedAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" should be public and non-abstract'], ['Symfony\Component\HttpKernel\Tests\Controller\ControllerTest::undefinedAction', \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Expected method "undefinedAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest". Available methods: "publicAction", "staticAction"'], ['Symfony\Component\HttpKernel\Tests\Controller\ControllerTest', \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Controller class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" cannot be called without a method name. You need to implement "__invoke" or use one of the available methods: "publicAction", "staticAction".'], [[$controller, 'staticsAction'], \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Expected method "staticsAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest", did you mean "staticAction"?'], [[$controller, 'privateAction'], \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Method "privateAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" should be public and non-abstract'], [[$controller, 'protectedAction'], \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Method "protectedAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" should be public and non-abstract'], [[$controller, 'undefinedAction'], \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Expected method "undefinedAction" on class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest". Available methods: "publicAction", "staticAction"'], [$controller, \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Controller class "Symfony\Component\HttpKernel\Tests\Controller\ControllerTest" cannot be called without a method name. You need to implement "__invoke" or use one of the available methods: "publicAction", "staticAction".'], [['a' => 'foo', 'b' => 'bar'], \InvalidArgumentException::class, 'The controller for URI "/" is not callable: Invalid array callable, expected [controller, method].'], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:3971yield 'make imports point to file and relative' => [['twig' => self::createRemoteEntry('twig', version : '1.16.0'), ], [['url' => '/twig@1.16.0/+esm', 'body' => 'import e from"/npm/locutus@2.0.16/php/strings/sprintf/+esm";console.log()', ], ], ['twig' => ['content' => 'import e from"locutus/php/strings/sprintf";console.log()', 'dependencies' => ['locutus/php/strings/sprintf'], 'extraFiles' => [ ], ], ], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/UidValueResolverTest.php:371return ['Variadic argument' => [false, new Request([ ], [ ], ['foo' => (string) $uuidV4 = new UuidV4( )]), new ArgumentMetadata('foo', UuidV4::class, true, false, null)], 'No attribute for argument' => [false, new Request([ ], [ ], [ ]), new ArgumentMetadata('foo', UuidV4::class, false, false, null)], 'Attribute is not a string' => [false, new Request([ ], [ ], ['foo' => ['bar']]), new ArgumentMetadata('foo', UuidV4::class, false, false, null)], 'Argument has no type' => [false, new Request([ ], [ ], ['foo' => (string) $uuidV4]), new ArgumentMetadata('foo', null, false, false, null)], 'Argument type is not a class' => [false, new Request([ ], [ ], ['foo' => (string) $uuidV4]), new ArgumentMetadata('foo', 'string', false, false, null)], 'Argument type is not a subclass of AbstractUid' => [false, new Request([ ], [ ], ['foo' => (string) $uuidV4]), new ArgumentMetadata('foo', UlidFactory::class, false, false, null)], 'AbstractUid is not supported' => [false, new Request([ ], [ ], ['foo' => (string) $uuidV4]), new ArgumentMetadata('foo', AbstractUid::class, false, false, null)], 'Known subclass' => [true, new Request([ ], [ ], ['foo' => (string) $uuidV4]), new ArgumentMetadata('foo', UuidV4::class, false, false, null)], 'Format does not matter' => [true, new Request([ ], [ ], ['foo' => (string) $uuidV4]), new ArgumentMetadata('foo', Ulid::class, false, false, null)], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:4161yield 'js sourcemap is removed' => [['@chart.js/auto' => self::createRemoteEntry('chart.js/auto', version : '1.2.3'), ], [['url' => '/chart.js@1.2.3/auto/+esm', 'body' => 'as Ticks,ta as TimeScale,ia as TimeSeriesScale,oo as Title,wo as Tooltip,Ci as _adapters,us as _detectPlatform,Ye as animator,Si as controllers,tn as default,St as defaults,Pn as elements,qi as layouts,ko as plugins,na as registerables,Ps as registry,sa as scales}; //# sourceMappingURL=/sm/bc823a081dbde2b3a5424732858022f831d3f2978d59498cd938e0c2c8cf9ec0.map', ], ], ['@chart.js/auto' => ['content' => 'as Ticks,ta as TimeScale,ia as TimeSeriesScale,oo as Title,wo as Tooltip,Ci as _adapters,us as _detectPlatform,Ye as animator,Si as controllers,tn as default,St as defaults,Pn as elements,qi as layouts,ko as plugins,na as registerables,Ps as registry,sa as scales};', 'dependencies' => [ ], 'extraFiles' => [ ], ], ], ]
/src/Symfony/Component/HttpKernel/Tests/DataCollector/LoggerDataCollectorTest.php:2091yield 'logs with some silent errors' => [1, [['message' => 'foo3', 'context' => ['exception' => new \ErrorException('warning', 0, \E_USER_WARNING)], 'priority' => 100, 'priorityName' => 'DEBUG'], ['message' => 'foo3', 'context' => ['exception' => new SilencedErrorContext(\E_USER_WARNING, __FILE__, __LINE__)], 'priority' => 100, 'priorityName' => 'DEBUG'], ['message' => '0', 'context' => ['exception' => new SilencedErrorContext(\E_USER_WARNING, __FILE__, __LINE__)], 'priority' => 100, 'priorityName' => 'DEBUG'], ], [['message' => 'foo3', 'context' => ['exception' => ['warning', \E_USER_WARNING]], 'priority' => 100, 'priorityName' => 'DEBUG'], ['message' => 'foo3', 'context' => ['exception' => [\E_USER_WARNING]], 'priority' => 100, 'priorityName' => 'DEBUG', 'errorCount' => 1, 'scream' => true], ['message' => '0', 'context' => ['exception' => [\E_USER_WARNING]], 'priority' => 100, 'priorityName' => 'DEBUG', 'errorCount' => 1, 'scream' => true], ], 0, 2, ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:3511yield 'multiple files' => [['lodash' => self::createRemoteEntry('lodash', version : '1.2.3'), 'chart.js/auto' => self::createRemoteEntry('chart.js/auto', version : '4.5.6'), 'bootstrap/dist/bootstrap.css' => self::createRemoteEntry('bootstrap/dist/bootstrap.css', version : '5.0.6', type : ImportMapType::CSS), ], [['url' => '/lodash@1.2.3/+esm', 'body' => 'lodash contents', ], ['url' => '/chart.js@4.5.6/auto/+esm', 'body' => 'chart.js contents', ], ['url' => '/bootstrap@5.0.6/dist/bootstrap.css', 'body' => 'bootstrap.css contents', ], ], ['lodash' => ['content' => 'lodash contents', 'dependencies' => [ ], 'extraFiles' => [ ]], 'chart.js/auto' => ['content' => 'chart.js contents', 'dependencies' => [ ], 'extraFiles' => [ ]], 'bootstrap/dist/bootstrap.css' => ['content' => 'bootstrap.css contents', 'dependencies' => [ ], 'extraFiles' => [ ]], ], ]
/src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php:1051return [['"Regular" callable', [$controller, 'regularCallable'], ['class' => DummyController::class, 'method' => 'regularCallable', 'file' => $r1->getFileName( ), 'line' => $r1->getStartLine( ), ], ], ['Closure', fn ( ) => 'foo', ['class' => __NAMESPACE__ . '\{closure}', 'method' => null, 'file' => __FILE__, 'line' => __LINE__ - 5, ], ], ['First-class callable closure', $controller->regularCallable(...), ['class' => DummyController::class, 'method' => 'regularCallable', 'file' => $r1->getFileName( ), 'line' => $r1->getStartLine( ), ], ], ['Static callback as string', DummyController::class . '::staticControllerMethod', ['class' => DummyController::class, 'method' => 'staticControllerMethod', 'file' => $r2->getFileName( ), 'line' => $r2->getStartLine( ), ], ], ['Static callable with instance', [$controller, 'staticControllerMethod'], ['class' => DummyController::class, 'method' => 'staticControllerMethod', 'file' => $r2->getFileName( ), 'line' => $r2->getStartLine( ), ], ], ['Static callable with class name', [DummyController::class, 'staticControllerMethod'], ['class' => DummyController::class, 'method' => 'staticControllerMethod', 'file' => $r2->getFileName( ), 'line' => $r2->getStartLine( ), ], ], ['Callable with instance depending on __call()', [$controller, 'magicMethod'], ['class' => DummyController::class, 'method' => 'magicMethod', 'file' => 'n/a', 'line' => 'n/a', ], ], ['Callable with class name depending on __callStatic()', [DummyController::class, 'magicMethod'], ['class' => DummyController::class, 'method' => 'magicMethod', 'file' => 'n/a', 'line' => 'n/a', ], ], ['Invokable controller', $controller, ['class' => DummyController::class, 'method' => null, 'file' => $r3->getFileName( ), 'line' => $r3->getStartLine( ), ], ], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:3781yield 'make imports relative' => [['@chart.js/auto' => self::createRemoteEntry('chart.js/auto', version : '1.2.3'), ], [['url' => '/chart.js@1.2.3/auto/+esm', 'body' => 'import{Color as t}from"/npm/@kurkle/color@0.3.2/+esm";function e(){}const i=(()=', ], ], ['@chart.js/auto' => ['content' => 'import{Color as t}from"@kurkle/color";function e(){}const i=(()=', 'dependencies' => ['@kurkle/color'], 'extraFiles' => [ ], ], ], ]
/src/Symfony/Component/HttpKernel/ControllerMetadata/ArgumentMetadataFactory.php:341$arguments[] = new ArgumentMetadata($param->getName( ), $this->getType($param), $param->isVariadic( ), $param->isDefaultValueAvailable( ), $param->isDefaultValueAvailable( ) ? $param->getDefaultValue( ) : null, $param->allowsNull( ), $attributes)
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:3251yield 'package with path' => [['lodash' => self::createRemoteEntry('chart.js/auto', version : '4.5.6')], [['url' => '/chart.js@4.5.6/auto/+esm', 'body' => 'chart.js contents', ], ], ['lodash' => ['content' => 'chart.js contents', 'dependencies' => [ ], 'extraFiles' => [ ]], ], ]
/src/Symfony/Component/HttpKernel/Tests/DataCollector/LoggerDataCollectorTest.php:1921yield 'logs with some deprecations' => [1, [['message' => 'foo3', 'context' => ['exception' => new \ErrorException('warning', 0, \E_USER_WARNING)], 'priority' => 100, 'priorityName' => 'DEBUG'], ['message' => 'foo', 'context' => ['exception' => new \ErrorException('deprecated', 0, \E_DEPRECATED)], 'priority' => 100, 'priorityName' => 'DEBUG'], ['message' => 'foo2', 'context' => ['exception' => new \ErrorException('deprecated', 0, \E_USER_DEPRECATED)], 'priority' => 100, 'priorityName' => 'DEBUG'], ], [['message' => 'foo3', 'context' => ['exception' => ['warning', \E_USER_WARNING]], 'priority' => 100, 'priorityName' => 'DEBUG'], ['message' => 'foo', 'context' => ['exception' => ['deprecated', \E_DEPRECATED]], 'priority' => 100, 'priorityName' => 'DEBUG', 'errorCount' => 1, 'scream' => false], ['message' => 'foo2', 'context' => ['exception' => ['deprecated', \E_USER_DEPRECATED]], 'priority' => 100, 'priorityName' => 'DEBUG', 'errorCount' => 1, 'scream' => false], ], 2, 0, [100 => ['count' => 3, 'name' => 'DEBUG']], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:3381yield 'css file' => [['lodash' => self::createRemoteEntry('bootstrap/dist/bootstrap.css', version : '5.0.6', type : ImportMapType::CSS)], [['url' => '/bootstrap@5.0.6/dist/bootstrap.css', 'body' => 'bootstrap.css contents', ], ], ['lodash' => ['content' => 'bootstrap.css contents', 'dependencies' => [ ], 'extraFiles' => [ ]], ], ]
/src/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php:911$logs[] = ['type' => $logType, 'errorCount' => $rawLog['errorCount'] ?? 1, 'timestamp' => $rawLogData['timestamp_rfc3339']->getValue( ), 'priority' => $rawLogData['priority']->getValue( ), 'priorityName' => $rawLogData['priorityName']->getValue( ), 'channel' => $rawLogData['channel']->getValue( ), 'message' => $rawLogData['message'], 'context' => $rawLogData['context'], ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:2991yield 'single package' => [['lodash' => self::createRemoteEntry('lodash', version : '1.2.3')], [['url' => '/lodash@1.2.3/+esm', 'body' => 'lodash contents', ], ], ['lodash' => ['content' => 'lodash contents', 'dependencies' => [ ], 'extraFiles' => [ ]], ], ]
/src/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.php:431$this->data = ['token' => $response->headers->get('X-Debug-Token'), 'symfony_version' => Kernel::VERSION, 'symfony_minor_version' => sprintf('%s.%s', Kernel::MAJOR_VERSION, Kernel::MINOR_VERSION), 'symfony_lts' => 4 === Kernel::MINOR_VERSION, 'symfony_state' => $this->determineSymfonyState( ), 'symfony_eom' => $eom->format('F Y'), 'symfony_eol' => $eol->format('F Y'), 'env' => isset($this->kernel) ? $this->kernel->getEnvironment( ) : 'n/a', 'debug' => isset($this->kernel) ? $this->kernel->isDebug( ) : 'n/a', 'php_version' => \PHP_VERSION, 'php_architecture' => \PHP_INT_SIZE * 8, 'php_intl_locale' => class_exists(\Locale::class, false) && \Locale::getDefault( ) ? \Locale::getDefault( ) : 'n/a', 'php_timezone' => date_default_timezone_get( ), 'xdebug_enabled' => \extension_loaded('xdebug'), 'apcu_enabled' => \extension_loaded('apcu') && filter_var(\ini_get('apc.enabled'), \FILTER_VALIDATE_BOOL), 'zend_opcache_enabled' => \extension_loaded('Zend OPcache') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOL), 'bundles' => [ ], 'sapi_name' => \PHP_SAPI, ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:3121yield 'importName differs from package specifier' => [['lodash' => self::createRemoteEntry('some_alias', version : '1.2.3', packageSpecifier : 'lodash')], [['url' => '/lodash@1.2.3/+esm', 'body' => 'lodash contents', ], ], ['lodash' => ['content' => 'lodash contents', 'dependencies' => [ ], 'extraFiles' => [ ]], ], ]
/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php:1691$this->data['identifier'] = $this->data['route'] ?: (\is_array($this->data['controller']) ? $this->data['controller']['class'] . '::' . $this->data['controller']['method'] . '()' : $this->data['controller'])
/src/Symfony/Component/DependencyInjection/Container.php:2001return $this->services[$id] ?? $this->services[$id = $this->aliases[$id] ?? $id] ?? ('service_container' === $id ? $this : ($this->factories[$id] ?? self::$make ??= self::make(...))($this, $id, $invalidBehavior))
/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php:4431return ['class' => \is_object($controller[0]) ? get_debug_type($controller[0]) : $controller[0], 'method' => $controller[1], 'file' => $r->getFileName( ), 'line' => $r->getStartLine( ), ]
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:10511$proxy = $proxy->instantiateProxy($this, (clone $definition)->setClass($class)->setTags(($definition->hasTag('proxy') ? ['proxy' => $parameterBag->resolveValue($definition->getTag('proxy'))] : [ ]) + $definition->getTags( )), $id, function ($proxy = false) use ($definition, &$inlineServices, $id) { /**/ } )
/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php:1241$httpRequest = Request::create($request->getUri( ), $request->getMethod( ), $request->getParameters( ), $request->getCookies( ), $request->getFiles( ), $server = $request->getServer( ), $request->getContent( ))
/src/Symfony/Component/AssetMapper/ImportMap/ImportMapAuditor.php:851$packageAudits[$package . '@' . $version] = $packageAudits[$package . '@' . $version]->withVulnerability(new ImportMapPackageAuditVulnerability($advisory['ghsa_id'], $advisory['cve_id'], $advisory['url'], $advisory['summary'], $advisory['severity'], $vulnerability['vulnerable_version_range'], $vulnerability['first_patched_version'], ))
/src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php:911$this->data = ['method' => $request->getMethod( ), 'format' => $request->getRequestFormat( ), 'content_type' => $response->headers->get('Content-Type', 'text/html'), 'status_text' => Response::$statusTexts[$statusCode] ?? '', 'status_code' => $statusCode, 'request_query' => $request->query->all( ), 'request_request' => $request->request->all( ), 'request_files' => $request->files->all( ), 'request_headers' => $request->headers->all( ), 'request_server' => $request->server->all( ), 'request_cookies' => $request->cookies->all( ), 'request_attributes' => $attributes, 'route' => $route, 'response_headers' => $response->headers->all( ), 'response_cookies' => $responseCookies, 'session_metadata' => $sessionMetadata, 'session_attributes' => $sessionAttributes, 'session_usages' => array_values($this->sessionUsages), 'stateless_check' => $this->requestStack?->getMainRequest( )?->attributes->get('_stateless') ?? false, 'flashes' => $flashes, 'path_info' => $request->getPathInfo( ), 'controller' => 'n/a', 'locale' => $request->getLocale( ), 'dotenv_vars' => $dotenvVars, ]
/src/Symfony/Component/AssetMapper/ImportMap/Resolver/JsDelivrEsmResolver.php:2091$extraFileResponses[$package][] = [$this->httpClient->request('GET', sprintf(self::URL_PATTERN_DIST_CSS, $entry->getPackageName( ), $entry->version, $extraFile)), $extraFile, $entry->getPackageName( ), $entry->version]
/src/Symfony/Component/HttpKernel/Kernel.php:6631$content = $dumper->dump(['class' => $class, 'base_class' => $baseClass, 'file' => $cache->getPath( ), 'as_files' => true, 'debug' => $this->debug, 'inline_factories' => $buildParameters['.container.dumper.inline_factories'] ?? false, 'inline_class_loader' => $buildParameters['.container.dumper.inline_class_loader'] ?? $this->debug, 'build_time' => $container->hasParameter('kernel.container_build_time') ? $container->getParameter('kernel.container_build_time') : time( ), 'preload_classes' => array_map('get_class', $this->bundles), ])
/src/Symfony/Component/AssetMapper/Command/ImportMapAuditCommand.php:811$rows[] = [sprintf('<fg=%s>%s</>', self::SEVERITY_COLORS[$vulnerability->severity] ?? 'default', ucfirst($vulnerability->severity)), $vulnerability->summary, $packageAudit->package, $packageAudit->version ?? 'n/a', $vulnerability->firstPatchedVersion ?? 'n/a', $vulnerability->url, ]
/src/Symfony/Component/HttpKernel/Kernel.php:6981$resolver = new LoaderResolver([new XmlFileLoader($container, $locator, $env), new YamlFileLoader($container, $locator, $env), new IniFileLoader($container, $locator, $env), new PhpFileLoader($container, $locator, $env, class_exists(ConfigBuilderGenerator::class) ? new ConfigBuilderGenerator($this->getBuildDir( )) : null), new GlobFileLoader($container, $locator, $env), new DirectoryLoader($container, $locator, $env), new ClosureLoader($container, $env), ])
/src/Symfony/Component/AssetMapper/Factory/MappedAssetFactory.php:521$asset = new MappedAsset($asset->logicalPath, $asset->sourcePath, $asset->publicPathWithoutDigest, $this->getPublicPath($asset, $content), $content, $digest, $isPredigested, $isVendor, $asset->getDependencies( ), $asset->getFileDependencies( ), $asset->getJavaScriptImports( ), )
/src/Symfony/Component/HttpKernel/HttpClientKernel.php:531$response = $this->client->request($request->getMethod( ), $request->getUri( ), ['headers' => $headers, 'body' => $body, ] + $request->attributes->get('http_client_options', [ ]))
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:4361yield 'js sourcemap is correctly removed when sourceMapping appears in the JS' => [['es-module-shims' => self::createRemoteEntry('es-module-shims', version : '1.8.2'), ], [['url' => '/es-module-shims@1.8.2', 'body' => <<<'EOF' const je="\n//# sourceURL=",Ue="\n//# sourceMappingURL=",Me=/^(text|application)\/(x-)?javascript(;|$)/,_e=/^(application)\/wasm(;|$)/,Ie=/^(text|application)\/json(;|$)/,Re=/^(text|application)\/css(;|$)/,Te=/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g; //# sourceMappingURL=/sm/ef3916de598f421a779ba0e69af94655b2043095cde2410cc01893452d893338.map EOF], ], ['es-module-shims' => ['content' => <<<'EOF' const je="\n//# sourceURL=",Ue="\n//# sourceMappingURL=",Me=/^(text|application)\/(x-)?javascript(;|$)/,_e=/^(application)\/wasm(;|$)/,Ie=/^(text|application)\/json(;|$)/,Re=/^(text|application)\/css(;|$)/,Te=/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g; EOF, 'dependencies' => [ ], 'extraFiles' => [ ], ], ], ]
/src/Symfony/Component/HttpKernel/Kernel.php:5511return ['kernel.project_dir' => realpath($this->getProjectDir( )) ?: $this->getProjectDir( ), 'kernel.environment' => $this->environment, 'kernel.runtime_environment' => '%env(default:kernel.environment:APP_RUNTIME_ENV)%', 'kernel.runtime_mode' => '%env(query_string:default:container.runtime_mode:APP_RUNTIME_MODE)%', 'kernel.runtime_mode.web' => '%env(bool:default::key:web:default:kernel.runtime_mode:)%', 'kernel.runtime_mode.cli' => '%env(not:default:kernel.runtime_mode.web:)%', 'kernel.runtime_mode.worker' => '%env(bool:default::key:worker:default:kernel.runtime_mode:)%', 'kernel.debug' => $this->debug, 'kernel.build_dir' => realpath($buildDir = $this->warmupDir ?: $this->getBuildDir( )) ?: $buildDir, 'kernel.cache_dir' => realpath($cacheDir = ($this->getCacheDir( ) === $this->getBuildDir( ) ? ($this->warmupDir ?: $this->getCacheDir( )) : $this->getCacheDir( ))) ?: $cacheDir, 'kernel.logs_dir' => realpath($this->getLogDir( )) ?: $this->getLogDir( ), 'kernel.bundles' => $bundles, 'kernel.bundles_metadata' => $bundlesMetadata, 'kernel.charset' => $this->getCharset( ), 'kernel.container_class' => $this->getContainerClass( ), ]
/src/Symfony/Component/AssetMapper/Tests/ImportMap/Resolver/JsDelivrEsmResolverTest.php:4601yield 'css file removes sourcemap' => [['lodash' => self::createRemoteEntry('bootstrap/dist/bootstrap.css', version : '5.0.6', type : ImportMapType::CSS)], [['url' => '/bootstrap@5.0.6/dist/bootstrap.css', 'body' => 'print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} /*# sourceMappingURL=bootstrap.min.css.map */', ], ], ['lodash' => ['content' => 'print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}', 'dependencies' => [ ], 'extraFiles' => [ ], ], ], ]
/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToArrayTransformer.php:1581$dateTime = new \DateTime(sprintf('%s-%s-%s %s:%s:%s', empty($value['year']) ? $this->referenceDate->format('Y') : $value['year'], empty($value['month']) ? $this->referenceDate->format('m') : $value['month'], empty($value['day']) ? $this->referenceDate->format('d') : $value['day'], $value['hour'] ?? $this->referenceDate->format('H'), $value['minute'] ?? $this->referenceDate->format('i'), $value['second'] ?? $this->referenceDate->format('s')), new \DateTimeZone($this->outputTimezone))
/src/Symfony/Component/CssSelector/Tests/Node/SpecificityTest.php:331return [[new Specificity(0, 0, 0), 0], [new Specificity(0, 0, 2), 2], [new Specificity(0, 3, 0), 30], [new Specificity(4, 0, 0), 400], [new Specificity(4, 3, 2), 432], ]
/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToArrayTransformer.php:741$result = array_intersect_key(['year' => $dateTime->format('Y'), 'month' => $dateTime->format('m'), 'day' => $dateTime->format('d'), 'hour' => $dateTime->format('H'), 'minute' => $dateTime->format('i'), 'second' => $dateTime->format('s'), ], array_flip($this->fields))
/src/Symfony/Component/CssSelector/Tests/Node/AttributeNodeTest.php:301return [[new AttributeNode(new ElementNode( ), null, 'attribute', 'exists', null), 10], [new AttributeNode(new ElementNode(null, 'element'), null, 'attribute', 'exists', null), 11], [new AttributeNode(new ElementNode( ), null, 'attribute', '$=', 'value'), 10], [new AttributeNode(new ElementNode( ), 'namespace', 'attribute', '$=', 'value'), 10], ]
/src/Symfony/Component/Form/Extension/Core/Type/FormType.php:901$view->vars = array_replace($view->vars, ['errors' => $form->getErrors( ), 'valid' => $form->isSubmitted( ) ? $form->isValid( ) : true, 'value' => $form->getViewData( ), 'data' => $form->getNormData( ), 'required' => $form->isRequired( ), 'label_attr' => $options['label_attr'], 'help' => $options['help'], 'help_attr' => $options['help_attr'], 'help_html' => $options['help_html'], 'help_translation_parameters' => $helpTranslationParameters, 'compound' => $formConfig->getCompound( ), 'method' => $formConfig->getMethod( ), 'action' => $formConfig->getAction( ), 'submitted' => $form->isSubmitted( ), ])
/src/Symfony/Component/CssSelector/Tests/Node/CombinedSelectorNodeTest.php:291return [[new CombinedSelectorNode(new ElementNode( ), '>', new ElementNode( )), 0], [new CombinedSelectorNode(new ElementNode(null, 'element'), '>', new ElementNode( )), 1], [new CombinedSelectorNode(new ElementNode(null, 'element'), '>', new ElementNode(null, 'element')), 2], ]
/src/Symfony/Component/Form/Extension/Core/Type/BaseType.php:941$view->vars = array_replace($view->vars, ['form' => $view, 'id' => $id, 'name' => $name, 'full_name' => $fullName, 'disabled' => $form->isDisabled( ), 'label' => $options['label'], 'label_format' => $labelFormat, 'label_html' => $options['label_html'], 'multipart' => false, 'attr' => $options['attr'], 'block_prefixes' => $blockPrefixes, 'unique_block_prefix' => $uniqueBlockPrefix, 'row_attr' => $options['row_attr'], 'translation_domain' => $translationDomain, 'label_translation_parameters' => $labelTranslationParameters, 'attr_translation_parameters' => $attrTranslationParameters, 'priority' => $options['priority'], AbstractRendererEngine::CACHE_KEY_VAR => $uniqueBlockPrefix . '_' . $form->getConfig( )->getType( )->getBlockPrefix( ), ])
/src/Symfony/Component/CssSelector/Tests/Node/SpecificityTest.php:501return [[new Specificity(0, 0, 0), new Specificity(0, 0, 0), 0], [new Specificity(0, 0, 1), new Specificity(0, 0, 1), 0], [new Specificity(0, 0, 2), new Specificity(0, 0, 1), 1], [new Specificity(0, 0, 2), new Specificity(0, 0, 3), -1], [new Specificity(0, 4, 0), new Specificity(0, 4, 0), 0], [new Specificity(0, 6, 0), new Specificity(0, 5, 11), 1], [new Specificity(0, 7, 0), new Specificity(0, 8, 0), -1], [new Specificity(9, 0, 0), new Specificity(9, 0, 0), 0], [new Specificity(11, 0, 0), new Specificity(10, 11, 0), 1], [new Specificity(12, 11, 0), new Specificity(13, 0, 0), -1], ]
/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php:2341$view->vars = array_replace($view->vars, ['multiple' => $options['multiple'], 'expanded' => $options['expanded'], 'preferred_choices' => $choiceListView->preferredChoices, 'choices' => $choiceListView->choices, 'separator' => '-------------------', 'placeholder' => null, 'placeholder_attr' => [ ], 'choice_translation_domain' => $choiceTranslationDomain, 'choice_translation_parameters' => $options['choice_translation_parameters'], ])
/src/Symfony/Component/CssSelector/Node/AttributeNode.php:751return 'exists' === $this->operator ? sprintf('%s[%s[%s]]', $this->getNodeName( ), $this->selector, $attribute) : sprintf("%s[%s[%s %s '%s']]", $this->getNodeName( ), $this->selector, $attribute, $this->operator, $this->value)
/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php:1771$clientDataAsString = \is_scalar($form->getViewData( )) ? (string) $form->getViewData( ) : (\is_array($form->getViewData( )) ? implode('", "', array_keys($unknownValues)) : \gettype($form->getViewData( )))
/src/Symfony/Component/CssSelector/Parser/Parser.php:841return [$first ? ('-' === $first || '+' === $first ? $int($first . '1') : $int($first)) : 1, isset($split[1]) && $split[1] ? $int($split[1]) : 0, ]
/src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php:571$validateDataGraph = $form->isRoot( ) && (\is_object($data) || \is_array($data)) && (($groups && \is_array($groups)) || ($groups instanceof GroupSequence && $groups->groups))
/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php:1411$frame = ['class' => $function->class ?? null, 'type' => isset($function->class) ? ($function->isStatic( ) ? '::' : '->') : null, 'function' => $function->name, 'file' => $c->getExecutingFile( ), 'line' => $c->getExecutingLine( ), ]
/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php:4091$choiceOpts = ['value' => $choiceView->value, 'label' => $choiceView->label, 'label_html' => $options['label_html'], 'attr' => $choiceView->attr, 'label_translation_parameters' => $choiceView->labelTranslationParameters, 'translation_domain' => $options['choice_translation_domain'], 'block_name' => 'entry', ]
/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php:1001$a += [$prefix . 'name' => $c instanceof \ReflectionNamedType ? $c->getName( ) : (string) $c, $prefix . 'allowsNull' => $c->allowsNull( ), $prefix . 'isBuiltin' => $c->isBuiltin( ), ]
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RegisterControllerArgumentLocatorsPassTest.php:4431$expected = ['apiKey' => new ServiceClosureArgument(new Reference('the_api_key')), 'service1' => new ServiceClosureArgument(new TypedReference(ControllerDummy::class, ControllerDummy::class, ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE, 'imageStorage')), 'service2' => new ServiceClosureArgument(new TypedReference(ControllerDummy::class, ControllerDummy::class, ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE, 'service2')), ]
/src/Symfony/Component/VarDumper/Caster/SymfonyCaster.php:811$a = ['status' => new ConstStub(match ($a['status']) { /**/ } , $a['status'])]
/src/Symfony/Component/HttpKernel/Tests/DependencyInjection/ServicesResetterTest.php:341$resetter = new ServicesResetter(new \ArrayIterator(['id1' => new ResettableService( ), 'id2' => new ClearableService( ), 'id3' => new MultiResettableService( ), ]), ['id1' => ['reset'], 'id2' => ['clear'], 'id3' => ['resetFirst', 'resetSecond'], ])
/src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php:2131$a[$prefix . 'returnType'] = new ClassStub($a[$prefix . 'returnType'] instanceof \ReflectionNamedType && $a[$prefix . 'returnType']->allowsNull( ) && 'mixed' !== $v ? '?' . $v : $v, [class_exists($v, false) || interface_exists($v, false) || trait_exists($v, false) ? $v : '', ''])
/src/Symfony/Component/Form/Extension/DataCollector/FormDataExtractor.php:271$data = ['id' => $this->buildId($form), 'name' => $form->getName( ), 'type_class' => $form->getConfig( )->getType( )->getInnerType( )::class, 'synchronized' => $form->isSynchronized( ), 'passed_options' => [ ], 'resolved_options' => [ ], ]
/src/Symfony/Component/VarDumper/Caster/DateCaster.php:961$dates[] = sprintf('%s more', ($end = $p->getEndDate( )) ? ceil(($end->format('U.u') - $d->format('U.u')) / ((int) $now->add($p->getDateInterval( ))->format('U.u') - (int) $now->format('U.u'))) : $p->recurrences - $i)
/src/Symfony/Component/Form/Form.php:6351return FormUtil::isEmpty($this->modelData) || (is_countable($this->modelData) && 0 === \count($this->modelData)) || ($this->modelData instanceof \Traversable && 0 === iterator_count($this->modelData))
/src/Symfony/Component/VarDumper/Caster/DateCaster.php:731$format .= $i->h || $i->i || $i->s || $i->f ? '%H:%I:' . self::formatSeconds($i->s, substr($i->f, 2)) : ''
/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateIntervalToArrayTransformer.php:671return array_intersect_key(['years' => '', 'months' => '', 'weeks' => '', 'days' => '', 'hours' => '', 'minutes' => '', 'seconds' => '', 'invert' => false, ], array_flip($this->fields))
/src/Symfony/Component/VarDumper/Caster/ResourceCaster.php:771$a += ['subject' => new EnumStub(array_intersect_key($info['subject'], ['organizationName' => true, 'commonName' => true])), 'issuer' => new EnumStub(array_intersect_key($info['issuer'], ['organizationName' => true, 'commonName' => true])), 'expiry' => new ConstStub(date(\DateTimeInterface::ISO8601, $info['validTo_time_t']), $info['validTo_time_t']), 'fingerprint' => new EnumStub(['md5' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'md5')), 2, ':', true)), 'sha1' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'sha1')), 2, ':', true)), 'sha256' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'sha256')), 2, ':', true)), 'pin-sha256' => new ConstStub($pin), ]), ]
/src/Symfony/Component/Form/Extension/Core/CoreExtension.php:441return [new Type\FormType($this->propertyAccessor), new Type\BirthdayType( ), new Type\CheckboxType( ), new Type\ChoiceType($this->choiceListFactory, $this->translator), new Type\CollectionType( ), new Type\CountryType( ), new Type\DateIntervalType( ), new Type\DateType( ), new Type\DateTimeType( ), new Type\EmailType( ), new Type\HiddenType( ), new Type\IntegerType( ), new Type\LanguageType( ), new Type\LocaleType( ), new Type\MoneyType( ), new Type\NumberType( ), new Type\PasswordType( ), new Type\PercentType( ), new Type\RadioType( ), new Type\RangeType( ), new Type\RepeatedType( ), new Type\SearchType( ), new Type\TextareaType( ), new Type\TextType( ), new Type\TimeType( ), new Type\TimezoneType( ), new Type\UrlType( ), new Type\FileType($this->translator), new Type\ButtonType( ), new Type\SubmitType( ), new Type\ResetType( ), new Type\CurrencyType( ), new Type\TelType( ), new Type\ColorType($this->translator), new Type\WeekType( ), ]
/src/Symfony/Component/VarDumper/Caster/DateCaster.php:1051$period = sprintf('every %s, from %s%s %s', self::formatInterval($p->getDateInterval( )), $p->include_start_date ? '[' : ']', self::formatDateTime($p->getStartDate( )), ($end = $p->getEndDate( )) ? 'to ' . self::formatDateTime($end) . ($p->include_end_date ? ']' : '[') : 'recurring ' . $p->recurrences . ' time/s')
/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateIntervalToArrayTransformer.php:1491$interval = sprintf('P%sY%sM%sDT%sH%sM%sS', empty($value['years']) ? '0' : $value['years'], empty($value['months']) ? '0' : $value['months'], empty($value['days']) ? '0' : $value['days'], empty($value['hours']) ? '0' : $value['hours'], empty($value['minutes']) ? '0' : $value['minutes'], empty($value['seconds']) ? '0' : $value['seconds'])
/src/Symfony/Component/VarDumper/Caster/ExceptionCaster.php:1401$frame = new FrameStub(['object' => $f['object'] ?? null, 'class' => $f['class'] ?? null, 'type' => $f['type'] ?? null, 'function' => $f['function'] ?? null, ] + $frames[$i - 1], false, true)
/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateIntervalToArrayTransformer.php:1391$interval = sprintf('P%sY%sM%sWT%sH%sM%sS', empty($value['years']) ? '0' : $value['years'], empty($value['months']) ? '0' : $value['months'], empty($value['weeks']) ? '0' : $value['weeks'], empty($value['hours']) ? '0' : $value['hours'], empty($value['minutes']) ? '0' : $value['minutes'], empty($value['seconds']) ? '0' : $value['seconds'])
/src/Symfony/Component/VarDumper/Caster/ExceptionCaster.php:1321$lastCall = isset($frames[$i]['function']) ? (isset($frames[$i]['class']) ? $frames[0]['class'] . $frames[$i]['type'] : '') . $frames[$i]['function'] . '()' : ''
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:2741yield 'unsupported type' => [Request::create('/', 'GET', ['standardClass' => 'test']), new ArgumentMetadata('standardClass', \stdClass::class, false, false, false, attributes : [new MapQueryParameter( )]), [ ], \LogicException::class, '#[MapQueryParameter] cannot be used on controller argument "$standardClass" of type "stdClass"; one of array, string, int, float, bool or \BackedEnum should be used.', ]
/src/Symfony/Component/HtmlSanitizer/Visitor/DomVisitor.php:1621$attributeSanitizers = array_merge($this->attributeSanitizers[$domNodeName][$name] ?? [ ], $this->attributeSanitizers['*'][$name] ?? [ ], $this->attributeSanitizers[$domNodeName]['*'] ?? [ ], )
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:2811yield 'unsupported type variadic' => [Request::create('/', 'GET', ['standardClass' => 'test']), new ArgumentMetadata('standardClass', \stdClass::class, true, false, false, attributes : [new MapQueryParameter( )]), [ ], \LogicException::class, '#[MapQueryParameter] cannot be used on controller argument "...$standardClass" of type "stdClass"; one of array, string, int, float, bool or \BackedEnum should be used.', ]
/src/Symfony/Component/CssSelector/XPath/Extension/FunctionExtension.php:351return ['nth-child' => $this->translateNthChild(...), 'nth-last-child' => $this->translateNthLastChild(...), 'nth-of-type' => $this->translateNthOfType(...), 'nth-last-of-type' => $this->translateNthLastOfType(...), 'contains' => $this->translateContains(...), 'lang' => $this->translateLang(...), ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/DateTimeValueResolverTest.php:2321return ['invalid date' => [new ArgumentMetadata('dummy', \DateTimeImmutable::class, false, false, null), self::requestWithAttributes(['dummy' => 'Invalid DateTime Format']), ], 'invalid format' => [new ArgumentMetadata('dummy', \DateTimeImmutable::class, false, false, null, false, [new MapDateTime(format : 'd.m.Y')]), self::requestWithAttributes(['dummy' => '2012-07-21']), ], 'invalid ymd format' => [new ArgumentMetadata('dummy', \DateTimeImmutable::class, false, false, null, false, [new MapDateTime(format : 'Y-m-d')]), self::requestWithAttributes(['dummy' => '2012-21-07']), ], ]
/src/Symfony/Component/CssSelector/XPath/Extension/PseudoClassExtension.php:311return ['root' => $this->translateRoot(...), 'scope' => $this->translateScopePseudo(...), 'first-child' => $this->translateFirstChild(...), 'last-child' => $this->translateLastChild(...), 'first-of-type' => $this->translateFirstOfType(...), 'last-of-type' => $this->translateLastOfType(...), 'only-child' => $this->translateOnlyChild(...), 'only-of-type' => $this->translateOnlyOfType(...), 'empty' => $this->translateEmpty(...), ]
/src/Symfony/Component/HttpKernel/Tests/Fragment/RoutableFragmentRendererTest.php:391return [['/_fragment?_path=_format%3Dhtml%26_locale%3Den%26_controller%3Dcontroller', new ControllerReference('controller', [ ], [ ])], ['/_fragment?_path=_format%3Dxml%26_locale%3Den%26_controller%3Dcontroller', new ControllerReference('controller', ['_format' => 'xml'], [ ])], ['/_fragment?_path=foo%3Dfoo%26_format%3Djson%26_locale%3Den%26_controller%3Dcontroller', new ControllerReference('controller', ['foo' => 'foo', '_format' => 'json'], [ ])], ['/_fragment?bar=bar&_path=foo%3Dfoo%26_format%3Dhtml%26_locale%3Den%26_controller%3Dcontroller', new ControllerReference('controller', ['foo' => 'foo'], ['bar' => 'bar'])], ['/_fragment?foo=foo&_path=_format%3Dhtml%26_locale%3Den%26_controller%3Dcontroller', new ControllerReference('controller', [ ], ['foo' => 'foo'])], ['/_fragment?_path=foo%255B0%255D%3Dfoo%26foo%255B1%255D%3Dbar%26_format%3Dhtml%26_locale%3Den%26_controller%3Dcontroller', new ControllerReference('controller', ['foo' => ['foo', 'bar']], [ ])], ]
/src/Symfony/Component/CssSelector/XPath/Extension/NodeExtension.php:641return ['Selector' => $this->translateSelector(...), 'CombinedSelector' => $this->translateCombinedSelector(...), 'Negation' => $this->translateNegation(...), 'Function' => $this->translateFunction(...), 'Pseudo' => $this->translatePseudo(...), 'Attribute' => $this->translateAttribute(...), 'Class' => $this->translateClass(...), 'Hash' => $this->translateHash(...), 'Element' => $this->translateElement(...), ]
/src/Symfony/Component/HttpKernel/Tests/Fragment/RoutableFragmentRendererTest.php:701return [[new ControllerReference('controller', ['foo' => new Foo( ), 'bar' => 'bar'], [ ])], [new ControllerReference('controller', ['foo' => ['foo' => 'foo'], 'bar' => ['bar' => new Foo( )]], [ ])], ]
/src/Symfony/Component/CssSelector/XPath/Extension/AttributeMatchingExtension.php:311return ['exists' => $this->translateExists(...), '=' => $this->translateEquals(...), '~=' => $this->translateIncludes(...), '|=' => $this->translateDashMatch(...), '^=' => $this->translatePrefixMatch(...), '$=' => $this->translateSuffixMatch(...), '*=' => $this->translateSubstringMatch(...), '!=' => $this->translateDifferent(...), ]
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php:14672$responses = [['status' => 200, 'body' => '<esi:include src="/hey" />', 'headers' => ['Surrogate-Control' => 'content="ESI/1.0"', 'ETag' => 'hey', 'Last-Modified' => $time->format(\DATE_RFC2822), ], ], ['status' => 200, 'body' => 'Hey!', 'headers' => [ ], ], ]
/src/Symfony/Component/CssSelector/XPath/Extension/HtmlExtension.php:411return ['checked' => $this->translateChecked(...), 'link' => $this->translateLink(...), 'disabled' => $this->translateDisabled(...), 'enabled' => $this->translateEnabled(...), 'selected' => $this->translateSelected(...), 'invalid' => $this->translateInvalid(...), 'hover' => $this->translateHover(...), 'visited' => $this->translateVisited(...), ]
/src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php:14952$responses = [['status' => 200, 'body' => '<esi:include src="/hey" />', 'headers' => ['Surrogate-Control' => 'content="ESI/1.0"', 'ETag' => 'hey', 'Last-Modified' => $time->format(\DATE_RFC2822), ], ], ['status' => 200, 'body' => 'Hey!', 'headers' => [ ], ], ]
/src/Symfony/Component/CssSelector/XPath/Extension/HtmlExtension.php:1021return $xpath->addCondition('(' . '@href and (' . "name(.) = 'a'" . " or name(.) = 'link'" . " or name(.) = 'area'" . ')' . ') or (' . '(' . "name(.) = 'command'" . " or name(.) = 'fieldset'" . " or name(.) = 'optgroup'" . ')' . ' and not(@disabled)' . ') or (' . '(' . "(name(.) = 'input' and @type != 'hidden')" . " or name(.) = 'button'" . " or name(.) = 'select'" . " or name(.) = 'textarea'" . " or name(.) = 'keygen'" . ')' . ' and not (@disabled or ancestor::fieldset[@disabled])' . ') or (' . "name(.) = 'option' and not(" . '@disabled or ancestor::optgroup[@disabled]' . ')' . ')')
/src/Symfony/Component/HttpKernel/Tests/Log/LoggerTest.php:1492$context = ['bool' => true, 'null' => null, 'string' => 'Foo', 'int' => 0, 'float' => 0.5, 'nested' => ['with object' => new DummyTest( )], 'object' => new \DateTimeImmutable( ), 'resource' => fopen('php://memory', 'r'), ]
/src/Symfony/Component/CssSelector/Tests/Parser/ParserTest.php:1601return [['attributes(href)/html/body/a', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '(', 10))->getMessage( )], ['attributes(href)', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '(', 10))->getMessage( )], ['html/body/a', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '/', 4))->getMessage( )], [' ', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_FILE_END, '', 1))->getMessage( )], ['div, ', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_FILE_END, '', 5))->getMessage( )], [' , div', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, ',', 1))->getMessage( )], ['p, , div', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, ',', 3))->getMessage( )], ['div > ', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_FILE_END, '', 6))->getMessage( )], [' > div', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '>', 2))->getMessage( )], ['foo|#bar', SyntaxErrorException::unexpectedToken('identifier or "*"', new Token(Token::TYPE_HASH, 'bar', 4))->getMessage( )], ['#.foo', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '#', 0))->getMessage( )], ['.#foo', SyntaxErrorException::unexpectedToken('identifier', new Token(Token::TYPE_HASH, 'foo', 1))->getMessage( )], [':#foo', SyntaxErrorException::unexpectedToken('identifier', new Token(Token::TYPE_HASH, 'foo', 1))->getMessage( )], ['[*]', SyntaxErrorException::unexpectedToken('"|"', new Token(Token::TYPE_DELIMITER, ']', 2))->getMessage( )], ['[foo|]', SyntaxErrorException::unexpectedToken('identifier', new Token(Token::TYPE_DELIMITER, ']', 5))->getMessage( )], ['[#]', SyntaxErrorException::unexpectedToken('identifier or "*"', new Token(Token::TYPE_DELIMITER, '#', 1))->getMessage( )], ['[foo=#]', SyntaxErrorException::unexpectedToken('string or identifier', new Token(Token::TYPE_DELIMITER, '#', 5))->getMessage( )], [':nth-child()', SyntaxErrorException::unexpectedToken('at least one argument', new Token(Token::TYPE_DELIMITER, ')', 11))->getMessage( )], ['[href]a', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_IDENTIFIER, 'a', 6))->getMessage( )], ['[rel:stylesheet]', SyntaxErrorException::unexpectedToken('operator', new Token(Token::TYPE_DELIMITER, ':', 4))->getMessage( )], ['[rel=stylesheet', SyntaxErrorException::unexpectedToken('"]"', new Token(Token::TYPE_FILE_END, '', 15))->getMessage( )], [':lang(fr', SyntaxErrorException::unexpectedToken('an argument', new Token(Token::TYPE_FILE_END, '', 8))->getMessage( )], [':contains("foo', SyntaxErrorException::unclosedString(10)->getMessage( )], ['foo!', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '!', 3))->getMessage( )], [':scope > div :scope header', SyntaxErrorException::notAtTheStartOfASelector('scope')->getMessage( )], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1931yield 'parameter found and backing value variadic' => [Request::create('/', 'GET', ['suits' => ['H', 'D']]), new ArgumentMetadata('suits', Suit::class, true, false, false, attributes : [new MapQueryParameter( )]), [Suit::Hearts, Suit::Diamonds], null, ]
/src/Symfony/Component/CssSelector/Tests/Parser/Handler/HashHandlerTest.php:231return [['#id', new Token(Token::TYPE_HASH, 'id', 0), ''], ['#123', new Token(Token::TYPE_HASH, '123', 0), ''], ['#id.class', new Token(Token::TYPE_HASH, 'id', 0), '.class'], ['#id element', new Token(Token::TYPE_HASH, 'id', 0), ' element'], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:1991yield 'parameter found and backing value not int nor string' => [Request::create('/', 'GET', ['suit' => 1]), new ArgumentMetadata('suit', Suit::class, false, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_BOOL)]), [ ], NotFoundHttpException::class, 'Invalid query parameter "suit".', ]
/src/Symfony/Component/CssSelector/Tests/Parser/Handler/NumberHandlerTest.php:221return [['12', new Token(Token::TYPE_NUMBER, '12', 0), ''], ['12.34', new Token(Token::TYPE_NUMBER, '12.34', 0), ''], ['+12.34', new Token(Token::TYPE_NUMBER, '+12.34', 0), ''], ['-12.34', new Token(Token::TYPE_NUMBER, '-12.34', 0), ''], ['12 arg', new Token(Token::TYPE_NUMBER, '12', 0), ' arg'], ['12]', new Token(Token::TYPE_NUMBER, '12', 0), ']'], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:2061yield 'parameter found and backing value not int nor string that fallbacks to null on failure' => [Request::create('/', 'GET', ['suit' => 1]), new ArgumentMetadata('suit', Suit::class, false, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_BOOL, flags : \FILTER_NULL_ON_FAILURE)]), [null], null, ]
/src/Symfony/Component/CssSelector/Tests/Parser/Handler/WhitespaceHandlerTest.php:211return [[' ', new Token(Token::TYPE_WHITESPACE, ' ', 0), ''], ["\n", new Token(Token::TYPE_WHITESPACE, "\n", 0), ''], ["\t", new Token(Token::TYPE_WHITESPACE, "\t", 0), ''], [' foo', new Token(Token::TYPE_WHITESPACE, ' ', 0), 'foo'], [' .foo', new Token(Token::TYPE_WHITESPACE, ' ', 0), '.foo'], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:2121yield 'parameter found and value not valid backing value' => [Request::create('/', 'GET', ['suit' => 'B']), new ArgumentMetadata('suit', Suit::class, false, false, false, attributes : [new MapQueryParameter( )]), [ ], NotFoundHttpException::class, 'Invalid query parameter "suit".', ]
/src/Symfony/Component/CssSelector/Tests/Parser/Handler/StringHandlerTest.php:231return [['"hello"', new Token(Token::TYPE_STRING, 'hello', 1), ''], ['"1"', new Token(Token::TYPE_STRING, '1', 1), ''], ['" "', new Token(Token::TYPE_STRING, ' ', 1), ''], ['""', new Token(Token::TYPE_STRING, '', 1), ''], ["'hello'", new Token(Token::TYPE_STRING, 'hello', 1), ''], ["'foo'bar", new Token(Token::TYPE_STRING, 'foo', 1), 'bar'], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:2251yield 'parameter found and backing type variadic and at least one backing value not int nor string' => [Request::create('/', 'GET', ['suits' => [1, 'D']]), new ArgumentMetadata('suits', Suit::class, false, false, false, attributes : [new MapQueryParameter(filter : \FILTER_VALIDATE_BOOL)]), [ ], NotFoundHttpException::class, 'Invalid query parameter "suits".', ]
/src/Symfony/Component/CssSelector/Tests/Parser/Handler/IdentifierHandlerTest.php:231return [['foo', new Token(Token::TYPE_IDENTIFIER, 'foo', 0), ''], ['foo|bar', new Token(Token::TYPE_IDENTIFIER, 'foo', 0), '|bar'], ['foo.class', new Token(Token::TYPE_IDENTIFIER, 'foo', 0), '.class'], ['foo[attr]', new Token(Token::TYPE_IDENTIFIER, 'foo', 0), '[attr]'], ['foo bar', new Token(Token::TYPE_IDENTIFIER, 'foo', 0), ' bar'], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:2321yield 'parameter found and backing type variadic and at least one backing value not int nor string that fallbacks to null on failure' => [Request::create('/', 'GET', ['suits' => [1, 'D']]), new ArgumentMetadata('suits', Suit::class, false, false, false, attributes : [new MapQueryParameter(flags : \FILTER_NULL_ON_FAILURE)]), [null], null, ]
/src/Symfony/Component/CssSelector/Tests/Node/FunctionNodeTest.php:221return [[new FunctionNode(new ElementNode( ), 'function'), 'Function[Element[*]:function()]'], [new FunctionNode(new ElementNode( ), 'function', [new Token(Token::TYPE_IDENTIFIER, 'value', 0), ]), "Function[Element[*]:function(['value'])]"], [new FunctionNode(new ElementNode( ), 'function', [new Token(Token::TYPE_STRING, 'value1', 0), new Token(Token::TYPE_NUMBER, 'value2', 0), ]), "Function[Element[*]:function(['value1', 'value2'])]"], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:2381yield 'parameter found and backing type variadic and at least one value not valid backing value' => [Request::create('/', 'GET', ['suits' => ['B', 'D']]), new ArgumentMetadata('suits', Suit::class, false, false, false, attributes : [new MapQueryParameter( )]), [ ], NotFoundHttpException::class, 'Invalid query parameter "suits".', ]
/src/Symfony/Component/CssSelector/Tests/Node/FunctionNodeTest.php:361return [[new FunctionNode(new ElementNode( ), 'function'), 10], [new FunctionNode(new ElementNode( ), 'function', [new Token(Token::TYPE_IDENTIFIER, 'value', 0), ]), 10], [new FunctionNode(new ElementNode( ), 'function', [new Token(Token::TYPE_STRING, 'value1', 0), new Token(Token::TYPE_NUMBER, 'value2', 0), ]), 10], ]
/src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/QueryParameterValueResolverTest.php:2451yield 'parameter found and backing type variadic and at least one value not valid backing value that falls back to null on failure' => [Request::create('/', 'GET', ['suits' => ['B', 'D']]), new ArgumentMetadata('suits', Suit::class, false, false, false, attributes : [new MapQueryParameter(flags : \FILTER_NULL_ON_FAILURE)]), [null], null, ]
/src/Symfony/Component/CssSelector/Tests/Node/AttributeNodeTest.php:211return [[new AttributeNode(new ElementNode( ), null, 'attribute', 'exists', null), 'Attribute[Element[*][attribute]]'], [new AttributeNode(new ElementNode( ), null, 'attribute', '$=', 'value'), "Attribute[Element[*][attribute $= 'value']]"], [new AttributeNode(new ElementNode( ), 'namespace', 'attribute', '$=', 'value'), "Attribute[Element[*][namespace|attribute $= 'value']]"], ]
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:5651$form = $this->factory->createNamedBuilder('root', FormType::class, ['items' => null])->add('items', CollectionType::class, ['entry_type' => TextType::class, 'allow_add' => true, 'data' => ['foo'], ])->getForm( )
/src/Symfony/Component/VarDumper/Caster/DOMCaster.php:1211$a += ['nodeName' => $dom->nodeName, 'nodeValue' => new CutStub($dom->nodeValue), 'nodeType' => new ConstStub(self::NODE_TYPES[$dom->nodeType], $dom->nodeType), 'prefix' => $dom->prefix, 'localName' => $dom->localName, 'namespaceURI' => $dom->namespaceURI, 'ownerDocument' => new CutStub($dom->ownerDocument), 'parentNode' => new CutStub($dom->parentNode), ]
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:4622$formData = ['id' => 'name', 'name' => 'name', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->form->getConfig( )->getOptions( ), 'children' => ['child' => $childFormData, ], ]
/src/Symfony/Component/VarDumper/Caster/DOMCaster.php:971$a += ['nodeName' => $dom->nodeName, 'nodeValue' => new CutStub($dom->nodeValue), 'nodeType' => new ConstStub(self::NODE_TYPES[$dom->nodeType], $dom->nodeType), 'parentNode' => new CutStub($dom->parentNode), 'childNodes' => $dom->childNodes, 'firstChild' => new CutStub($dom->firstChild), 'lastChild' => new CutStub($dom->lastChild), 'previousSibling' => new CutStub($dom->previousSibling), 'nextSibling' => new CutStub($dom->nextSibling), 'attributes' => $dom->attributes, 'ownerDocument' => new CutStub($dom->ownerDocument), 'namespaceURI' => $dom->namespaceURI, 'prefix' => $dom->prefix, 'localName' => $dom->localName, 'baseURI' => $dom->baseURI ? new LinkStub($dom->baseURI) : $dom->baseURI, 'textContent' => new CutStub($dom->textContent), ]
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:4521$childFormData = ['id' => 'child', 'name' => 'child', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->childForm->getConfig( )->getOptions( ), 'children' => [ ], ]
/src/Symfony/Component/VarDumper/Caster/AmqpCaster.php:1731$a += [$prefix . 'delivery_tag' => $c->getDeliveryTag( ), $prefix . 'is_redelivery' => $c->isRedelivery( ), $prefix . 'exchange_name' => $c->getExchangeName( ), $prefix . 'routing_key' => $c->getRoutingKey( ), $prefix . 'content_type' => $c->getContentType( ), $prefix . 'content_encoding' => $c->getContentEncoding( ), $prefix . 'headers' => $c->getHeaders( ), $prefix . 'delivery_mode' => $deliveryMode, $prefix . 'priority' => $c->getPriority( ), $prefix . 'correlation_id' => $c->getCorrelationId( ), $prefix . 'reply_to' => $c->getReplyTo( ), $prefix . 'expiration' => $c->getExpiration( ), $prefix . 'message_id' => $c->getMessageId( ), $prefix . 'timestamp' => $c->getTimeStamp( ), $prefix . 'type' => $c->getType( ), $prefix . 'user_id' => $c->getUserId( ), $prefix . 'app_id' => $c->getAppId( ), ]
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:4132$formData = ['id' => 'name', 'name' => 'name', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->form->getConfig( )->getOptions( ), 'children' => ['child' => $childFormData, ], ]
/src/Symfony/Component/VarDumper/Caster/AmqpCaster.php:1451$a += [$prefix . 'connection' => $c->getConnection( ), $prefix . 'channel' => $c->getChannel( ), $prefix . 'name' => $c->getName( ), $prefix . 'type' => $type, $prefix . 'arguments' => $c->getArguments( ), ]
/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeImmutableToDateTimeTransformerTest.php:351return [[new \DateTime('2010-02-03 04:05:06 UTC'), new \DateTimeImmutable('2010-02-03 04:05:06 UTC'), ], [(new \DateTime('2019-10-07 +11:00'))->setTime(14, 27, 11, 10042), (new \DateTimeImmutable('2019-10-07 +11:00'))->setTime(14, 27, 11, 10042), ], ]
/src/Symfony/Component/VarDumper/Caster/XmlReaderCaster.php:491$properties = ['LOADDTD' => @$reader->getParserProperty(\XMLReader::LOADDTD), 'DEFAULTATTRS' => @$reader->getParserProperty(\XMLReader::DEFAULTATTRS), 'VALIDATE' => @$reader->getParserProperty(\XMLReader::VALIDATE), 'SUBST_ENTITIES' => @$reader->getParserProperty(\XMLReader::SUBST_ENTITIES), ]
/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToArrayTransformerTest.php:1292$output = ['year' => (string) (int) $dateTime->format('Y'), 'month' => (string) (int) $dateTime->format('m'), 'day' => (string) (int) $dateTime->format('d'), 'hour' => (string) (int) $dateTime->format('H'), 'minute' => (string) (int) $dateTime->format('i'), 'second' => (string) (int) $dateTime->format('s'), ]
/src/Symfony/Component/VarDumper/Caster/DOMCaster.php:2371$a += ['publicId' => $dom->publicId, 'systemId' => $dom->systemId, 'notationName' => $dom->notationName, 'actualEncoding' => $dom->actualEncoding, 'encoding' => $dom->encoding, 'version' => $dom->version, ]
/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToArrayTransformerTest.php:1092$output = ['year' => (string) (int) $dateTime->format('Y'), 'month' => (string) (int) $dateTime->format('m'), 'day' => (string) (int) $dateTime->format('d'), 'hour' => (string) (int) $dateTime->format('H'), 'minute' => (string) (int) $dateTime->format('i'), 'second' => (string) (int) $dateTime->format('s'), ]
/src/Symfony/Component/VarDumper/Caster/DOMCaster.php:2131$a += ['name' => $dom->name, 'entities' => $dom->entities, 'notations' => $dom->notations, 'publicId' => $dom->publicId, 'systemId' => $dom->systemId, 'internalSubset' => $dom->internalSubset, ]
/src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/DataMapperTest.php:3881$form = (new FormFactoryBuilder( ))->getFormFactory( )->createBuilder( )->setDataMapper(new DataMapper(new PropertyPathAccessor($propertyAccessor)))->add('date', DateType::class, ['auto_initialize' => false, 'format' => 'dd/MM/yyyy', 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'widget' => 'single_text', ])->getForm( )
/src/Symfony/Component/VarDumper/Caster/DOMCaster.php:1371$a += ['doctype' => $dom->doctype, 'implementation' => $dom->implementation, 'documentElement' => new CutStub($dom->documentElement), 'actualEncoding' => $dom->actualEncoding, 'encoding' => $dom->encoding, 'xmlEncoding' => $dom->xmlEncoding, 'standalone' => $dom->standalone, 'xmlStandalone' => $dom->xmlStandalone, 'version' => $dom->version, 'xmlVersion' => $dom->xmlVersion, 'strictErrorChecking' => $dom->strictErrorChecking, 'documentURI' => $dom->documentURI ? new LinkStub($dom->documentURI) : $dom->documentURI, 'config' => $dom->config, 'formatOutput' => $dom->formatOutput, 'validateOnParse' => $dom->validateOnParse, 'resolveExternals' => $dom->resolveExternals, 'preserveWhiteSpace' => $dom->preserveWhiteSpace, 'recover' => $dom->recover, 'substituteEntities' => $dom->substituteEntities, ]
/src/Symfony/Component/Notifier/Bridge/Telnyx/TelnyxTransport.php:801$response = $this->client->request('POST', $endpoint, ['auth_bearer' => $this->apiKey, 'json' => ['from' => $from, 'to' => $message->getPhone( ), 'text' => $message->getSubject( ), 'messaging_profile_id' => $this->messagingProfileId ?? '', ], ])
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:1391$form2Data = ['id' => 'form2', 'name' => 'form2', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $form2->getConfig( )->getOptions( ), 'children' => [ ], ]
/src/Symfony/Component/VarDumper/Tests/Caster/CasterTest.php:511return [[0, [ ], ], [Caster::EXCLUDE_PUBLIC, ['null' => null, 'empty' => false, 'public' => 'pub', ], ], [Caster::EXCLUDE_NULL, ['null' => null, ], ], [Caster::EXCLUDE_EMPTY, ['null' => null, 'empty' => false, ], ], [Caster::EXCLUDE_VIRTUAL, ["\0~\0virtual" => 'virt', ], ], [Caster::EXCLUDE_DYNAMIC, ["\0+\0dynamic" => 'dyn', ], ], [Caster::EXCLUDE_PROTECTED, ["\0*\0protected" => 'prot', ], ], [Caster::EXCLUDE_PRIVATE, ["\0Foo\0private" => 'priv', ], ], [Caster::EXCLUDE_VERBOSE, ['public' => 'pub', "\0*\0protected" => 'prot', ], ['public', "\0*\0protected"], ], [Caster::EXCLUDE_NOT_IMPORTANT, ['null' => null, 'empty' => false, "\0~\0virtual" => 'virt', "\0+\0dynamic" => 'dyn', "\0Foo\0private" => 'priv', ], ['public', "\0*\0protected"], ], [Caster::EXCLUDE_VIRTUAL | Caster::EXCLUDE_DYNAMIC, ["\0~\0virtual" => 'virt', "\0+\0dynamic" => 'dyn', ], ], [Caster::EXCLUDE_NOT_IMPORTANT | Caster::EXCLUDE_VERBOSE, self::$referenceArray, ['public', "\0*\0protected"], ], [Caster::EXCLUDE_NOT_IMPORTANT | Caster::EXCLUDE_EMPTY, ['null' => null, 'empty' => false, "\0~\0virtual" => 'virt', "\0+\0dynamic" => 'dyn', "\0*\0protected" => 'prot', "\0Foo\0private" => 'priv', ], ['public', 'empty'], ], [Caster::EXCLUDE_VERBOSE | Caster::EXCLUDE_EMPTY | Caster::EXCLUDE_STRICT, ['empty' => false, ], ['public', 'empty'], ], ]
/src/Symfony/Component/Notifier/Bridge/MessageBird/Tests/MessageBirdOptionsTest.php:211$messageBirdOptions = (new MessageBirdOptions( ))->type('test_type')->scheduledDatetime('test_scheduled_datetime')->createdDatetime('test_created_datetime')->dataCoding('test_data_coding')->gateway(999)->groupIds(['test_group_ids'])->mClass(888)->reference('test_reference')->reportUrl('test_report_url')->shortenUrls(true)->typeDetails('test_type_details')->validity(777)
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:1171$form1Data = ['id' => 'form1', 'name' => 'form1', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $form1->getConfig( )->getOptions( ), 'children' => [ ], ]
/src/Symfony/Component/VarDumper/Tests/Caster/IntlCasterTest.php:2651$expected = <<<EOTXT IntlDateFormatter { locale: "$expectedLocale" pattern: "$expectedPattern" calendar: $expectedCalendar time_zone_id: "$expectedTimeZoneId" time_type: $expectedTimeType date_type: $expectedDateType calendar_object: IntlGregorianCalendar { type: "$expectedCalendarObjectType" first_day_of_week: $expectedCalendarObjectFirstDayOfWeek minimal_days_in_first_week: $expectedCalendarObjectMinimalDaysInFirstWeek repeated_wall_time_option: $expectedCalendarObjectRepeatedWallTimeOption skipped_wall_time_option: $expectedCalendarObjectSkippedWallTimeOption time: $expectedCalendarObjectTime in_daylight_time: $expectedCalendarObjectInDaylightTime is_lenient: $expectedCalendarObjectIsLenient time_zone: IntlTimeZone { display_name: "$expectedCalendarObjectTimeZoneDisplayName" id: "$expectedCalendarObjectTimeZoneID" raw_offset: $expectedCalendarObjectTimeZoneRawOffset$expectedCalendarObjectTimeZoneDSTSavings } } time_zone: IntlTimeZone { display_name: "$expectedTimeZoneDisplayName" id: "$expectedTimeZoneID" raw_offset: $expectedTimeZoneRawOffset$expectedTimeZoneDSTSavings } } EOTXT
/src/Symfony/Component/Notifier/Bridge/TurboSms/TurboSmsTransport.php:781$response = $this->client->request('POST', $endpoint, ['auth_bearer' => $this->authToken, 'json' => ['sms' => ['sender' => $from, 'recipients' => [$message->getPhone( )], 'text' => $message->getSubject( ), ], ], ])
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:761$formData = ['id' => 'name', 'name' => 'name', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->form->getConfig( )->getOptions( ), 'default_data' => ['norm' => null, ], 'submitted_data' => ['norm' => null, ], 'errors' => [ ], 'has_children_error' => false, 'children' => ['child' => $childFormData, ], ]
/src/Symfony/Component/VarDumper/Tests/Caster/IntlCasterTest.php:931$expected = <<<EOTXT NumberFormatter { locale: "$expectedLocale" pattern: "$expectedPattern" attributes: { PARSE_INT_ONLY: $expectedAttribute1 GROUPING_USED: $expectedAttribute2 DECIMAL_ALWAYS_SHOWN: $expectedAttribute3 MAX_INTEGER_DIGITS: $expectedAttribute4 MIN_INTEGER_DIGITS: $expectedAttribute5 INTEGER_DIGITS: $expectedAttribute6 MAX_FRACTION_DIGITS: $expectedAttribute7 MIN_FRACTION_DIGITS: $expectedAttribute8 FRACTION_DIGITS: $expectedAttribute9 MULTIPLIER: $expectedAttribute10 GROUPING_SIZE: $expectedAttribute11 ROUNDING_MODE: $expectedAttribute12 ROUNDING_INCREMENT: $expectedAttribute13 FORMAT_WIDTH: $expectedAttribute14 PADDING_POSITION: $expectedAttribute15 SECONDARY_GROUPING_SIZE: $expectedAttribute16 SIGNIFICANT_DIGITS_USED: $expectedAttribute17 MIN_SIGNIFICANT_DIGITS: $expectedAttribute18 MAX_SIGNIFICANT_DIGITS: $expectedAttribute19 LENIENT_PARSE: $expectedAttribute20 } text_attributes: { POSITIVE_PREFIX: "$expectedTextAttribute1" POSITIVE_SUFFIX: "$expectedTextAttribute2" NEGATIVE_PREFIX: "$expectedTextAttribute3" NEGATIVE_SUFFIX: "$expectedTextAttribute4" PADDING_CHARACTER: "$expectedTextAttribute5" CURRENCY_CODE: "$expectedTextAttribute6" DEFAULT_RULESET: $expectedTextAttribute7 PUBLIC_RULESETS: $expectedTextAttribute8 } symbols: { DECIMAL_SEPARATOR_SYMBOL: "$expectedSymbol1" GROUPING_SEPARATOR_SYMBOL: "$expectedSymbol2" PATTERN_SEPARATOR_SYMBOL: "$expectedSymbol3" PERCENT_SYMBOL: "$expectedSymbol4" ZERO_DIGIT_SYMBOL: "$expectedSymbol5" DIGIT_SYMBOL: "$expectedSymbol6" MINUS_SIGN_SYMBOL: "$expectedSymbol7" PLUS_SIGN_SYMBOL: "$expectedSymbol8" CURRENCY_SYMBOL: "$expectedSymbol9" INTL_CURRENCY_SYMBOL: "$expectedSymbol10" MONETARY_SEPARATOR_SYMBOL: "$expectedSymbol11" EXPONENTIAL_SYMBOL: "$expectedSymbol12" PERMILL_SYMBOL: "$expectedSymbol13" PAD_ESCAPE_SYMBOL: "$expectedSymbol14" INFINITY_SYMBOL: "$expectedSymbol15" NAN_SYMBOL: "$expectedSymbol16" SIGNIFICANT_DIGIT_SYMBOL: "$expectedSymbol17" MONETARY_GROUPING_SEPARATOR_SYMBOL: "$expectedSymbol18" } } EOTXT
/src/Symfony/Component/Notifier/Bridge/Discord/Tests/DiscordOptionsTest.php:741$discordOptions = (new DiscordOptions( ))->addEmbed((new DiscordEmbed( ))->description('descript.io')->url('http://ava.tar/pic.png')->timestamp(new \DateTimeImmutable('2020-10-12 9:14:15+0000'))->color(2021216)->title('New song added!')->footer((new DiscordFooterEmbedObject( ))->text('text')->iconUrl('icon url')->proxyIconUrl('proxy icon url'))->thumbnail((new DiscordMediaEmbedObject( ))->url('https://thumb.ur.l/')->proxyUrl('https://proxy.ur.l/')->height(900)->width(600))->image((new DiscordMediaEmbedObject( ))->url('https://image.ur.l/')->proxyUrl('https://proxy.ur.l/')->height(900)->width(600))->author((new DiscordAuthorEmbedObject( ))->name('name field')->url('https://ur.l/')->iconUrl('https://icon.ur.l/')->proxyIconUrl('https://proxy.ic.on/url')))
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:571$childFormData = ['id' => 'name_child', 'name' => 'child', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->childForm->getConfig( )->getOptions( ), 'default_data' => ['norm' => null, 'view' => '', ], 'submitted_data' => ['norm' => null, 'view' => '', ], 'errors' => [ ], 'children' => [ ], ]
/src/Symfony/Component/VarDumper/Caster/XmlReaderCaster.php:651$info = ['localName' => $reader->localName, 'prefix' => $reader->prefix, 'nodeType' => new ConstStub(self::NODE_TYPES[$reader->nodeType], $reader->nodeType), 'depth' => $reader->depth, 'isDefault' => $reader->isDefault, 'isEmptyElement' => \XMLReader::NONE === $reader->nodeType ? null : $reader->isEmptyElement, 'xmlLang' => $reader->xmlLang, 'attributeCount' => $reader->attributeCount, 'value' => $reader->value, 'namespaceURI' => $reader->namespaceURI, 'baseURI' => $reader->baseURI ? new LinkStub($reader->baseURI) : $reader->baseURI, $props => $properties, ]
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:2681$formData = ['id' => 'name', 'name' => 'name', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->form->getConfig( )->getOptions( ), 'default_data' => ['norm' => null, ], 'submitted_data' => ['norm' => null, ], 'errors' => [ ], 'view_vars' => ['attr' => [ ], 'value' => null, ], 'has_children_error' => false, 'children' => ['child' => $childFormData, ], ]
/src/Symfony/Component/VarDumper/Dumper/CliDumper.php:2981$prefix .= $this->style('ref', (Cursor::HASH_RESOURCE === $type ? '@' : '#') . (0 < $cursor->softRefHandle ? $cursor->softRefHandle : $cursor->softRefTo), ['count' => $cursor->softRefCount])
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:2451$childFormData = ['id' => 'name_child', 'name' => 'child', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->childForm->getConfig( )->getOptions( ), 'default_data' => ['norm' => null, 'view' => '', ], 'submitted_data' => ['norm' => null, 'view' => '', ], 'errors' => [ ], 'view_vars' => ['attr' => [ ], 'value' => null, ], 'children' => [ ], ]
/src/Symfony/Component/VarDumper/Tests/Fixtures/dumb-var.php:271$var = ['number' => 1, null, 'const' => 1.1, true, false, \NAN, \INF, -\INF, \PHP_INT_MAX, 'str' => "déjà\n", "\xE9\x01test\t\ning", "bo\u{feff}m" => "te\u{feff}st", '[]' => [ ], 'res' => $g, 'obj' => $foo, 'closure' => function ($a, ?\PDO &$b = null) { /**/ } , 'line' => __LINE__ - 1, 'nobj' => [(object) [ ]], ]
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:1901$formData = ['id' => 'name', 'name' => 'name', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->form->getConfig( )->getOptions( ), 'default_data' => ['norm' => null, ], 'submitted_data' => [ ], 'children' => [ ], ]
/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php:3801return [['-12:00', '-12:00', ''], ['+00:00', '+00:00', ''], ['+14:00', '+14:00', ''], ['GMT', '+00:00', ''], ['a', '+01:00', ''], ['b', '+02:00', ''], ['z', '+00:00', ''], ['Africa/Tunis', 'Africa/Tunis (%s:00)', $xRegion], ['America/Panama', 'America/Panama (%s:00)', $xRegion], ['Asia/Jerusalem', 'Asia/Jerusalem (%s:00)', $xRegion], ['Atlantic/Canary', 'Atlantic/Canary (%s:00)', $xRegion], ['Australia/Perth', 'Australia/Perth (%s:00)', $xRegion], ['Europe/Zurich', 'Europe/Zurich (%s:00)', $xRegion], ['Pacific/Tahiti', 'Pacific/Tahiti (%s:00)', $xRegion], ]
/src/Symfony/Component/Notifier/Bridge/KazInfoTeh/KazInfoTehTransport.php:641$response = $this->client->request('POST', $endpoint, ['query' => ['action' => 'sendmessage', 'username' => $this->username, 'password' => $this->password, 'recipient' => $message->getPhone( ), 'messagetype' => 'SMS:TEXT', 'originator' => $message->getFrom( ) ?: $this->sender, 'messagedata' => $message->getSubject( ), ], ])
/src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php:1671$formData = ['id' => 'name', 'name' => 'name', 'type_class' => FormType::class, 'synchronized' => true, 'passed_options' => [ ], 'resolved_options' => $this->form->getConfig( )->getOptions( ), 'children' => [ ], ]
/src/Symfony/Component/VarDumper/Tests/Caster/ExceptionCasterTest.php:2811$f = [new FrameStub(['file' => \dirname(__DIR__) . '/Fixtures/Twig.php', 'line' => 33, 'class' => '__TwigTemplate_VarDumperFixture_u75a09', ]), new FrameStub(['file' => \dirname(__DIR__) . '/Fixtures/Twig.php', 'line' => 34, 'class' => '__TwigTemplate_VarDumperFixture_u75a09', 'object' => new \__TwigTemplate_VarDumperFixture_u75a09(null, __FILE__), ]), ]
/src/Symfony/Component/Notifier/Bridge/Twitter/TwitterTransport.php:2181$subtitlesVideoIds[$videoId] = $this->request('POST', '/1.1/media/subtitles/create.json', ['json' => ['media_id' => $videoId, 'media_category' => 'tweet_video', 'subtitle_info' => ['subtitles' => [['media_id' => array_search($subtitles, $subtitlesMediaIds, true), 'language_code' => pathinfo($name, \PATHINFO_EXTENSION), 'display_name' => pathinfo($name, \PATHINFO_FILENAME), ], ], ], ], ])
/src/Symfony/Component/Form/Tests/CompoundFormTest.php:6171$form = $this->getBuilder('author')->setMethod($method)->setCompound(true)->setDataMapper(new DataMapper( ))->setRequestHandler(new HttpFoundationRequestHandler( ))->getForm( )
/src/Symfony/Component/VarDumper/Caster/PgSqlCaster.php:1321$field = ['name' => pg_field_name($result, $i), 'table' => sprintf('%s (OID: %s)', pg_field_table($result, $i), pg_field_table($result, $i, true)), 'type' => sprintf('%s (OID: %s)', pg_field_type($result, $i), pg_field_type_oid($result, $i)), 'nullable' => (bool) pg_field_is_null($result, $i), 'storage' => pg_field_size($result, $i) . ' bytes', 'display' => pg_field_prtlen($result, $i) . ' chars', ]
/src/Symfony/Component/Notifier/Bridge/Twitter/TwitterTransportFactory.php:411return (new TwitterTransport($apiKey, $apiSecret, $accessToken, $accessSecret, $this->client, $this->dispatcher))->setHost('default' === $dsn->getHost( ) ? null : $dsn->getHost( ))->setPort($dsn->getPort( ))
/src/Symfony/Component/Form/Tests/CompoundFormTest.php:6641$form = $this->getBuilder('')->setMethod($method)->setCompound(true)->setDataMapper(new DataMapper( ))->setRequestHandler(new HttpFoundationRequestHandler( ))->getForm( )
/src/Symfony/Component/VarDumper/Caster/SplCaster.php:571$a += [$prefix . 'mode' => new ConstStub((($mode & \SplDoublyLinkedList::IT_MODE_LIFO) ? 'IT_MODE_LIFO' : 'IT_MODE_FIFO') . ' | ' . (($mode & \SplDoublyLinkedList::IT_MODE_DELETE) ? 'IT_MODE_DELETE' : 'IT_MODE_KEEP'), $mode), $prefix . 'dllist' => iterator_to_array($c), ]
/src/Symfony/Component/Notifier/Bridge/Twitter/TwitterTransport.php:841$oauth = ['oauth_consumer_key' => $this->apiKey, 'oauth_nonce' => self::$nonce = hash('xxh128', self::$nonce ??= random_bytes(16)), 'oauth_signature_method' => 'HMAC-SHA1', 'oauth_timestamp' => time( ), 'oauth_token' => $this->accessToken, 'oauth_version' => '1.0', ]
/src/Symfony/Component/Form/Tests/CompoundFormTest.php:831$form = $this->getBuilder('person')->setDisabled(true)->setCompound(true)->setDataMapper(new DataMapper( ))->add($this->getBuilder('name'))->getForm( )
/src/Symfony/Component/VarDumper/Caster/LinkStub.php:551$this->attr['ellipsis-tail'] = 1 + ($this->inVendor ? 2 + \strlen(implode('', \array_slice(explode(\DIRECTORY_SEPARATOR, substr($href, 1 - $this->attr['ellipsis'])), 0, 2))) : 0)
/src/Symfony/Component/Notifier/Bridge/Twitter/TwitterTransport.php:961$oauth['oauth_signature'] = base64_encode(hash_hmac('sha1', implode('&', array_map('rawurlencode', [$method, $url, implode('&', array_map(fn ($k) => rawurlencode($k) . '=' . rawurlencode($sign[$k]), array_keys($sign))), ])), rawurlencode($this->apiSecret) . '&' . rawurlencode($this->accessSecret), true))
/src/Symfony/Component/Form/Tests/CompoundFormTest.php:6031$files = ['author' => ['error' => ['image' => \UPLOAD_ERR_OK], 'name' => ['image' => 'upload.png'], 'size' => ['image' => null], 'tmp_name' => ['image' => $path], 'type' => ['image' => 'image/png'], ], ]
/src/Symfony/Component/VarDumper/Caster/RdKafkaCaster.php:1791return [$prefix . 'orig_broker_id' => $m->getOrigBrokerId( ), $prefix . 'orig_broker_name' => $m->getOrigBrokerName( ), $prefix . 'brokers' => $m->getBrokers( ), $prefix . 'topics' => $m->getTopics( ), ]
/src/Symfony/Component/Notifier/Bridge/Mercure/MercureTransport.php:751$update = new Update($options->getTopics( ) ?? $this->topics, json_encode(['@context' => 'https://www.w3.org/ns/activitystreams', 'type' => 'Announce', 'summary' => $message->getSubject( ), ]), $options->isPrivate( ), $options->getId( ), $options->getType( ), $options->getRetry( ))
/src/Symfony/Component/Form/Tests/CompoundFormTest.php:10871$form = $this->factory->createBuilder( )->setDataMapper(new DataMapper(new PropertyPathAccessor($propertyAccessor)))->add('date', DateType::class, ['auto_initialize' => false, 'format' => 'dd/MM/yyyy', 'html5' => false, 'model_timezone' => 'UTC', 'view_timezone' => 'UTC', 'widget' => 'single_text', ])->getForm( )
/src/Symfony/Component/VarDumper/Caster/IntlCaster.php:1131$a += [Caster::PREFIX_VIRTUAL . 'display_name' => $c->getDisplayName( ), Caster::PREFIX_VIRTUAL . 'id' => $c->getID( ), Caster::PREFIX_VIRTUAL . 'raw_offset' => $c->getRawOffset( ), ]
/src/Symfony/Component/Notifier/Bridge/Discord/Tests/DiscordOptionsTest.php:391$discordOptions = (new DiscordOptions( ))->addEmbed((new DiscordEmbed( ))->description('descript.io')->url('http://ava.tar/pic.png')->timestamp(new \DateTimeImmutable('2020-10-12 9:14:15+0000'))->color(2021216)->title('New song added!'))->addEmbed((new DiscordEmbed( ))->description('descript.io 2')->url('http://ava.tar/pic.png')->timestamp(new \DateTimeImmutable('2020-10-12 9:14:15+0000'))->color(2021216)->title('New song added!'))
/src/Symfony/Component/Form/Tests/AbstractRequestHandlerTestCase.php:4431return [[1024 ** 3 + 1, '1G', true, ['{{ max }}' => '1G']], [1024 ** 3, '1G', false], [1024 ** 2 + 1, '1M', true, ['{{ max }}' => '1M']], [1024 ** 2, '1M', false], [1024 + 1, '1K', true, ['{{ max }}' => '1K']], [1024, '1K', false], [null, '1K', false], [1024, '', false], [1024, '0', false], ]
/src/Symfony/Component/VarDumper/Caster/IntlCaster.php:1301$a += [Caster::PREFIX_VIRTUAL . 'type' => $c->getType( ), Caster::PREFIX_VIRTUAL . 'first_day_of_week' => $c->getFirstDayOfWeek( ), Caster::PREFIX_VIRTUAL . 'minimal_days_in_first_week' => $c->getMinimalDaysInFirstWeek( ), Caster::PREFIX_VIRTUAL . 'repeated_wall_time_option' => $c->getRepeatedWallTimeOption( ), Caster::PREFIX_VIRTUAL . 'skipped_wall_time_option' => $c->getSkippedWallTimeOption( ), Caster::PREFIX_VIRTUAL . 'time' => $c->getTime( ), Caster::PREFIX_VIRTUAL . 'in_daylight_time' => $c->inDaylightTime( ), Caster::PREFIX_VIRTUAL . 'is_lenient' => $c->isLenient( ), Caster::PREFIX_VIRTUAL . 'time_zone' => ($filter & Caster::EXCLUDE_VERBOSE) ? new CutStub($c->getTimeZone( )) : $c->getTimeZone( ), ]
/src/Symfony/Component/Notifier/Bridge/Infobip/InfobipTransport.php:591$response = $this->client->request('POST', $endpoint, ['headers' => ['Authorization' => 'App ' . $this->authToken, ], 'json' => ['messages' => [['from' => $message->getFrom( ) ?: $this->from, 'destinations' => [['to' => $message->getPhone( ), ], ], 'text' => $message->getSubject( ), ], ], ], ])
/src/Symfony/Component/Form/Tests/CompoundFormTest.php:7631$form = $this->getBuilder('author')->setMethod('GET')->setCompound(true)->setDataMapper(new DataMapper( ))->setRequestHandler(new HttpFoundationRequestHandler( ))->getForm( )
/src/Symfony/Component/VarDumper/Caster/SplCaster.php:2451$a += [$prefix . 'storage' => $c->getArrayCopy( ), $prefix . 'flag::STD_PROP_LIST' => (bool) ($flags & \ArrayObject::STD_PROP_LIST), $prefix . 'flag::ARRAY_AS_PROPS' => (bool) ($flags & \ArrayObject::ARRAY_AS_PROPS), ]
/src/Symfony/Component/Notifier/Bridge/SmsBiuras/SmsBiurasTransport.php:781$response = $this->client->request('GET', $endpoint, ['query' => ['uid' => $this->uid, 'apikey' => $this->apiKey, 'message' => $message->getSubject( ), 'from' => $message->getFrom( ) ?: $this->from, 'test' => (int) $this->testMode, 'to' => $message->getPhone( ), ], ])
/src/Symfony/Component/Form/Tests/CompoundFormTest.php:7901$form = $this->getBuilder('')->setMethod('GET')->setCompound(true)->setDataMapper(new DataMapper( ))->setRequestHandler(new HttpFoundationRequestHandler( ))->getForm( )
/src/Symfony/Component/VarDumper/Caster/IntlCaster.php:471$a += [Caster::PREFIX_VIRTUAL . 'attributes' => new EnumStub(['PARSE_INT_ONLY' => $c->getAttribute(\NumberFormatter::PARSE_INT_ONLY), 'GROUPING_USED' => $c->getAttribute(\NumberFormatter::GROUPING_USED), 'DECIMAL_ALWAYS_SHOWN' => $c->getAttribute(\NumberFormatter::DECIMAL_ALWAYS_SHOWN), 'MAX_INTEGER_DIGITS' => $c->getAttribute(\NumberFormatter::MAX_INTEGER_DIGITS), 'MIN_INTEGER_DIGITS' => $c->getAttribute(\NumberFormatter::MIN_INTEGER_DIGITS), 'INTEGER_DIGITS' => $c->getAttribute(\NumberFormatter::INTEGER_DIGITS), 'MAX_FRACTION_DIGITS' => $c->getAttribute(\NumberFormatter::MAX_FRACTION_DIGITS), 'MIN_FRACTION_DIGITS' => $c->getAttribute(\NumberFormatter::MIN_FRACTION_DIGITS), 'FRACTION_DIGITS' => $c->getAttribute(\NumberFormatter::FRACTION_DIGITS), 'MULTIPLIER' => $c->getAttribute(\NumberFormatter::MULTIPLIER), 'GROUPING_SIZE' => $c->getAttribute(\NumberFormatter::GROUPING_SIZE), 'ROUNDING_MODE' => $c->getAttribute(\NumberFormatter::ROUNDING_MODE), 'ROUNDING_INCREMENT' => $c->getAttribute(\NumberFormatter::ROUNDING_INCREMENT), 'FORMAT_WIDTH' => $c->getAttribute(\NumberFormatter::FORMAT_WIDTH), 'PADDING_POSITION' => $c->getAttribute(\NumberFormatter::PADDING_POSITION), 'SECONDARY_GROUPING_SIZE' => $c->getAttribute(\NumberFormatter::SECONDARY_GROUPING_SIZE), 'SIGNIFICANT_DIGITS_USED' => $c->getAttribute(\NumberFormatter::SIGNIFICANT_DIGITS_USED), 'MIN_SIGNIFICANT_DIGITS' => $c->getAttribute(\NumberFormatter::MIN_SIGNIFICANT_DIGITS), 'MAX_SIGNIFICANT_DIGITS' => $c->getAttribute(\NumberFormatter::MAX_SIGNIFICANT_DIGITS), 'LENIENT_PARSE' => $c->getAttribute(\NumberFormatter::LENIENT_PARSE), ]), Caster::PREFIX_VIRTUAL . 'text_attributes' => new EnumStub(['POSITIVE_PREFIX' => $c->getTextAttribute(\NumberFormatter::POSITIVE_PREFIX), 'POSITIVE_SUFFIX' => $c->getTextAttribute(\NumberFormatter::POSITIVE_SUFFIX), 'NEGATIVE_PREFIX' => $c->getTextAttribute(\NumberFormatter::NEGATIVE_PREFIX), 'NEGATIVE_SUFFIX' => $c->getTextAttribute(\NumberFormatter::NEGATIVE_SUFFIX), 'PADDING_CHARACTER' => $c->getTextAttribute(\NumberFormatter::PADDING_CHARACTER), 'CURRENCY_CODE' => $c->getTextAttribute(\NumberFormatter::CURRENCY_CODE), 'DEFAULT_RULESET' => $c->getTextAttribute(\NumberFormatter::DEFAULT_RULESET), 'PUBLIC_RULESETS' => $c->getTextAttribute(\NumberFormatter::PUBLIC_RULESETS), ]), Caster::PREFIX_VIRTUAL . 'symbols' => new EnumStub(['DECIMAL_SEPARATOR_SYMBOL' => $c->getSymbol(\NumberFormatter::DECIMAL_SEPARATOR_SYMBOL), 'GROUPING_SEPARATOR_SYMBOL' => $c->getSymbol(\NumberFormatter::GROUPING_SEPARATOR_SYMBOL), 'PATTERN_SEPARATOR_SYMBOL' => $c->getSymbol(\NumberFormatter::PATTERN_SEPARATOR_SYMBOL), 'PERCENT_SYMBOL' => $c->getSymbol(\NumberFormatter::PERCENT_SYMBOL), 'ZERO_DIGIT_SYMBOL' => $c->getSymbol(\NumberFormatter::ZERO_DIGIT_SYMBOL), 'DIGIT_SYMBOL' => $c->getSymbol(\NumberFormatter::DIGIT_SYMBOL), 'MINUS_SIGN_SYMBOL' => $c->getSymbol(\NumberFormatter::MINUS_SIGN_SYMBOL), 'PLUS_SIGN_SYMBOL' => $c->getSymbol(\NumberFormatter::PLUS_SIGN_SYMBOL), 'CURRENCY_SYMBOL' => $c->getSymbol(\NumberFormatter::CURRENCY_SYMBOL), 'INTL_CURRENCY_SYMBOL' => $c->getSymbol(\NumberFormatter::INTL_CURRENCY_SYMBOL), 'MONETARY_SEPARATOR_SYMBOL' => $c->getSymbol(\NumberFormatter::MONETARY_SEPARATOR_SYMBOL), 'EXPONENTIAL_SYMBOL' => $c->getSymbol(\NumberFormatter::EXPONENTIAL_SYMBOL), 'PERMILL_SYMBOL' => $c->getSymbol(\NumberFormatter::PERMILL_SYMBOL), 'PAD_ESCAPE_SYMBOL' => $c->getSymbol(\NumberFormatter::PAD_ESCAPE_SYMBOL), 'INFINITY_SYMBOL' => $c->getSymbol(\NumberFormatter::INFINITY_SYMBOL), 'NAN_SYMBOL' => $c->getSymbol(\NumberFormatter::NAN_SYMBOL), 'SIGNIFICANT_DIGIT_SYMBOL' => $c->getSymbol(\NumberFormatter::SIGNIFICANT_DIGIT_SYMBOL), 'MONETARY_GROUPING_SEPARATOR_SYMBOL' => $c->getSymbol(\NumberFormatter::MONETARY_GROUPING_SEPARATOR_SYMBOL), ]), ]
/src/Symfony/Component/Translation/Provider/TranslationProviderCollectionFactory.php:371$providers[$name] = $this->fromDsnObject(new Dsn($currentConfig['dsn']), !$currentConfig['locales'] ? $this->enabledLocales : $currentConfig['locales'], !$currentConfig['domains'] ? [ ] : $currentConfig['domains'])
/src/Symfony/Component/Form/Tests/SimpleFormTest.php:4491$form = $this->getBuilder( )->addViewTransformer(new FixedDataTransformer(['' => '', 'first' => 'second', ]))->addViewTransformer(new FixedDataTransformer(['' => '', 'second' => 'third', ]))->getForm( )
/src/Symfony/Component/VarDumper/Caster/RedisCaster.php:801return $a + [$prefix . 'hosts' => $c->_hosts( ), $prefix . 'function' => ClassStub::wrapCallable($c->_function( )), $prefix . 'lastError' => $c->getLastError( ), $prefix . 'options' => self::getRedisOptions($c), ]
/src/Symfony/Component/Translation/Dumper/MoFileDumper.php:371$header = ['magicNumber' => MoFileLoader::MO_LITTLE_ENDIAN_MAGIC, 'formatRevision' => 0, 'count' => $size, 'offsetId' => MoFileLoader::MO_HEADER_SIZE, 'offsetTranslated' => MoFileLoader::MO_HEADER_SIZE + (8 * $size), 'sizeHashes' => 0, 'offsetHashes' => MoFileLoader::MO_HEADER_SIZE + (16 * $size), ]
/src/Symfony/Component/Form/Tests/SimpleFormTest.php:4671$form = $this->getBuilder( )->addModelTransformer(new FixedDataTransformer(['' => '', 'second' => 'third', ]))->addModelTransformer(new FixedDataTransformer(['' => '', 'first' => 'second', ]))->getForm( )
/src/Symfony/Component/VarDumper/Caster/RedisCaster.php:931$a += [$prefix . '_masters' => $c->_masters( ), $prefix . '_redir' => $c->_redir( ), $prefix . 'mode' => new ConstStub($c->getMode( ) ? 'MULTI' : 'ATOMIC', $c->getMode( )), $prefix . 'lastError' => $c->getLastError( ), $prefix . 'options' => self::getRedisOptions($c, ['SLAVE_FAILOVER' => isset(self::FAILOVER_OPTIONS[$failover]) ? new ConstStub(self::FAILOVER_OPTIONS[$failover], $failover) : $failover, ]), ]
/src/Symfony/Component/Form/Test/FormIntegrationTestCase.php:271$this->factory = Forms::createFormFactoryBuilder( )->addExtensions($this->getExtensions( ))->addTypeExtensions($this->getTypeExtensions( ))->addTypes($this->getTypes( ))->addTypeGuessers($this->getTypeGuessers( ))->getFormFactory( )
/src/Symfony/Component/VarDumper/Caster/IntlCaster.php:1471$a += [Caster::PREFIX_VIRTUAL . 'locale' => $c->getLocale( ), Caster::PREFIX_VIRTUAL . 'pattern' => $c->getPattern( ), Caster::PREFIX_VIRTUAL . 'calendar' => $c->getCalendar( ), Caster::PREFIX_VIRTUAL . 'time_zone_id' => $c->getTimeZoneId( ), Caster::PREFIX_VIRTUAL . 'time_type' => $c->getTimeType( ), Caster::PREFIX_VIRTUAL . 'date_type' => $c->getDateType( ), Caster::PREFIX_VIRTUAL . 'calendar_object' => ($filter & Caster::EXCLUDE_VERBOSE) ? new CutStub($c->getCalendarObject( )) : $c->getCalendarObject( ), Caster::PREFIX_VIRTUAL . 'time_zone' => ($filter & Caster::EXCLUDE_VERBOSE) ? new CutStub($c->getTimeZone( )) : $c->getTimeZone( ), ]
/src/Symfony/Component/Translation/Tests/DependencyInjection/TranslationPathsPassTest.php:781$expectedPaths = [$container->getReflectionClass(ServiceArguments::class)->getFileName( ), $container->getReflectionClass(ServiceProperties::class)->getFileName( ), $container->getReflectionClass(ServiceMethodCalls::class)->getFileName( ), $container->getReflectionClass(ControllerArguments::class)->getFileName( ), $container->getReflectionClass(ServiceSubscriber::class)->getFileName( ), ]
/src/Symfony/Component/Form/Tests/SimpleFormTest.php:4241$form = $this->getBuilder('name')->addEventSubscriber(new FixedFilterListener(['preSetData' => ['app' => 'filtered', ], ]))->addModelTransformer(new FixedDataTransformer(['' => '', 'filtered' => 'norm', ]))->addViewTransformer(new FixedDataTransformer(['' => '', 'norm' => 'client', ]))->getForm( )
/src/Symfony/Component/VarDumper/Caster/RedisCaster.php:621return $a + [$prefix . 'isConnected' => $connected, $prefix . 'host' => $c->getHost( ), $prefix . 'port' => $c->getPort( ), $prefix . 'auth' => $c->getAuth( ), $prefix . 'mode' => isset(self::MODES[$mode]) ? new ConstStub(self::MODES[$mode], $mode) : $mode, $prefix . 'dbNum' => $c->getDbNum( ), $prefix . 'timeout' => $c->getTimeout( ), $prefix . 'lastError' => $c->getLastError( ), $prefix . 'persistentId' => $c->getPersistentID( ), $prefix . 'options' => self::getRedisOptions($c), ]
/src/Symfony/Component/Notifier/Bridge/FortySixElks/FortySixElksTransportFactory.php:321return (new FortySixElksTransport($this->getUser($dsn), $this->getPassword($dsn), $from, $this->client, $this->dispatcher))->setHost($host)->setPort($dsn->getPort( ))
/src/Symfony/Component/Form/Tests/SimpleFormTest.php:6241$form = $this->getBuilder( )->addModelTransformer(new FixedDataTransformer(['' => '', 'second' => 'first', ]))->addModelTransformer(new FixedDataTransformer(['' => '', 'third' => 'second', ]))->getForm( )
/src/Symfony/Component/VarDumper/Caster/AmqpCaster.php:1181$a += [$prefix . 'connection' => $c->getConnection( ), $prefix . 'channel' => $c->getChannel( ), $prefix . 'name' => $c->getName( ), $prefix . 'arguments' => $c->getArguments( ), ]
/src/Symfony/Component/Notifier/Bridge/GoIp/GoIpTransport.php:741$response = $this->client->request('GET', $this->getEndpoint( ), ['query' => ['u' => $this->username, 'p' => $this->password, 'l' => $options?->getSimSlot( ) ?? $this->simSlot, 'n' => $message->getPhone( ), 'm' => $message->getSubject( ), ], ])
/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php:311$form = $this->factory->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType')->add('firstName', 'Symfony\Component\Form\Extension\Core\Type\TextType')->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType')->add('color', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['choices' => ['red' => 'Red', 'blue' => 'Blue'], 'required' => false, ])->add('age', 'Symfony\Component\Form\Extension\Core\Type\NumberType')->add('birthDate', 'Symfony\Component\Form\Extension\Core\Type\BirthdayType')->add('city', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', ['choices' => range(1, 300), ])->getForm( )
/src/Symfony/Component/VarDumper/Caster/AmqpCaster.php:1361$type = isset(self::EXCHANGE_TYPES[$c->getType( )]) ? new ConstStub(self::EXCHANGE_TYPES[$c->getType( )], $c->getType( )) : $c->getType( )
/src/Symfony/Component/Notifier/Bridge/Sendberry/SendberryTransportFactory.php:341return (new SendberryTransport($this->getUser($dsn), $this->getPassword($dsn), $dsn->getRequiredOption('auth_key'), $dsn->getRequiredOption('from'), $this->client, $this->dispatcher))->setHost($host)->setPort($port)
/src/Symfony/Component/Form/Tests/SimpleFormTest.php:5751$form = $this->getBuilder('name')->addEventSubscriber(new FixedFilterListener(['preSubmit' => ['client' => 'filteredclient', ], 'onSubmit' => ['norm' => 'filterednorm', ], ]))->addViewTransformer(new FixedDataTransformer(['' => '', 'norm' => 'filteredclient', 'filterednorm' => 'cleanedclient', ]))->addModelTransformer(new FixedDataTransformer(['' => '', 'app' => 'filterednorm', ]))->getForm( )
/src/Symfony/Component/VarDumper/Caster/RedisCaster.php:1391$options += ['TCP_KEEPALIVE' => \defined('Redis::OPT_TCP_KEEPALIVE') ? $redis->getOption(\Redis::OPT_TCP_KEEPALIVE) : Relay::OPT_TCP_KEEPALIVE, 'READ_TIMEOUT' => $redis->getOption(\defined('Redis::OPT_READ_TIMEOUT') ? \Redis::OPT_READ_TIMEOUT : Relay::OPT_READ_TIMEOUT), 'COMPRESSION' => $compression, 'SERIALIZER' => $serializer, 'PREFIX' => $redis->getOption(\defined('Redis::OPT_PREFIX') ? \Redis::OPT_PREFIX : Relay::OPT_PREFIX), 'SCAN' => $retry, ]
/src/Symfony/Component/Notifier/Bridge/Sendberry/SendberryTransport.php:761$response = $this->client->request('POST', $endpoint, ['json' => ['from' => $from, 'to' => [$message->getPhone( )], 'content' => $message->getSubject( ), 'key' => $this->authKey, 'name' => $this->username, 'password' => $this->password, ], ])
/src/Symfony/Component/Form/Tests/SimpleFormTest.php:6061$form = $this->getBuilder( )->addViewTransformer(new FixedDataTransformer(['' => '', 'third' => 'second', ]))->addViewTransformer(new FixedDataTransformer(['' => '', 'second' => 'first', ]))->getForm( )
/src/Symfony/Component/VarDumper/Caster/AmqpCaster.php:691$a += [$prefix . 'is_connected' => $c->isConnected( ), $prefix . 'login' => $c->getLogin( ), $prefix . 'password' => $c->getPassword( ), $prefix . 'host' => $c->getHost( ), $prefix . 'vhost' => $c->getVhost( ), $prefix . 'port' => $c->getPort( ), $prefix . 'read_timeout' => $timeout, ]
/src/Symfony/Component/DomCrawler/Field/ChoiceFormField.php:1851if('input' === $this->node->nodeName && 'checkbox' !== strtolower($this->node->getAttribute('type')) && 'radio' !== strtolower($this->node->getAttribute('type'))) { /**/ }
/src/Symfony/Bridge/Monolog/Handler/FingersCrossed/NotFoundActivationStrategy.php:421if($isActivated && isset($record->context['exception']) && $record->context['exception'] instanceof HttpException && 404 == $record->context['exception']->getStatusCode( ) && ($request = $this->requestStack->getMainRequest( ))) { /**/ }
/src/Symfony/Component/DependencyInjection/Compiler/CheckTypeDeclarationsPass.php:2881if('callable' === $type && \is_array($value) && isset($value[0]) && ($value[0] instanceof Reference || $value[0] instanceof Definition || \is_string($value[0]))) { /**/ }
/src/Symfony/Bridge/Twig/NodeVisitor/TranslationNodeVisitor.php:861elseif($node instanceof FilterExpression && 'trans' === $node->getNode('filter')->getAttribute('value') && $node->getNode('node') instanceof ConcatBinary && $message = $this->getConcatValueFromNode($node->getNode('node'), null)) { /**/ }
/src/Symfony/Component/Yaml/Parser.php:1781if(isset($values['leadspaces']) && ('!' === $values['value'][0] || self::preg_match('#^(?P<key>' . Inline::REGEX_QUOTED_STRING . '|[^ \'"\{\[].*?) *\:(\s+(?P<value>.+?))?\s*$#u', $this->trimTag($values['value']), $matches))) { /**/ } else { /**/ }
/src/Symfony/Component/DependencyInjection/Compiler/CheckDefinitionValidityPass.php:471if(!$definition->isAbstract( ) && !$definition->isSynthetic( ) && !$definition->getClass( ) && !$definition->hasTag('container.service_locator') && (!$definition->getFactory( ) || !preg_match(FileLoader::ANONYMOUS_ID_REGEXP, $id))) { /**/ }
/src/Symfony/Component/Finder/Glob.php:561if($firstByte && $strictWildcardSlash && isset($glob[$i + 2]) && '**' === $glob[$i + 1] . $glob[$i + 2] && (!isset($glob[$i + 3]) || '/' === $glob[$i + 3])) { /**/ }
/src/Symfony/Component/HttpKernel/Kernel.php:3951if(is_file($cachePath) && \is_object($this->container = include $cachePath) && (!$this->debug || (self::$freshCache[$cachePath] ?? $cache->isFresh( )))) { /**/ }
/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php:1931if($isRoot && ($definition = $this->container->getDefinition($this->currentId)) && null !== ($this->decoratedId = $definition->innerServiceId) && $this->container->has($this->decoratedId)) { /**/ }
/src/Symfony/Component/Finder/Glob.php:741if($delimiter === $car || '.' === $car || '(' === $car || ')' === $car || '|' === $car || '+' === $car || '^' === $car || '$' === $car) { /**/ } elseif('*' === $car) { /**/ } elseif('?' === $car) { /**/ } elseif('{' === $car) { /**/ } elseif('}' === $car && $inCurlies) { /**/ } elseif(',' === $car && $inCurlies) { /**/ } elseif('\\' === $car) { /**/ } else { /**/ }
/src/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.php:1101if($this->dumper || ($this->requestStack && $this->requestStack->getMainRequest( ) !== $request) || $request->isXmlHttpRequest( ) || $request->headers->has('Origin')) { /**/ }
/src/Symfony/Component/DependencyInjection/Compiler/AttributeAutoconfigurationPass.php:851if(!$value instanceof Definition || !$value->isAutoconfigured( ) || $value->isAbstract( ) || $value->hasTag('container.ignore_attributes') || !($classReflector = $this->container->getReflectionClass($value->getClass( ), false))) { /**/ }
/src/Symfony/Bridge/Doctrine/Validator/DoctrineLoader.php:1061elseif(property_exists($className, self::getFieldMappingValue($mapping, 'fieldName')) && (!$doctrineMetadata->isMappedSuperclass || $metadata->getReflectionClass( )->getProperty(self::getFieldMappingValue($mapping, 'fieldName'))->isPrivate( ))) { /**/ }
/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php:6991if(null !== $target && str_starts_with($target, '.' . $type . ' $') && (new Target($target = substr($target, \strlen($type) + 3)))->getParsedName( ) === $name) { /**/ }
/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php:1961if(str_contains($mappingDriverDef->getClass( ), 'yml') || str_contains($mappingDriverDef->getClass( ), 'xml') || str_contains($mappingDriverDef->getClass( ), 'Yaml') || str_contains($mappingDriverDef->getClass( ), 'Xml')) { /**/ }
/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php:4651if(($this->container->has($n = $name) && !$this->container->findDefinition($n)->isAbstract( )) || ($this->container->has($n = $parsedName) && !$this->container->findDefinition($n)->isAbstract( ))) { /**/ }
/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:1311if((\E_USER_DEPRECATED !== $type && \E_DEPRECATED !== $type && (\E_WARNING !== $type || false === strpos($msg, '" targeting switch is equivalent to "break'))) || !$this->getConfiguration( )->isEnabled( )) { /**/ }
/src/Symfony/Component/Yaml/Parser.php:1991elseif(self::preg_match('#^(?P<key>(?:![^\s]++\s++)?(?:' . Inline::REGEX_QUOTED_STRING . '|[^ \'"\[\{!].*?)) *\:(( |\t)++(?P<value>.+))?$#u', rtrim($this->currentLine), $values) && (!str_contains($values['key'], ' #') || \in_array($values['key'][0], ['"', "'"]))) { /**/ } elseif('"' === $this->currentLine[0] || "'" === $this->currentLine[0]) { /**/ } elseif('{' === $this->currentLine[0]) { /**/ } elseif('[' === $this->currentLine[0]) { /**/ } else { /**/ }
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:10441if($byConstructor && isset($this->circularReferences[$id][$targetId]) && !$this->circularReferences[$id][$targetId] && !($this->hasProxyDumper && $definition->isLazy( ))) { /**/ }
/src/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerTrait.php:2311if(isset($annotations['method']['expectedDeprecation']) || $this->checkNumAssertions = method_exists($test, 'expectDeprecation') && (new \ReflectionMethod($test, 'expectDeprecation'))->getFileName( ) === (new \ReflectionMethod(ExpectDeprecationTrait::class, 'expectDeprecation'))->getFileName( )) { /**/ }
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:6411if('service_container' !== $id && $id !== $cId && ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE !== $behavior && $this->container->has($id) && $this->isTrivialInstance($def = $this->container->findDefinition($id))) { /**/ }
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:11931if(['...'] === $arguments && ($definition->isLazy( ) || 'Closure' !== ($definition->getClass( ) ?? 'Closure')) && ($callable[0] instanceof Reference || ($callable[0] instanceof Definition && !$this->definitionVariables->contains($callable[0])))) { /**/ }
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:11341if(([$file, $code] = $services[$id]) && null !== $file && ($definition->isPublic( ) || !$this->isTrivialInstance($definition) || isset($this->locatedIds[$id]))) { /**/ }
/src/Symfony/Component/HttpFoundation/Response.php:12781while ($level-- > $targetLevel && ($s = $status[$level]) && (!isset($s['del']) ? !isset($s['flags']) || ($s['flags'] & $flags) === $flags : $s['del'])) { /**/ }
/src/Symfony/Bridge/Doctrine/Validator/DoctrineLoader.php:981if(null === (self::getFieldMappingValue($mapping, 'length') ?? null) || null !== (self::getFieldMappingValue($mapping, 'enumType') ?? null) || !\in_array(self::getFieldMappingValue($mapping, 'type'), ['string', 'text'], true)) { /**/ }
/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:12811if(null !== $r && (null !== $constructor = $r->getConstructor( )) && 0 === $constructor->getNumberOfRequiredParameters( ) && Container::class !== $constructor->getDeclaringClass( )->name) { /**/ }
/src/Symfony/Component/HttpFoundation/Response.php:13121if(false !== stripos($this->headers->get('Content-Disposition') ?? '', 'attachment') && 1 == preg_match('/MSIE (.*?);/i', $request->server->get('HTTP_USER_AGENT') ?? '', $match) && true === $request->isSecure( )) { /**/ }
/src/Symfony/Component/Routing/Router.php:2962if([ ] === self::$cache && \function_exists('opcache_invalidate') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOL) && (!\in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true) || filter_var(\ini_get('opcache.enable_cli'), \FILTER_VALIDATE_BOOL))) { /**/ }
/src/Symfony/Component/Routing/Matcher/UrlMatcher.php:1442if($hasTrailingVar && ($hasTrailingSlash || (null === $m = $matches[\count($compiledRoute->getPathVariables( ))] ?? null) || '/' !== ($m[-1] ?? '/')) && preg_match($regex, $trimmedPathinfo, $m)) { /**/ }
/src/Symfony/Component/Routing/Matcher/UrlMatcher.php:2151if($route->getCondition( ) && !$this->getExpressionLanguage( )->evaluate($route->getCondition( ), ['context' => $this->context, 'request' => $this->request ?: $this->createRequest($pathinfo), 'params' => $routeParameters, ])) { /**/ }
/src/Symfony/Component/Routing/Matcher/TraceableUrlMatcher.php:1042if($hasTrailingVar && ($hasTrailingSlash || (null === $m = $matches[\count($compiledRoute->getPathVariables( ))] ?? null) || '/' !== ($m[-1] ?? '/')) && preg_match($regex, $trimmedPathinfo, $m)) { /**/ }
/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherDumper.php:1871if(('' === $prefix || str_starts_with($url, $prefix)) && (preg_match($rx, $url) || preg_match($rx, $url . '/')) && (!$host || !$hostRx || preg_match($hostRx, $host))) { /**/ }
/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:1371if($hasTrailingVar && ($hasTrailingSlash || (null === $n = $matches[\count($vars)] ?? null) || '/' !== ($n[-1] ?? '/')) && preg_match($regex, $this->matchHost ? $host . '.' . $trimmedPathinfo : $trimmedPathinfo, $n) && $m === (int) $n['MARK']) { /**/ }
/src/Symfony/Component/Routing/Matcher/Dumper/StaticPrefixCollection.php:1721if(('?' === ($prefix[$j] ?? '') || '?' === ($anotherPrefix[$j] ?? '')) && ($prefix[$j] ?? '') !== ($anotherPrefix[$j] ?? '')) { /**/ }
/src/Symfony/Component/Routing/Generator/UrlGenerator.php:1691if(null !== $this->strictRequirements && !preg_match('#^' . preg_replace('/\(\?(?:=|<=|!|<!)((?:[^()\\\\]+|\\\\.|\((?1)\))*)\)/', '', $token[2]) . '$#i' . (empty($token[4]) ? '' : 'u'), $mergedParams[$token[3]] ?? '')) { /**/ }
/src/Symfony/Component/Routing/Generator/UrlGenerator.php:2221if(null !== $this->strictRequirements && !preg_match('#^' . preg_replace('/\(\?(?:=|<=|!|<!)((?:[^()\\\\]+|\\\\.|\((?1)\))*)\)/', '', $token[2]) . '$#i' . (empty($token[4]) ? '' : 'u'), $mergedParams[$token[3]])) { /**/ }
/src/Symfony/Component/Routing/Loader/Psr4DirectoryLoader.php:821if('php' !== $file->getExtension( ) || !class_exists($className = $psr4Prefix . '\\' . $file->getBasename('.php')) || (new \ReflectionClass($className))->isAbstract( )) { /**/ }
/src/Symfony/Component/CssSelector/Parser/Parser.php:1541if($peek->isWhitespace( ) || $peek->isFileEnd( ) || $peek->isDelimiter([',', '+', '>', '~']) || ($insideNegation && $peek->isDelimiter([')']))) { /**/ }
/src/Symfony/Component/CssSelector/Parser/Parser.php:1971if(!(2 === $used || 3 === $used && $stream->getUsed( )[0]->isWhiteSpace( ) || $used >= 3 && $stream->getUsed( )[$used - 3]->isDelimiter([',']) || $used >= 4 && $stream->getUsed( )[$used - 3]->isWhiteSpace( ) && $stream->getUsed( )[$used - 4]->isDelimiter([',']))) { /**/ }
/src/Symfony/Component/AssetMapper/ImportMap/RemotePackageDownloader.php:511if(isset($installed[$entry->importName]) && $installed[$entry->importName]['version'] === $entry->version && $this->remotePackageStorage->isDownloaded($entry) && $this->areAllExtraFilesDownloaded($entry, $installed[$entry->importName]['extraFiles'])) { /**/ }
/src/Symfony/Component/DependencyInjection/EnvVarProcessor.php:1661elseif('' === ($env = $_ENV[$name] ?? (str_starts_with($name, 'HTTP_') ? null : ($_SERVER[$name] ?? null))) || (false !== $env && false === $env ??= getenv($name) ?? false)) { /**/ }
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:10481if(true === $tryProxy && $definition->isLazy( ) && ['Closure', 'fromCallable'] !== $definition->getFactory( ) && !$tryProxy = !($proxy = $this->proxyInstantiator ??= new LazyServiceInstantiator( )) || $proxy instanceof RealServiceInstantiator) { /**/ }
/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:10841if(null !== $id && $definition->isShared( ) && (isset($this->services[$id]) || isset($this->privates[$id])) && (true === $tryProxy || !$definition->isLazy( ))) { /**/ }
/src/Symfony/Component/Cache/CacheItem.php:1871if(!\is_array($v) || 1 !== \count($v) || 10 !== \strlen($k = (string) array_key_first($v)) || "\x9D" !== $k[0] || "\0" !== $k[5] || "\x5F" !== $k[9]) { /**/ }
/src/Symfony/Component/Validator/Constraints/TypeValidator.php:721if(isset(self::VALIDATION_FUNCTIONS[$type]) && match ($type) { /**/ } ) { /**/ }
/src/Symfony/Component/Validator/Constraints/ImageValidator.php:441if(null === $constraint->minWidth && null === $constraint->maxWidth && null === $constraint->minHeight && null === $constraint->maxHeight && null === $constraint->minPixels && null === $constraint->maxPixels && null === $constraint->minRatio && null === $constraint->maxRatio && $constraint->allowSquare && $constraint->allowLandscape && $constraint->allowPortrait && !$constraint->detectCorrupted) { /**/ }
/src/Symfony/Component/Validator/Constraints/ChoiceValidator.php:491if(!\is_callable($choices = [$this->context->getObject( ), $constraint->callback]) && !\is_callable($choices = [$this->context->getClassName( ), $constraint->callback]) && !\is_callable($choices = $constraint->callback)) { /**/ }
/src/Symfony/Component/Config/FileLocator.php:841if('/' === $file[0] || '\\' === $file[0] || (\strlen($file) > 3 && ctype_alpha($file[0]) && ':' === $file[1] && ('\\' === $file[2] || '/' === $file[2])) || null !== parse_url($file, \PHP_URL_SCHEME)) { /**/ }
/src/Symfony/Component/Translation/Loader/PhpFileLoader.php:252if([ ] === self::$cache && \function_exists('opcache_invalidate') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOL) && (!\in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true) || filter_var(\ini_get('opcache.enable_cli'), \FILTER_VALIDATE_BOOL))) { /**/ }
/src/Symfony/Component/Translation/Translator.php:1841if($this->hasIntlFormatter && ($catalogue->defines($id, $domain . MessageCatalogue::INTL_DOMAIN_SUFFIX) || (\strlen($domain) > $len && 0 === substr_compare($domain, MessageCatalogue::INTL_DOMAIN_SUFFIX, -$len, $len)))) { /**/ }
/src/Symfony/Component/Cache/Marshaller/TagAwareMarshaller.php:331if(\is_array($value) && \is_array($value['tags'] ?? null) && \array_key_exists('value', $value) && \count($value) === 2 + (\is_string($value['meta'] ?? null) && 8 === \strlen($value['meta']))) { /**/ } else { /**/ }
/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php:6781if(!($enableMaxDepth = $context[self::ENABLE_MAX_DEPTH] ?? $this->defaultContext[self::ENABLE_MAX_DEPTH] ?? false) || null === $maxDepth = $attributesMetadata[$attribute]?->getMaxDepth( )) { /**/ }
/src/Symfony/Component/ExpressionLanguage/Parser.php:3201if($this->stream->current->test(Token::STRING_TYPE) || $this->stream->current->test(Token::NAME_TYPE) || $this->stream->current->test(Token::NUMBER_TYPE)) { /**/ } elseif($this->stream->current->test(Token::PUNCTUATION_TYPE, '(')) { /**/ } else { /**/ }
/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php:2701if(!is_numeric($attr->nodeValue) || !$typeCastAttributes || (isset($attr->nodeValue[1]) && '0' === $attr->nodeValue[0] && '.' !== $attr->nodeValue[1])) { /**/ }
/src/Symfony/Component/Security/Http/Authenticator/X509Authenticator.php:491elseif($request->server->has($this->credentialsKey) && preg_match('#' . preg_quote($this->credentialUserIdentifier, '#') . '=([^,/]++)#', $request->server->get($this->credentialsKey), $matches)) { /**/ }
/src/Symfony/Component/Serializer/Serializer.php:3431if(\in_array($supportedType, ['*', 'object'], true) || $class !== $supportedType && ('object' !== $genericType || !is_subclass_of($class, $supportedType)) && !($doesClassRepresentCollection && str_ends_with($supportedType, '[]') && is_subclass_of(strstr($class, '[]', true), strstr($supportedType, '[]', true)))) { /**/ }
/src/Symfony/Component/Security/Http/HttpUtils.php:561if(null !== $this->secureDomainRegexp && 'https' === $this->urlMatcher->getContext( )->getScheme( ) && preg_match('#^https?:[/\\\\]{2,}+[^/]++#i', $path, $host) && !preg_match(sprintf($this->secureDomainRegexp, preg_quote($request->getHttpHost( ))), $host[0])) { /**/ }
/src/Symfony/Component/HttpClient/HttpClientTrait.php:1031if(\is_string($options['body']) && (string) \strlen($options['body']) !== substr($h = $options['normalized_headers']['content-length'][0] ?? '', 16) && ('' !== $h || '' !== $options['body'])) { /**/ }
/src/Symfony/Component/Security/Core/Authorization/Voter/AuthenticatedVoter.php:511if(null === $attribute || (self::IS_AUTHENTICATED_FULLY !== $attribute && self::IS_AUTHENTICATED_REMEMBERED !== $attribute && self::IS_AUTHENTICATED !== $attribute && self::IS_IMPERSONATOR !== $attribute && self::IS_REMEMBERED !== $attribute)) { /**/ }
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:4601if(!$refl->hasMethod($realName) || !($methodRefl = $refl->getMethod($realName))->isPublic( ) || ($static && !$methodRefl->isStatic( )) || (!$static && $methodRefl->isStatic( ))) { /**/ }
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:5721if(null !== ($returnType = self::$returnTypes[$class][$method->name] ?? null) && 'docblock' === $this->patchTypes['force'] && !$method->hasReturnType( ) && isset(TentativeTypes::RETURN_TYPES[$returnType[2]][$method->name])) { /**/ }
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:2581if(!is_subclass_of($symbols[$i], MockObject::class) && !is_subclass_of($symbols[$i], ProphecySubjectInterface::class) && !is_subclass_of($symbols[$i], Proxy::class) && !is_subclass_of($symbols[$i], ProxyInterface::class) && !is_subclass_of($symbols[$i], LazyObjectInterface::class) && !is_subclass_of($symbols[$i], LegacyProxy::class) && !is_subclass_of($symbols[$i], MockInterface::class) && !is_subclass_of($symbols[$i], IMock::class)) { /**/ }
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:4451if(!strncmp($vendor, str_replace('_', '\\', $use), $vendorLen) && str_starts_with($className, 'Symfony\\') && (!class_exists(InstalledVersions::class) || 'symfony/symfony' !== InstalledVersions::getRootPackage( )['name'])) { /**/ }
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php:1671if('https' === $params['scheme'] && ($params['host'] ?? 'default') === "sqs.{$clientConfiguration['region']}.amazonaws.com" && ($params['path'] ?? '/') === "/{$configuration['account']}/{$configuration['queue_name']}") { /**/ }
/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php:3351if('.' === $name[0] || self::MESSAGE_ATTRIBUTE_NAME === $name || \strlen($name) > 256 || str_ends_with($name, '.') || str_starts_with($name, 'AWS.') || str_starts_with($name, 'Amazon.') || preg_match('/([^a-zA-Z0-9_\.-]+|\.\.)/', $name)) { /**/ }
/src/Symfony/Component/ErrorHandler/DebugClassLoader.php:6531if(isset(self::${$type}[$use][$r->name]) && !isset($doc['deprecated']) && ('finalConstants' === $type || substr($use, 0, strrpos($use, '\\')) !== substr($use, 0, strrpos($class, '\\')))) { /**/ }
/src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/PostgreSqlConnection.php:711if((false === $notification || $notification['message'] !== $this->configuration['table_name'] || $notification['payload'] !== $this->configuration['queue_name']) && (microtime(true) * 1000 - $this->queueEmptiedAt < $this->configuration['check_delayed_interval'])) { /**/ }
/src/Symfony/Component/Mailer/Bridge/Sendgrid/Webhook/SendgridRequestParser.php:471if(!isset($content[0]['email']) || !isset($content[0]['timestamp']) || !isset($content[0]['event']) || !isset($content[0]['sg_message_id'])) { /**/ }
/src/Symfony/Component/Mailer/Bridge/Mailgun/Webhook/MailgunRequestParser.php:481if(!isset($content['signature']['timestamp']) || !isset($content['signature']['token']) || !isset($content['signature']['signature']) || !isset($content['event-data']['event'])) { /**/ }
/src/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php:1721if(null === ($class = $container->getDefinition($id)->getClass( )) || !($r = $container->getReflectionClass($class, false)) || !$r->hasMethod($method) || 1 > ($m = $r->getMethod($method))->getNumberOfParameters( ) || !($type = $m->getParameters( )[0]->getType( )) instanceof \ReflectionNamedType || $type->isBuiltin( ) || Event::class === ($name = $type->getName( ))) { /**/ }
/src/Symfony/Component/VarExporter/LazyGhostTrait.php:2231if($state && (null === $scope || isset($propertyScopes["\0$scope\0$name"])) && LazyObjectState::STATUS_INITIALIZED_FULL !== $state->status && LazyObjectState::STATUS_UNINITIALIZED_PARTIAL !== $state->initialize($this, $name, $readonlyScope ?? $scope)) { /**/ }
/src/Symfony/Component/VarExporter/Internal/Registry.php:1141if(($proto instanceof \Reflector || $proto instanceof \ReflectionGenerator || $proto instanceof \ReflectionType || $proto instanceof \IteratorIterator || $proto instanceof \RecursiveIteratorIterator) && (!$proto instanceof \Serializable && !method_exists($proto, '__wakeup') && !method_exists($class, '__unserialize'))) { /**/ }
/src/Symfony/Component/PropertyAccess/PropertyAccessor.php:2811if(($zval[self::VALUE] instanceof \ArrayAccess && !$zval[self::VALUE]->offsetExists($property)) || (\is_array($zval[self::VALUE]) && !isset($zval[self::VALUE][$property]) && !\array_key_exists($property, $zval[self::VALUE]))) { /**/ }
/src/Symfony/Component/PropertyAccess/PropertyAccessor.php:5351if($recursive || !$value instanceof \DateTimeInterface || !\in_array($value::class, ['DateTime', 'DateTimeImmutable'], true) || __FILE__ !== ($e->getTrace( )[0]['file'] ?? null)) { /**/ }
/src/Symfony/Component/Yaml/Dumper.php:1452if(Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value->getValue( )) && str_contains($value->getValue( ), "\n") && !str_contains($value->getValue( ), "\r\n")) { /**/ }
/src/Symfony/Component/Yaml/Inline.php:3071if($output && ('@' === $output[0] || '`' === $output[0] || '|' === $output[0] || '>' === $output[0] || '%' === $output[0])) { /**/ }
/src/Symfony/Component/Yaml/Inline.php:5301if(!$isValueQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && !self::isBinaryString($value) && Parser::preg_match(Parser::REFERENCE_PATTERN, $value, $matches)) { /**/ }
/src/Symfony/Component/Yaml/Inline.php:7551if('' !== $tag && (!isset($value[$nextOffset]) || !\in_array($value[$nextOffset], ['[', '{'], true)) && ('!' === $tag[0] || \in_array($tag, ['str', 'php/const', 'php/enum', 'php/object'], true))) { /**/ }
/src/Symfony/Component/Mime/MessageConverter.php:821if(2 === \count($parts) && $parts[0] instanceof TextPart && 'text' === $parts[0]->getMediaType( ) && 'plain' === $parts[0]->getMediaSubtype( ) && $parts[1] instanceof TextPart && 'text' === $parts[1]->getMediaType( ) && 'html' === $parts[1]->getMediaSubtype( )) { /**/ }
/src/Symfony/Component/OptionsResolver/OptionsResolver.php:2351if(isset($params[0]) && null !== ($type = $params[0]->getType( )) && self::class === $type->getName( ) && (!isset($params[1]) || (($type = $params[1]->getType( )) instanceof \ReflectionNamedType && Options::class === $type->getName( )))) { /**/ }
/src/Symfony/Component/OptionsResolver/OptionsResolver.php:10881if($triggerDeprecation && isset($this->deprecated[$option]) && (isset($this->given[$option]) || ($this->calling && \is_string($this->deprecated[$option]['message'])))) { /**/ }
/src/Symfony/Component/String/AbstractUnicodeString.php:5311if(0 === $codePoint || 0x034F === $codePoint || (0x200B <= $codePoint && 0x200F >= $codePoint) || 0x2028 === $codePoint || 0x2029 === $codePoint || (0x202A <= $codePoint && 0x202E >= $codePoint) || (0x2060 <= $codePoint && 0x2063 >= $codePoint)) { /**/ }
/src/Symfony/Component/Yaml/Parser.php:2961elseif(!isset($values['value']) || '' === $values['value'] || str_starts_with($values['value'], '#') || (null !== $subTag = $this->getLineTag($values['value'], $flags)) || '<<' === $key) { /**/ } else { /**/ }
/src/Symfony/Component/Yaml/Parser.php:7871if('mapping' === $context && \is_string($parsedValue) && '"' !== $value[0] && "'" !== $value[0] && '[' !== $value[0] && '{' !== $value[0] && '!' !== $value[0] && str_contains($parsedValue, ': ')) { /**/ }
/src/Symfony/Component/Yaml/Dumper.php:1002if(Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value->getValue( )) && str_contains($value->getValue( ), "\n") && !str_contains($value->getValue( ), "\r\n")) { /**/ }
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/TestServiceContainerWeakRefPass.php:341if($id && '.' !== $id[0] && (!$definition->isPublic( ) || $definition->isPrivate( ) || $definition->hasTag('container.private')) && !$definition->hasErrors( ) && !$definition->isAbstract( )) { /**/ }
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php:3521if(1 === \count($workflows) && isset($workflows['workflows']) && !array_is_list($workflows['workflows']) && array_diff(array_keys($workflows['workflows']), ['audit_trail', 'type', 'marking_store', 'supports', 'support_strategy', 'initial_marking', 'places', 'transitions'])) { /**/ }
/src/Symfony/Bundle/WebProfilerBundle/EventListener/WebDebugToolbarListener.php:1211if(self::DISABLED === $this->mode || !$response->headers->has('X-Debug-Token') || $response->isRedirection( ) || ($response->headers->has('Content-Type') && !str_contains($response->headers->get('Content-Type') ?? '', 'html')) || 'html' !== $request->getRequestFormat( ) || false !== stripos($response->headers->get('Content-Disposition', ''), 'attachment;')) { /**/ }
/src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:1361if(!$request->attributes->getBoolean('_stateless') && $request->hasSession( ) && ($session = $request->getSession( ))->isStarted( ) && $session->getFlashBag( ) instanceof AutoExpireFlashBag) { /**/ }
/src/Symfony/Component/Console/Helper/Table.php:7231if(isset($rows[$unmergedRowKey]) && \is_array($rows[$unmergedRowKey]) && ($this->getNumberOfColumns($rows[$unmergedRowKey]) + $this->getNumberOfColumns($unmergedRows[$unmergedRowKey]) <= $this->numberOfColumns)) { /**/ } else { /**/ }
/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php:3721elseif(!($context[self::REQUIRE_ALL_PROPERTIES] ?? $this->defaultContext[self::REQUIRE_ALL_PROPERTIES] ?? false) && $constructorParameter->hasType( ) && $constructorParameter->getType( )->allowsNull( )) { /**/ } else { /**/ }
/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php:1961if(!$input->getArgument('name') && !$input->getOption('tag') && !$input->getOption('parameter') && !$input->getOption('env-vars') && !$input->getOption('env-var') && $input->isInteractive( )) { /**/ }
/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php:2261if(!$ignore && ([ ] === $groups || array_intersect(array_merge($attributeMetadata->getGroups( ), ['*']), $groups)) && $this->isAllowedAttribute($classOrObject, $name = $attributeMetadata->getName( ), null, $context)) { /**/ }
/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php:2201if($input->mustSuggestArgumentValuesFor('name') && !$input->getOption('tag') && !$input->getOption('tags') && !$input->getOption('parameter') && !$input->getOption('parameters') && !$input->getOption('env-var') && !$input->getOption('env-vars') && !$input->getOption('types') && !$input->getOption('deprecations')) { /**/ }
/src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php:1611if(($reflectionProperty->isPublic( ) && !\array_key_exists($reflectionProperty->name, $propertyValues)) || ($reflectionProperty->isProtected( ) && !\array_key_exists("\0*\0{$reflectionProperty->name}", $propertyValues)) || ($reflectionProperty->isPrivate( ) && !\array_key_exists("\0{$reflectionProperty->class}\0{$reflectionProperty->name}", $propertyValues))) { /**/ }
/src/Symfony/Bundle/FrameworkBundle/Command/BuildDebugContainerTrait.php:421if(!$kernel->isDebug( ) || !$kernel->getContainer( )->getParameter('debug.container.dump') || !(new ConfigCache($kernel->getContainer( )->getParameter('debug.container.dump'), true))->isFresh( )) { /**/ } else { /**/ }
/src/Symfony/Component/Dotenv/Dotenv.php:3581if('$' === $this->data[$this->cursor] && isset($this->data[$this->cursor + 1]) && '(' === $this->data[$this->cursor + 1]) { /**/ }
/src/Symfony/Component/Console/Input/ArgvInput.php:2771elseif((isset($this->options[$name]) || isset($this->options[$name = $this->definition->shortcutToName($name)])) && $this->tokens[$i + 1] === $this->options[$name]) { /**/ }
/src/Symfony/Component/Dotenv/Dotenv.php:3521if('\\' === $this->data[$this->cursor] && isset($this->data[$this->cursor + 1]) && ('"' === $this->data[$this->cursor + 1] || "'" === $this->data[$this->cursor + 1])) { /**/ }
/src/Symfony/Component/Console/Descriptor/TextDescriptor.php:531if($option->acceptValue( ) && null !== $option->getDefault( ) && (!\is_array($option->getDefault( )) || \count($option->getDefault( )))) { /**/ } else { /**/ }
/src/Symfony/Component/Dotenv/Dotenv.php:3511while ($this->cursor < $this->end && !\in_array($this->data[$this->cursor], ["\n", '"', "'"], true) && !((' ' === $prevChr || "\t" === $prevChr) && '#' === $this->data[$this->cursor])) { /**/ }
/src/Symfony/Component/Console/Command/CompleteCommand.php:1121elseif($completionInput->mustSuggestArgumentValuesFor('command') && $command->getName( ) !== $completionInput->getCompletionValue( ) && !\in_array($completionInput->getCompletionValue( ), $command->getAliases( ), true)) { /**/ } else { /**/ }
/src/Symfony/Component/Dotenv/Dotenv.php:3331while ('"' !== $this->data[$this->cursor] || ('\\' === $this->data[$this->cursor - 1] && '\\' !== $this->data[$this->cursor - 2])) { /**/ }
/src/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.php:1151if(!$this->requestStack || !$response->headers->has('X-Debug-Token') || $response->isRedirection( ) || ($response->headers->has('Content-Type') && !str_contains($response->headers->get('Content-Type') ?? '', 'html')) || 'html' !== $request->getRequestFormat( ) || false === strripos($response->getContent( ), '</body>')) { /**/ }
/src/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php:891if(null !== ($class = $container->getDefinition($id)->getClass( )) && ($r = $container->getReflectionClass($class, false)) && !$r->hasMethod($event['method'])) { /**/ }
/src/Symfony/Component/Form/Extension/Core/DataMapper/DataMapper.php:721if($config->getMapped( ) && $form->isSubmitted( ) && $form->isSynchronized( ) && !$form->isDisabled( ) && $this->dataAccessor->isWritable($data, $form)) { /**/ }
/src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToArrayTransformer.php:1411if(!empty($value['month']) && !empty($value['day']) && !empty($value['year']) && false === checkdate($value['month'], $value['day'], $value['year'])) { /**/ }
/src/Symfony/Component/Form/Extension/Core/Type/FormType.php:821if(!isset($view->vars['attr']['readonly']) && isset($view->parent->vars['attr']['readonly']) && false !== $view->parent->vars['attr']['readonly']) { /**/ }
/src/Symfony/Component/Form/Extension/Core/Type/DateIntervalType.php:481if(!$options['with_years'] && !$options['with_months'] && !$options['with_weeks'] && !$options['with_days'] && !$options['with_hours'] && !$options['with_minutes'] && !$options['with_seconds']) { /**/ }