Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a1a4987

Browse filesBrowse files
committed
Backport psr/cache 1.1/2.0 compatibility
1 parent 2536e17 commit a1a4987
Copy full SHA for a1a4987

File tree

Expand file treeCollapse file tree

4 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+5
-3
lines changed

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@
148148
"phpdocumentor/reflection-docblock": "<3.0|>=3.2.0,<3.2.2",
149149
"phpdocumentor/type-resolver": "<0.3.0|1.3.*",
150150
"ocramius/proxy-manager": "<2.1",
151-
"phpunit/phpunit": "<5.4.3"
151+
"phpunit/phpunit": "<5.4.3",
152+
"psr/container": "1.1.0"
152153
},
153154
"autoload": {
154155
"psr-4": {

‎src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private function autowireCalls(\ReflectionClass $reflectionClass, bool $isRoot):
146146
$this->decoratedClass = null;
147147
$this->getPreviousValue = null;
148148

149-
if ($isRoot && ($definition = $this->container->getDefinition($this->currentId)) && $this->container->has($this->decoratedId = $definition->innerServiceId)) {
149+
if ($isRoot && ($definition = $this->container->getDefinition($this->currentId)) && null !== ($this->decoratedId = $definition->innerServiceId) && $this->container->has($this->decoratedId)) {
150150
$this->decoratedClass = $this->container->findDefinition($this->decoratedId)->getClass();
151151
}
152152

‎src/Symfony/Component/DependencyInjection/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/composer.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"symfony/proxy-manager-bridge": "Generate service proxies to lazy load them"
3434
},
3535
"conflict": {
36+
"psr/container": "1.1.0",
3637
"symfony/config": "<4.3|>=5.0",
3738
"symfony/finder": "<3.4",
3839
"symfony/proxy-manager-bridge": "<3.4",

‎src/Symfony/Component/Security/Core/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"symfony/service-contracts": "^1.1.6|^2"
2222
},
2323
"require-dev": {
24-
"psr/container": "^1.0",
24+
"psr/container": "^1.0|^2.0",
2525
"symfony/event-dispatcher": "^4.3",
2626
"symfony/expression-language": "^3.4|^4.0|^5.0",
2727
"symfony/http-foundation": "^3.4|^4.0|^5.0",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.