8000 Merge branch '4.4' · symfony/symfony@aeffe88 · GitHub
[go: up one dir, main page]

Skip to content

Commit aeffe88

Browse files
Merge branch '4.4'
* 4.4: Bump minimal requirements
2 parents eb13c92 + e37f672 commit aeffe88

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,8 +1288,8 @@ public function testNoClassFromGlobalNamespaceClassIdWithLeadingSlash()
12881288

12891289
public function testNoClassFromNamespaceClassIdWithLeadingSlash()
12901290
{
1291-
$this->expectException('Symfony\Component\DependencyInjection\Exception\RuntimeException');
1292-
$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.');
1291+
$this->expectException('Symfony\Component\DependencyInjection\Exception\InvalidArgumentException');
1292+
$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.');
12931293
$container = new ContainerBuilder();
12941294

12951295
$container->register('\\'.FooClass::class);

src/Symfony/Component/DependencyInjection/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": "^7.2.9",
2020
"psr/container": "^1.0",
21-
"symfony/service-contracts": "^1.1.2"
21+
"symfony/service-contracts": "^1.1.6"
2222
},
2323
"require-dev": {
2424
"symfony/yaml": "^4.4|^5.0",

src/Symfony/Component/Translation/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": "^7.2.9",
2020
"symfony/polyfill-mbstring": "~1.0",
21-
"symfony/translation-contracts": "^1.1.2"
21+
"symfony/translation-contracts": "^1.1.6"
2222
},
2323
"require-dev": {
2424
"symfony/config": "^4.4|^5.0",

0 commit comments

Comments
 (0)
0