Skip to content

Commit 826c2d7

Browse files
committed
Required DI version should be 2.6 or grater
The minimum required version of `symfony/dependency-injection` is 2.6. This is because the incorporation of `Definition::setFactory`. In Symfony 2.5 or lower fails with: PHP Fatal error: Call to undefined method Symfony\Component\DependencyInjection\Definition::setFactory() in /srv/www/vendor/aws/aws-sdk-php-symfony/src/DependencyInjection/AwsExtension.php on line 53
1 parent 82096ef commit 826c2d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"php": ">=5.5",
1515
"aws/aws-sdk-php": "^3.2.4",
1616
"symfony/config": "~2.3",
17-
"symfony/dependency-injection": "~2.3",
17+
"symfony/dependency-injection": "~2.6",
1818
"symfony/http-kernel": "~2.3"
1919
},
2020
"require-dev": {
@@ -36,4 +36,4 @@
3636
"tests/fixtures"
3737
]
3838
}
39-
}
39+
}

0 commit comments

Comments
 (0)