Merge branch '4.4'

* 4.4:
  Bump minimal requirements
This commit is contained in:
Nicolas Grekas 2019-08-10 23:18:44 +02:00
commit aeffe8880b
3 changed files with 4 additions and 4 deletions

View File

@ -1288,8 +1288,8 @@ class ContainerBuilderTest extends TestCase
public function testNoClassFromNamespaceClassIdWithLeadingSlash()
{
$this->expectException('Symfony\Component\DependencyInjection\Exception\RuntimeException');
$this->expectExceptionMessage('The definition for "\Symfony\Component\DependencyInjection\Tests\FooClass" has no class attribute, and appears to reference a class or interface. Please specify the class attribute explicitly or remove the leading backslash by renaming the service to "Symfony\Component\DependencyInjection\Tests\FooClass" to get rid of this error.');
$this->expectException('Symfony\Component\DependencyInjection\Exception\InvalidArgumentException');
$this->expectExceptionMessage('Service definition "\Symfony\Component\DependencyInjection\Tests\FooClass" has no class, and its name looks like a FQCN but it starts with a backslash; remove the leading backslash.');
$container = new ContainerBuilder();
$container->register('\\'.FooClass::class);

View File

@ -18,7 +18,7 @@
"require": {
"php": "^7.2.9",
"psr/container": "^1.0",
"symfony/service-contracts": "^1.1.2"
"symfony/service-contracts": "^1.1.6"
},
"require-dev": {
"symfony/yaml": "^4.4|^5.0",

View File

@ -18,7 +18,7 @@
"require": {
"php": "^7.2.9",
"symfony/polyfill-mbstring": "~1.0",
"symfony/translation-contracts": "^1.1.2"
"symfony/translation-contracts": "^1.1.6"
},
"require-dev": {
"symfony/config": "^4.4|^5.0",