8000 Merge branch '3.4' into 4.0 · symfony/symfony@aa66a47 · GitHub
[go: up one dir, main page]

Skip to content

Commit aa66a47

Browse files
Merge branch '3.4' into 4.0
* 3.4: [DI] fix undefined offset in InlineServiceDefinitionsPass [Security/Http] Fix deps conflict
2 parents c0894b1 + 5eb17e5 commit aa66a47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/DependencyInjection/Compiler/InlineServiceDefinitionsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,6 @@ private function isInlineableDefinition($id, Definition $definition, ServiceRefe
120120
return false;
121121
}
122122

123-
return $this->container->getDefinition($ids[0])->isShared();
123+
return !$ids || $this->container->getDefinition($ids[0])->isShared();
124124
}
125125
}

src/Symfony/Component/Security/Http/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"psr/log": "~1.0"
3030
},
3131
"conflict": {
32-
"symfony/security-csrf": ">=3.4.0,<3.4.11 || >=4.0.0,<4.0.11"
32+
"symfony/security-csrf": "<3.4.11|~4.0,<4.0.11|~4.1,<=4.1.0-beta2"
3333
},
3434
"suggest": {
3535
"symfony/security-csrf": "For using tokens to protect authentication/logout attempts",

0 commit comments

Comments
 (0)
0