You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 3.4:
fixed wrong merge
Tweak message to be Flex friendly
[Routing] fixed tests
Fixing wrong class_exists on interface
Preserve percent-encoding in URLs when performing redirects in the UrlMatcher
[Console] Fix a bug when passing a letter that could be an alias
add missing validation options to XSD file
Take advantage of AnnotationRegistry::registerUniqueLoader
[DI] Optimize Container::get() for perf
fix merge
Fix tests
Refactoring tests.
$this->assertEquals($foo, $builder->getDefinition('foobar'), '->getDefinition() returns a service definition if defined');
76
-
$this->assertTrue($builder->setDefinition('foobar', $foo = newDefinition('FooBarClass')) ===$foo, '->setDefinition() implements a fluid interface by returning the service reference');
76
+
$this->assertSame($builder->setDefinition('foobar', $foo = newDefinition('FooBarClass')),$foo, '->setDefinition() implements a fluid interface by returning the service reference');
$this->assertInstanceOf('Symfony\\Component\\DependencyInjection\\Definition', $services['foo'], '->load() converts <service> element to Definition instances');
256
256
$this->assertEquals('FooClass', $services['foo']->getClass(), '->load() parses the class attribute');
@@ -267,10 +267,10 @@ public function testLoadServices()
267
267
$this->assertSame(array(null, 'getInstance'), $services['new_factory4']->getFactory(), '->load() accepts factory tag without class');
$this->assertTrue(isset($services['foo']), '->load() parses service elements');
144
+
$this->assertArrayHasKey('foo', $services, '->load() parses service elements');
145
145
$this->assertFalse($services['not_shared']->isShared(), '->load() parses the shared flag');
146
146
$this->assertInstanceOf('Symfony\\Component\\DependencyInjection\\Definition', $services['foo'], '->load() converts service element to Definition instances');
147
147
$this->assertEquals('FooClass', $services['foo']->getClass(), '->load() parses the class attribute');
@@ -159,10 +159,10 @@ public function testLoadServices()
159
159
$this->assertEquals(array('foo', newReference('baz')), $services['Acme\WithShortCutArgs']->getArguments(), '->load() parses short service definition');
0 commit comments