This PR was squashed before being merged into the 4.4 branch.
Discussion
----------
[Messenger] Fix merging PrototypedArrayNode associative values
Now keys will not be considered as irrelevant.
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix #39846, fix #36874
| License | MIT
| Doc PR |
The problem was because in ConfigTree `options` are defined as `arrayNode` and has a `prototype('variable')`. So for combining config together `PrototypedArrayNode::mergeValues()` was called. And there was a trouble - for that `PrototypedArrayNode` `$rightSide` values were added without keys:
`\Symfony\Component\Config\Definition\PrototypedArrayNode::mergeValues`
```php
foreach ($rightSide as $k => $v) {
// prototype, and key is irrelevant, append the element
if (null === $this->keyAttribute) {
$leftSide[] = $v;
continue;
}
```
Commits
-------
11128c9c0b
[Messenger] Fix merging PrototypedArrayNode associative values
186 lines
7.1 KiB
JSON
186 lines
7.1 KiB
JSON
{
|
|
"name": "symfony/symfony",
|
|
"type": "library",
|
|
"description": "The Symfony PHP framework",
|
|
"keywords": ["framework"],
|
|
"homepage": "https://symfony.com",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Fabien Potencier",
|
|
"email": "fabien@symfony.com"
|
|
},
|
|
{
|
|
"name": "Symfony Community",
|
|
"homepage": "https://symfony.com/contributors"
|
|
}
|
|
],
|
|
"provide": {
|
|
"php-http/async-client-implementation": "*",
|
|
"php-http/client-implementation": "*",
|
|
"psr/cache-implementation": "1.0|2.0",
|
|
"psr/container-implementation": "1.0",
|
|
"psr/event-dispatcher-implementation": "1.0",
|
|
"psr/http-client-implementation": "1.0",
|
|
"psr/link-implementation": "1.0",
|
|
"psr/log-implementation": "1.0",
|
|
"psr/simple-cache-implementation": "1.0",
|
|
"symfony/cache-implementation": "1.0|2.0",
|
|
"symfony/event-dispatcher-implementation": "1.1",
|
|
"symfony/http-client-implementation": "1.1|2.0",
|
|
"symfony/service-implementation": "1.0|2.0",
|
|
"symfony/translation-implementation": "1.0|2.0"
|
|
},
|
|
"require": {
|
|
"php": ">=7.1.3",
|
|
"ext-xml": "*",
|
|
"friendsofphp/proxy-manager-lts": "^1.0.2",
|
|
"doctrine/event-manager": "~1.0",
|
|
"doctrine/persistence": "^1.3|^2",
|
|
"twig/twig": "^1.43|^2.13|^3.0.4",
|
|
"psr/cache": "^1.0|^2.0",
|
|
"psr/container": "^1.0",
|
|
"psr/link": "^1.0",
|
|
"psr/log": "~1.0",
|
|
"symfony/contracts": "^1.1.8",
|
|
"symfony/polyfill-ctype": "~1.8",
|
|
"symfony/polyfill-intl-icu": "~1.0",
|
|
"symfony/polyfill-intl-idn": "^1.10",
|
|
"symfony/polyfill-mbstring": "~1.0",
|
|
"symfony/polyfill-php72": "~1.5",
|
|
"symfony/polyfill-php73": "^1.11",
|
|
"symfony/polyfill-php80": "^1.15",
|
|
"symfony/polyfill-php81": "^1.22"
|
|
},
|
|
"replace": {
|
|
"symfony/asset": "self.version",
|
|
"symfony/amazon-mailer": "self.version",
|
|
"symfony/browser-kit": "self.version",
|
|
"symfony/cache": "self.version",
|
|
"symfony/config": "self.version",
|
|
"symfony/console": "self.version",
|
|
"symfony/css-selector": "self.version",
|
|
"symfony/dependency-injection": "self.version",
|
|
"symfony/debug": "self.version",
|
|
"symfony/debug-bundle": "self.version",
|
|
"symfony/doctrine-bridge": "self.version",
|
|
"symfony/dom-crawler": "self.version",
|
|
"symfony/dotenv": "self.version",
|
|
"symfony/error-handler": "self.version",
|
|
"symfony/event-dispatcher": "self.version",
|
|
"symfony/expression-language": "self.version",
|
|
"symfony/filesystem": "self.version",
|
|
"symfony/finder": "self.version",
|
|
"symfony/form": "self.version",
|
|
"symfony/framework-bundle": "self.version",
|
|
"symfony/google-mailer": "self.version",
|
|
"symfony/http-client": "self.version",
|
|
"symfony/http-foundation": "self.version",
|
|
"symfony/http-kernel": "self.version",
|
|
"symfony/inflector": "self.version",
|
|
"symfony/intl": "self.version",
|
|
"symfony/ldap": "self.version",
|
|
"symfony/lock": "self.version",
|
|
"symfony/mailchimp-mailer": "self.version",
|
|
"symfony/mailer": "self.version",
|
|
"symfony/mailgun-mailer": "self.version",
|
|
"symfony/messenger": "self.version",
|
|
"symfony/mime": "self.version",
|
|
"symfony/monolog-bridge": "self.version",
|
|
"symfony/options-resolver": "self.version",
|
|
"symfony/postmark-mailer": "self.version",
|
|
"symfony/process": "self.version",
|
|
"symfony/property-access": "self.version",
|
|
"symfony/property-info": "self.version",
|
|
"symfony/proxy-manager-bridge": "self.version",
|
|
"symfony/routing": "self.version",
|
|
"symfony/security": "self.version",
|
|
"symfony/security-core": "self.version",
|
|
"symfony/security-csrf": "self.version",
|
|
"symfony/security-guard": "self.version",
|
|
"symfony/security-http": "self.version",
|
|
"symfony/security-bundle": "self.version",
|
|
"symfony/sendgrid-mailer": "self.version",
|
|
"symfony/serializer": "self.version",
|
|
"symfony/stopwatch": "self.version",
|
|
"symfony/templating": "self.version",
|
|
"symfony/translation": "self.version",
|
|
"symfony/twig-bridge": "self.version",
|
|
"symfony/twig-bundle": "self.version",
|
|
"symfony/validator": "self.version",
|
|
"symfony/var-dumper": "self.version",
|
|
"symfony/var-exporter": "self.version",
|
|
"symfony/web-link": "self.version",
|
|
"symfony/web-profiler-bundle": "self.version",
|
|
"symfony/web-server-bundle": "self.version",
|
|
"symfony/workflow": "self.version",
|
|
"symfony/yaml": "self.version"
|
|
},
|
|
"require-dev": {
|
|
"cache/integration-tests": "dev-master",
|
|
"composer/package-versions-deprecated": "^1.8",
|
|
"doctrine/annotations": "^1.10.4",
|
|
"doctrine/cache": "^1.6|^2.0",
|
|
"doctrine/collections": "~1.0",
|
|
"doctrine/data-fixtures": "^1.1",
|
|
"doctrine/dbal": "^2.6|^3.0",
|
|
"doctrine/orm": "^2.6.3",
|
|
"guzzlehttp/promises": "^1.4",
|
|
"masterminds/html5": "^2.6",
|
|
"monolog/monolog": "^1.25.1",
|
|
"nyholm/psr7": "^1.0",
|
|
"paragonie/sodium_compat": "^1.8",
|
|
"php-http/httplug": "^1.0|^2.0",
|
|
"predis/predis": "~1.1",
|
|
"psr/http-client": "^1.0",
|
|
"psr/simple-cache": "^1.0",
|
|
"egulias/email-validator": "^2.1.10|^3.1",
|
|
"symfony/phpunit-bridge": "^5.2",
|
|
"symfony/security-acl": "~2.8|~3.0",
|
|
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
|
|
"twig/cssinliner-extra": "^2.12|^3",
|
|
"twig/inky-extra": "^2.12|^3",
|
|
"twig/markdown-extra": "^2.12|^3"
|
|
},
|
|
"conflict": {
|
|
"egulias/email-validator": "~3.0.0",
|
|
"masterminds/html5": "<2.6",
|
|
"monolog/monolog": ">=2",
|
|
"phpdocumentor/reflection-docblock": "<3.0|>=3.2.0,<3.2.2",
|
|
"phpdocumentor/type-resolver": "<0.3.0|1.3.*",
|
|
"ocramius/proxy-manager": "<2.1",
|
|
"phpunit/phpunit": "<5.4.3"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/",
|
|
"Symfony\\Bridge\\Monolog\\": "src/Symfony/Bridge/Monolog/",
|
|
"Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/",
|
|
"Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/",
|
|
"Symfony\\Bundle\\": "src/Symfony/Bundle/",
|
|
"Symfony\\Component\\": "src/Symfony/Component/"
|
|
},
|
|
"classmap": [
|
|
"src/Symfony/Component/Intl/Resources/stubs"
|
|
],
|
|
"exclude-from-classmap": [
|
|
"**/Tests/"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"files": [ "src/Symfony/Component/VarDumper/Resources/functions/dump.php" ]
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "path",
|
|
"url": "src/Symfony/Contracts",
|
|
"options": {
|
|
"versions": {
|
|
"symfony/contracts": "1.1.x-dev"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"minimum-stability": "dev"
|
|
}
|