diff --git a/CHANGELOG-2.4.md b/CHANGELOG-2.4.md index c3b32c8764..c27e2a931a 100644 --- a/CHANGELOG-2.4.md +++ b/CHANGELOG-2.4.md @@ -7,6 +7,44 @@ in 2.4 minor versions. To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.4.0...v2.4.1 +* 2.4.0-RC1 (2013-11-25) + + * bug #9607 [HttpKernel] Fix a bug when using the kernel property in overridden method Client::setServerParameters() (gnutix) + * bug #9597 [Security] Typos in Security's ExpressionLanguage (ovrflo) + * feature #9587 [SecurityBundle] Added csrf_token_generator and csrf_token_id as new (shieldo) + * feature #9578 [DomCrawler] Fixes `attr` method returning empty string for missing attributes (aik099) + * bug #9565 [Debug] Fixed ClassNotFoundFatalErrorHandler which could cause a fatal error (jakzal) + * bug #9525 Cache Warmup Breaks Namespaced Kernel (rdohms) + * bug #9447 [BrowserKit] fixed protocol-relative url redirection (jong99) + * bug #9535 No Entity Manager defined exception (armetiz) + * bug #9485 [Acl] Fix for issue #9433 (guilro) + * bug #9516 [AclProvider] Fix incorrect behavior when partial results returned from cache (superdav42) + * feature #9546 [FrameworkBundle] use the new request_stack service in the GlobalVariables object (hhamon) + * bug #9566 [Console] Revert BC-break for verbose option value (chEbba) + * bug #9553 [FrameworkBundle] use the new request_stack service to get the Request object in the base Controller class (hhamon) + * feature #9541 [Translation] make IdentityTranslater consistent with normal translator (Tobion) + * bug #9536 [FrameworkBundle] Update 2 dependencies (currently broken) (asm89) + * bug #9352 [Intl] make currency bundle merge fallback locales when accessing data, ... (shieldo) + * bug #9537 [FrameworkBundle] Fix mistake in translation's service definition. (phpmike) + * bug #9529 [ExpressionLanguage] Fixed conflict between punctation and range (WouterJ) + * bug #9367 [Process] Check if the pipe array is empty before calling stream_select() (jfposton) + * bug #9211 [Form] Fixed memory leak in FormValidator (bschussek) + * bug #9469 [Propel1] re-factor Propel1 ModelChoiceList (havvg) + * bug #9499 Request::overrideGlobals() may call invalid ini value (denkiryokuhatsuden) + * feature #9494 made Router implement RequestMatcherInterface (fabpot) + * bug #9420 [Console][ProgressHelper] Fix ProgressHelper redraw when redrawFreq is greater than 1 (giosh94mhz) + * bug #9212 [Validator] Force Luhn Validator to only work with strings (Richtermeister) + * bug #9476 Fixed bug with lazy services (peterrehm) + * bug #9461 set mergeFallback to true, (ychadwick) + * bug #9451 Fix bug with variable named context to securityContext (mieszko4) + * feature #9434 moved logic for the session listeners into the HttpKernel component (fabpot) + * bug #9431 [DependencyInjection] fixed YamlDumper did not make services private. (realityking) + * bug #9332 [Config] Quoting reserved characters (WouterJ) + * bug #9416 fixed issue with clone now the children of the original form are preserved and the clone form is given new children (yjv) + * bug #9423 [Form] fix CsrfProviderAdapter (Tobion) + * feature #9342 Add X-Debug-Url profiler url header (adrienbrault) + * bug #9412 [HttpFoundation] added content length header to BinaryFileResponse (kbond) + * 2.4.0-BETA2 (2013-10-30) * bug #9408 [Form] Fixed failing FormDataExtractorTest (bschussek) diff --git a/UPGRADE-2.3.md b/UPGRADE-2.3.md index 02b36e66f2..26fbc1e677 100644 --- a/UPGRADE-2.3.md +++ b/UPGRADE-2.3.md @@ -137,7 +137,7 @@ Form ``` $form = $factory->create('form'); - $form->add($factory->createNamed('field', 'text', array( + $form->add($factory->createNamed('field', 'text', array(), array( 'auto_initialize' => false, ))); ``` @@ -276,4 +276,4 @@ BrowserKit If you were using responses with Location header and non-3xx Status Code, you have to update your code to manually create another request to URL - grabbed from the Location header. \ No newline at end of file + grabbed from the Location header. diff --git a/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueValidatorTest.php b/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueValidatorTest.php index 07514f18bc..92ad8caafb 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueValidatorTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueValidatorTest.php @@ -358,7 +358,7 @@ class UniqueValidatorTest extends \PHPUnit_Framework_TestCase public function testDedicatedEntityManagerNullObject() { $uniqueFields = array('name'); - $entityManagerName = 'foo'; + $entityManagerName = 'foo'; $registry = $this->getMock('Doctrine\Common\Persistence\ManagerRegistry'); diff --git a/src/Symfony/Bundle/TwigBundle/Tests/Loader/FilesystemLoaderTest.php b/src/Symfony/Bundle/TwigBundle/Tests/Loader/FilesystemLoaderTest.php index cd0329224a..c6d5e277a2 100644 --- a/src/Symfony/Bundle/TwigBundle/Tests/Loader/FilesystemLoaderTest.php +++ b/src/Symfony/Bundle/TwigBundle/Tests/Loader/FilesystemLoaderTest.php @@ -52,7 +52,7 @@ class FilesystemLoaderTest extends TestCase } /** - * @expectedException Twig_Error_Loader + * @expectedException \Twig_Error_Loader */ public function testTwigErrorIfLocatorThrowsInvalid() { @@ -76,7 +76,7 @@ class FilesystemLoaderTest extends TestCase } /** - * @expectedException Twig_Error_Loader + * @expectedException \Twig_Error_Loader */ public function testTwigErrorIfLocatorReturnsFalse() { diff --git a/src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php b/src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php index dfa51e37fe..7b71854da3 100644 --- a/src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php +++ b/src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php @@ -189,7 +189,7 @@ class ClassCollectionLoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testUnableToLoadClassException() { diff --git a/src/Symfony/Component/Config/Tests/Loader/LoaderTest.php b/src/Symfony/Component/Config/Tests/Loader/LoaderTest.php index 05ea772a7f..e938a4b071 100644 --- a/src/Symfony/Component/Config/Tests/Loader/LoaderTest.php +++ b/src/Symfony/Component/Config/Tests/Loader/LoaderTest.php @@ -43,7 +43,7 @@ class LoaderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Config\Exception\FileLoaderLoadException + * @expectedException \Symfony\Component\Config\Exception\FileLoaderLoadException */ public function testResolveWhenResolverCannotFindLoader() { diff --git a/src/Symfony/Component/Console/Tests/Formatter/OutputFormatterStyleStackTest.php b/src/Symfony/Component/Console/Tests/Formatter/OutputFormatterStyleStackTest.php index e99ebc5778..774df268ba 100644 --- a/src/Symfony/Component/Console/Tests/Formatter/OutputFormatterStyleStackTest.php +++ b/src/Symfony/Component/Console/Tests/Formatter/OutputFormatterStyleStackTest.php @@ -59,7 +59,7 @@ class OutputFormatterStyleStackTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testInvalidPop() { diff --git a/src/Symfony/Component/DependencyInjection/Container.php b/src/Symfony/Component/DependencyInjection/Container.php index c7056297a6..b9b195a238 100644 --- a/src/Symfony/Component/DependencyInjection/Container.php +++ b/src/Symfony/Component/DependencyInjection/Container.php @@ -525,7 +525,7 @@ class Container implements IntrospectableContainerInterface */ public static function camelize($id) { - return strtr(ucwords(strtr($id, array('_' => ' ', '.' => '_ '))), array(' ' => '')); + return strtr(ucwords(strtr($id, array('_' => ' ', '.' => '_ ', '\\' => '_ '))), array(' ' => '')); } /** diff --git a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php index 2037e1d5b3..dd08c97c11 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php @@ -449,7 +449,7 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase /** * @covers Symfony\Component\DependencyInjection\ContainerBuilder::merge - * @expectedException LogicException + * @expectedException \LogicException */ public function testMergeLogicException() { @@ -649,7 +649,7 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException BadMethodCallException + * @expectedException \BadMethodCallException */ public function testThrowsExceptionWhenSetServiceOnAFrozenContainer() { @@ -661,7 +661,7 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException BadMethodCallException + * @expectedException \BadMethodCallException */ public function testThrowsExceptionWhenAddServiceOnAFrozenContainer() { @@ -728,7 +728,7 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException BadMethodCallException + * @expectedException \BadMethodCallException */ public function testThrowsExceptionWhenSetDefinitionOnAFrozenContainer() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php b/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php index 6c49982bea..f2d0760192 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/ContainerTest.php @@ -51,6 +51,7 @@ class ContainerTest extends \PHPUnit_Framework_TestCase array('.foo', '_Foo'), array('foo_', 'Foo'), array('foo.', 'Foo_'), + array('foo\bar', 'Foo_Bar'), ); } diff --git a/src/Symfony/Component/DependencyInjection/Tests/DefinitionDecoratorTest.php b/src/Symfony/Component/DependencyInjection/Tests/DefinitionDecoratorTest.php index 8be8b64230..a266e9b31a 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/DefinitionDecoratorTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/DefinitionDecoratorTest.php @@ -81,7 +81,7 @@ class DefinitionDecoratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testReplaceArgumentShouldRequireIntegerIndex() { @@ -106,7 +106,7 @@ class DefinitionDecoratorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException OutOfBoundsException + * @expectedException \OutOfBoundsException */ public function testGetArgumentShouldCheckBounds() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php b/src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php index d41c6a8e2b..4ffd7c0792 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php @@ -275,7 +275,7 @@ class DefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException OutOfBoundsException + * @expectedException \OutOfBoundsException */ public function testGetArgumentShouldCheckBounds() { @@ -286,7 +286,7 @@ class DefinitionTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException OutOfBoundsException + * @expectedException \OutOfBoundsException */ public function testReplaceArgumentShouldCheckBounds() { diff --git a/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php b/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php index 77fe5e4937..98b05d2501 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php @@ -81,7 +81,7 @@ class PhpDumperTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testExportParameters() { @@ -121,7 +121,7 @@ class PhpDumperTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException * @expectedExceptionMessage Service id "bar$" cannot be converted to a valid PHP method name. */ public function testAddServiceInvalidServiceId() diff --git a/src/Symfony/Component/Finder/Expression/Expression.php b/src/Symfony/Component/Finder/Expression/Expression.php index ceedbc18a9..8559b33e31 100644 --- a/src/Symfony/Component/Finder/Expression/Expression.php +++ b/src/Symfony/Component/Finder/Expression/Expression.php @@ -130,7 +130,7 @@ class Expression implements ValueInterface public function getGlob() { if (self::TYPE_GLOB !== $this->value->getType()) { - throw new \LogicException('Regex cant be transformed to glob.'); + throw new \LogicException('Regex can\'t be transformed to glob.'); } return $this->value; diff --git a/src/Symfony/Component/HttpFoundation/Tests/CookieTest.php b/src/Symfony/Component/HttpFoundation/Tests/CookieTest.php index 0a8c438611..def1c7a378 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/CookieTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/CookieTest.php @@ -38,7 +38,7 @@ class CookieTest extends \PHPUnit_Framework_TestCase /** * @dataProvider invalidNames - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException * @covers Symfony\Component\HttpFoundation\Cookie::__construct */ public function testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters($name) @@ -47,7 +47,7 @@ class CookieTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testInvalidExpiration() { diff --git a/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php b/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php index 23c3cbaa42..580e04826d 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php @@ -669,18 +669,18 @@ class RequestTest extends \PHPUnit_Framework_TestCase $request->initialize(array('foo' => 'bar')); $this->assertEquals('', $request->getHost(), '->getHost() return empty string if not initialized'); - $request->initialize(array(), array(), array(), array(), array(), array('HTTP_HOST' => 'www.exemple.com')); - $this->assertEquals('www.exemple.com', $request->getHost(), '->getHost() from Host Header'); + $request->initialize(array(), array(), array(), array(), array(), array('HTTP_HOST' => 'www.example.com')); + $this->assertEquals('www.example.com', $request->getHost(), '->getHost() from Host Header'); // Host header with port number - $request->initialize(array(), array(), array(), array(), array(), array('HTTP_HOST' => 'www.exemple.com:8080')); - $this->assertEquals('www.exemple.com', $request->getHost(), '->getHost() from Host Header with port number'); + $request->initialize(array(), array(), array(), array(), array(), array('HTTP_HOST' => 'www.example.com:8080')); + $this->assertEquals('www.example.com', $request->getHost(), '->getHost() from Host Header with port number'); // Server values - $request->initialize(array(), array(), array(), array(), array(), array('SERVER_NAME' => 'www.exemple.com')); - $this->assertEquals('www.exemple.com', $request->getHost(), '->getHost() from server name'); + $request->initialize(array(), array(), array(), array(), array(), array('SERVER_NAME' => 'www.example.com')); + $this->assertEquals('www.example.com', $request->getHost(), '->getHost() from server name'); - $request->initialize(array(), array(), array(), array(), array(), array('SERVER_NAME' => 'www.exemple.com', 'HTTP_HOST' => 'www.host.com')); + $request->initialize(array(), array(), array(), array(), array(), array('SERVER_NAME' => 'www.example.com', 'HTTP_HOST' => 'www.host.com')); $this->assertEquals('www.host.com', $request->getHost(), '->getHost() value from Host header has priority over SERVER_NAME '); } @@ -739,7 +739,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testGetHostWithFakeHttpHostValue() { @@ -896,7 +896,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException * @dataProvider getContentCantBeCalledTwiceWithResourcesProvider */ public function testGetContentCantBeCalledTwiceWithResources($first, $second) diff --git a/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php b/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php index 1a37101246..11eb38c723 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php @@ -724,7 +724,7 @@ class ResponseTest extends ResponseTestCase } /** - * @expectedException UnexpectedValueException + * @expectedException \UnexpectedValueException * @dataProvider invalidContentProvider */ public function testSetContentInvalid($content) diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php index 52dd6ced5a..72499ea298 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php @@ -49,7 +49,7 @@ class MongoDbSessionHandlerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testConstructorShouldThrowExceptionForInvalidMongo() { @@ -57,7 +57,7 @@ class MongoDbSessionHandlerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testConstructorShouldThrowExceptionForMissingOptions() { diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockArraySessionStorageTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockArraySessionStorageTest.php index 2a6f6bb7e8..c56ea4a600 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockArraySessionStorageTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockArraySessionStorageTest.php @@ -97,7 +97,7 @@ class MockArraySessionStorageTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testUnstartedSave() { diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php index d42c62a25c..329c090d8d 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php @@ -107,7 +107,7 @@ class MockFileSessionStorageTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testSaveWithoutStart() { diff --git a/src/Symfony/Component/HttpKernel/Client.php b/src/Symfony/Component/HttpKernel/Client.php index 8ebfb4174a..226693ce6e 100644 --- a/src/Symfony/Component/HttpKernel/Client.php +++ b/src/Symfony/Component/HttpKernel/Client.php @@ -43,10 +43,11 @@ class Client extends BaseClient */ public function __construct(HttpKernelInterface $kernel, array $server = array(), History $history = null, CookieJar $cookieJar = null) { - parent::__construct($server, $history, $cookieJar); - + // These class properties must be set before calling the parent constructor, as it may depend on it. $this->kernel = $kernel; $this->followRedirects = false; + + parent::__construct($server, $history, $cookieJar); } /** diff --git a/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php b/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php index 6ddd85d946..1835938a07 100644 --- a/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php +++ b/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php @@ -53,6 +53,6 @@ abstract class DataCollector implements DataCollectorInterface, \Serializable $this->valueExporter = new ValueExporter(); } - $this->valueExporter->exportValue($var); + return $this->valueExporter->exportValue($var); } } diff --git a/src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php b/src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php index f245ac69f6..bb80781ebe 100644 --- a/src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php @@ -31,21 +31,23 @@ class RequestDataCollectorTest extends \PHPUnit_Framework_TestCase $c->collect($request, $response); - $this->assertSame('request',$c->getName()); - $this->assertInstanceOf('Symfony\Component\HttpFoundation\HeaderBag',$c->getRequestHeaders()); - $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag',$c->getRequestServer()); - $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag',$c->getRequestCookies()); - $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag',$c->getRequestAttributes()); - $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag',$c->getRequestRequest()); - $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag',$c->getRequestQuery()); - $this->assertEquals('html',$c->getFormat()); - $this->assertEquals(array(),$c->getSessionAttributes()); - $this->assertEquals('en',$c->getLocale()); + $this->assertSame('request', $c->getName()); + $this->assertInstanceOf('Symfony\Component\HttpFoundation\HeaderBag', $c->getRequestHeaders()); + $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag', $c->getRequestServer()); + $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag', $c->getRequestCookies()); + $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag', $c->getRequestAttributes()); + $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag', $c->getRequestRequest()); + $this->assertInstanceOf('Symfony\Component\HttpFoundation\ParameterBag', $c->getRequestQuery()); + $this->assertSame('html', $c->getFormat()); + $this->assertSame('foobar', $c->getRoute()); + $this->assertSame(array('name' => 'foo'), $c->getRouteParams()); + $this->assertSame(array(), $c->getSessionAttributes()); + $this->assertSame('en', $c->getLocale()); - $this->assertInstanceOf('Symfony\Component\HttpFoundation\HeaderBag',$c->getResponseHeaders()); - $this->assertEquals('OK',$c->getStatusText()); - $this->assertEquals(200,$c->getStatusCode()); - $this->assertEquals('application/json',$c->getContentType()); + $this->assertInstanceOf('Symfony\Component\HttpFoundation\HeaderBag', $c->getResponseHeaders()); + $this->assertSame('OK', $c->getStatusText()); + $this->assertSame(200, $c->getStatusCode()); + $this->assertSame('application/json', $c->getContentType()); } /** @@ -138,7 +140,7 @@ class RequestDataCollectorTest extends \PHPUnit_Framework_TestCase foreach ($controllerTests as $controllerTest) { $this->injectController($c, $controllerTest[1], $request); $c->collect($request, $response); - $this->assertEquals($controllerTest[2], $c->getController(), sprintf('Testing: %s', $controllerTest[0])); + $this->assertSame($controllerTest[2], $c->getController(), sprintf('Testing: %s', $controllerTest[0])); } } @@ -150,6 +152,8 @@ class RequestDataCollectorTest extends \PHPUnit_Framework_TestCase $request = Request::create('http://test.com/foo?bar=baz'); $request->attributes->set('foo', 'bar'); + $request->attributes->set('_route', 'foobar'); + $request->attributes->set('_route_params', array('name' => 'foo')); $response = new Response(); $response->setStatusCode(200); diff --git a/src/Symfony/Component/HttpKernel/Tests/Fragment/FragmentHandlerTest.php b/src/Symfony/Component/HttpKernel/Tests/Fragment/FragmentHandlerTest.php index dbf6b20b42..1893d85b80 100644 --- a/src/Symfony/Component/HttpKernel/Tests/Fragment/FragmentHandlerTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/Fragment/FragmentHandlerTest.php @@ -42,7 +42,7 @@ class FragmentHandlerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testRenderWithUnknownRenderer() { @@ -52,7 +52,7 @@ class FragmentHandlerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException * @expectedExceptionMessage Error when rendering "http://localhost/" (Status code is 404). */ public function testDeliverWithUnsuccessfulResponse() diff --git a/src/Symfony/Component/HttpKernel/Tests/HttpCache/EsiTest.php b/src/Symfony/Component/HttpKernel/Tests/HttpCache/EsiTest.php index 43eebf6f08..c509706389 100644 --- a/src/Symfony/Component/HttpKernel/Tests/HttpCache/EsiTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/HttpCache/EsiTest.php @@ -126,7 +126,7 @@ class EsiTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testProcessWhenNoSrcInAnEsi() { @@ -166,7 +166,7 @@ class EsiTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testHandleWhenResponseIsNot200() { diff --git a/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php b/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php index 2f69a94575..700b111228 100644 --- a/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php +++ b/src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php @@ -24,7 +24,7 @@ use Symfony\Component\EventDispatcher\EventDispatcher; class HttpKernelTest extends \PHPUnit_Framework_TestCase { /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testHandleWhenControllerThrowsAnExceptionAndRawIsTrue() { @@ -34,7 +34,7 @@ class HttpKernelTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testHandleWhenControllerThrowsAnExceptionAndRawIsFalseAndNoListenerIsRegistered() { @@ -136,7 +136,7 @@ class HttpKernelTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException */ public function testHandleWhenTheControllerIsNotACallable() { @@ -188,7 +188,7 @@ class HttpKernelTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException */ public function testHandleWhenTheControllerDoesNotReturnAResponse() { diff --git a/src/Symfony/Component/Process/Tests/AbstractProcessTest.php b/src/Symfony/Component/Process/Tests/AbstractProcessTest.php index e449c703b9..a25a2367e3 100644 --- a/src/Symfony/Component/Process/Tests/AbstractProcessTest.php +++ b/src/Symfony/Component/Process/Tests/AbstractProcessTest.php @@ -621,7 +621,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Process\Exception\LogicException + * @expectedException \Symfony\Component\Process\Exception\LogicException */ public function testSignalProcessNotRunning() { @@ -641,7 +641,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testSignalWithWrongIntSignal() { @@ -655,7 +655,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testSignalWithWrongNonIntSignal() { diff --git a/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php b/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php index 29f3cd9a04..d6ae226990 100644 --- a/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php +++ b/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php @@ -94,7 +94,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testGetPidIsNullBeforeStart() { @@ -102,7 +102,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testGetPidIsNullAfterRun() { @@ -110,7 +110,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testExitCodeText() { @@ -145,7 +145,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testSignal() { @@ -153,7 +153,7 @@ class SigchildDisabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessWithoutTermSignalIsNotSignaled() { diff --git a/src/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php b/src/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php index 296b00dfcb..3da512a4fc 100644 --- a/src/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php +++ b/src/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php @@ -46,7 +46,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testGetPid() { @@ -54,7 +54,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testGetPidIsNullBeforeStart() { @@ -62,7 +62,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testGetPidIsNullAfterRun() { @@ -78,7 +78,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testSignal() { @@ -86,7 +86,7 @@ class SigchildEnabledProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testProcessWithoutTermSignalIsNotSignaled() { diff --git a/src/Symfony/Component/Process/Tests/SimpleProcessTest.php b/src/Symfony/Component/Process/Tests/SimpleProcessTest.php index c5a571888d..6655acf4ec 100644 --- a/src/Symfony/Component/Process/Tests/SimpleProcessTest.php +++ b/src/Symfony/Component/Process/Tests/SimpleProcessTest.php @@ -104,7 +104,7 @@ class SimpleProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\LogicException + * @expectedException \Symfony\Component\Process\Exception\LogicException */ public function testSignalProcessNotRunning() { @@ -113,7 +113,7 @@ class SimpleProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testSignalWithWrongIntSignal() { @@ -122,7 +122,7 @@ class SimpleProcessTest extends AbstractProcessTest } /** - * @expectedException Symfony\Component\Process\Exception\RuntimeException + * @expectedException \Symfony\Component\Process\Exception\RuntimeException */ public function testSignalWithWrongNonIntSignal() { diff --git a/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationProviderManagerTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationProviderManagerTest.php index f3aaa8548f..b053d73b8f 100644 --- a/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationProviderManagerTest.php +++ b/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationProviderManagerTest.php @@ -20,7 +20,7 @@ use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; class AuthenticationProviderManagerTest extends \PHPUnit_Framework_TestCase { /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testAuthenticateWithoutProviders() { diff --git a/src/Symfony/Component/Security/Core/Tests/Authentication/Token/RememerMeTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/RememerMeTokenTest.php index 60d88c290c..691f54cb75 100644 --- a/src/Symfony/Component/Security/Core/Tests/Authentication/Token/RememerMeTokenTest.php +++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/RememerMeTokenTest.php @@ -53,7 +53,7 @@ class RememberMeTokenTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException PHPUnit_Framework_Error + * @expectedException \PHPUnit_Framework_Error * @dataProvider getUserArguments */ public function testConstructorUserCannotBeNull($user) diff --git a/src/Symfony/Component/Security/Core/Tests/Authentication/Token/UsernamePasswordTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/UsernamePasswordTokenTest.php index 99830c73c7..0297eff939 100644 --- a/src/Symfony/Component/Security/Core/Tests/Authentication/Token/UsernamePasswordTokenTest.php +++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/UsernamePasswordTokenTest.php @@ -28,7 +28,7 @@ class UsernamePasswordTokenTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException */ public function testSetAuthenticatedToTrue() { diff --git a/src/Symfony/Component/Security/Core/Tests/Authorization/AccessDecisionManagerTest.php b/src/Symfony/Component/Security/Core/Tests/Authorization/AccessDecisionManagerTest.php index 0353f997b4..b0557a3dcb 100644 --- a/src/Symfony/Component/Security/Core/Tests/Authorization/AccessDecisionManagerTest.php +++ b/src/Symfony/Component/Security/Core/Tests/Authorization/AccessDecisionManagerTest.php @@ -47,7 +47,7 @@ class AccessDecisionManagerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testSetVotersEmpty() { diff --git a/src/Symfony/Component/Security/Core/Tests/Encoder/BasePasswordEncoderTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/BasePasswordEncoderTest.php index 81f3d3c87a..14c488bc10 100644 --- a/src/Symfony/Component/Security/Core/Tests/Encoder/BasePasswordEncoderTest.php +++ b/src/Symfony/Component/Security/Core/Tests/Encoder/BasePasswordEncoderTest.php @@ -46,7 +46,7 @@ class BasePasswordEncoderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testMergePasswordAndSaltWithException() { diff --git a/src/Symfony/Component/Security/Core/Tests/Encoder/MessageDigestPasswordEncoderTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/MessageDigestPasswordEncoderTest.php index ada5ccfee1..5189fff018 100644 --- a/src/Symfony/Component/Security/Core/Tests/Encoder/MessageDigestPasswordEncoderTest.php +++ b/src/Symfony/Component/Security/Core/Tests/Encoder/MessageDigestPasswordEncoderTest.php @@ -35,7 +35,7 @@ class MessageDigestPasswordEncoderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException */ public function testEncodePasswordAlgorithmDoesNotExist() { diff --git a/src/Symfony/Component/Security/Core/Tests/Encoder/Pbkdf2PasswordEncoderTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/Pbkdf2PasswordEncoderTest.php index fdc400a228..3e9452b1a7 100644 --- a/src/Symfony/Component/Security/Core/Tests/Encoder/Pbkdf2PasswordEncoderTest.php +++ b/src/Symfony/Component/Security/Core/Tests/Encoder/Pbkdf2PasswordEncoderTest.php @@ -35,7 +35,7 @@ class Pbkdf2PasswordEncoderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException */ public function testEncodePasswordAlgorithmDoesNotExist() { diff --git a/src/Symfony/Component/Security/Core/Tests/User/InMemoryProviderTest.php b/src/Symfony/Component/Security/Core/Tests/User/InMemoryProviderTest.php index 5d6cadc877..eccb59635b 100644 --- a/src/Symfony/Component/Security/Core/Tests/User/InMemoryProviderTest.php +++ b/src/Symfony/Component/Security/Core/Tests/User/InMemoryProviderTest.php @@ -42,7 +42,7 @@ class InMemoryUserProviderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException */ public function testCreateUserAlreadyExist() { diff --git a/src/Symfony/Component/Security/Core/Tests/User/UserTest.php b/src/Symfony/Component/Security/Core/Tests/User/UserTest.php index 7d4cf95221..2fe6daa5e9 100644 --- a/src/Symfony/Component/Security/Core/Tests/User/UserTest.php +++ b/src/Symfony/Component/Security/Core/Tests/User/UserTest.php @@ -17,7 +17,7 @@ class UserTest extends \PHPUnit_Framework_TestCase { /** * @covers Symfony\Component\Security\Core\User\User::__construct - * @expectedException InvalidArgumentException + * @expectedException \InvalidArgumentException */ public function testConstructorException() { diff --git a/src/Symfony/Component/Security/Http/Tests/Firewall/LogoutListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/LogoutListenerTest.php index c2795239fa..29ce114432 100644 --- a/src/Symfony/Component/Security/Http/Tests/Firewall/LogoutListenerTest.php +++ b/src/Symfony/Component/Security/Http/Tests/Firewall/LogoutListenerTest.php @@ -122,7 +122,7 @@ class LogoutListenerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testSuccessHandlerReturnsNonResponse() { diff --git a/src/Symfony/Component/Security/Http/Tests/Firewall/X509AuthenticationListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/X509AuthenticationListenerTest.php index 17245912e6..7725f4beac 100644 --- a/src/Symfony/Component/Security/Http/Tests/Firewall/X509AuthenticationListenerTest.php +++ b/src/Symfony/Component/Security/Http/Tests/Firewall/X509AuthenticationListenerTest.php @@ -57,7 +57,7 @@ class X509AuthenticationListenerTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException Symfony\Component\Security\Core\Exception\BadCredentialsException + * @expectedException \Symfony\Component\Security\Core\Exception\BadCredentialsException */ public function testGetPreAuthenticatedDataNoUser() { diff --git a/src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php b/src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php index 9668654284..6ad2a6c2e2 100644 --- a/src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php +++ b/src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php @@ -53,7 +53,7 @@ class XmlEncoderTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException UnexpectedValueException + * @expectedException \Symfony\Component\Serializer\Exception\UnexpectedValueException * @expectedExceptionMessage Document types are not allowed. */ public function testDocTypeIsNotAllowed() diff --git a/src/Symfony/Component/Translation/Tests/MessageCatalogueTest.php b/src/Symfony/Component/Translation/Tests/MessageCatalogueTest.php index 62c48f3978..7d956553d9 100644 --- a/src/Symfony/Component/Translation/Tests/MessageCatalogueTest.php +++ b/src/Symfony/Component/Translation/Tests/MessageCatalogueTest.php @@ -125,7 +125,7 @@ class MessageCatalogueTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException */ public function testAddFallbackCatalogueWithCircularReference() { @@ -137,7 +137,7 @@ class MessageCatalogueTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException LogicException + * @expectedException \LogicException */ public function testAddCatalogueWhenLocaleIsNotTheSameAsTheCurrentOne() { diff --git a/src/Symfony/Component/Translation/Tests/TranslatorTest.php b/src/Symfony/Component/Translation/Tests/TranslatorTest.php index e9a03154f4..f36e6c863d 100644 --- a/src/Symfony/Component/Translation/Tests/TranslatorTest.php +++ b/src/Symfony/Component/Translation/Tests/TranslatorTest.php @@ -141,7 +141,7 @@ class TranslatorTest extends \PHPUnit_Framework_TestCase } /** - * @expectedException RuntimeException + * @expectedException \RuntimeException */ public function testWhenAResourceHasNoRegisteredLoader() { diff --git a/src/Symfony/Component/Validator/Resources/translations/validators.de.xlf b/src/Symfony/Component/Validator/Resources/translations/validators.de.xlf index 533d56d02b..b3d9944b78 100644 --- a/src/Symfony/Component/Validator/Resources/translations/validators.de.xlf +++ b/src/Symfony/Component/Validator/Resources/translations/validators.de.xlf @@ -248,7 +248,7 @@ This value should be equal to {{ compared_value }}. - Dieser Wert sollte übereinstimmen mit {{ compared_value }}. + Dieser Wert sollte gleich {{ compared_value }} sein. This value should be greater than {{ compared_value }}. @@ -256,7 +256,7 @@ This value should be greater than or equal to {{ compared_value }}. - Dieser Wert sollte größer sein oder übereinstimmen mit {{ compared_value }}. + Dieser Wert sollte größer oder gleich {{ compared_value }} sein. This value should be identical to {{ compared_value_type }} {{ compared_value }}. @@ -268,7 +268,7 @@ This value should be less than or equal to {{ compared_value }}. - Dieser Wert sollte kleiner sein oder übereinstimmen mit {{ compared_value }}. + Dieser Wert sollte kleiner oder gleich {{ compared_value }} sein. This value should not be equal to {{ compared_value }}. @@ -276,7 +276,7 @@ This value should not be identical to {{ compared_value_type }} {{ compared_value }}. - Dieser Wert sollte nicht identische sein mit {{ compared_value_type }} {{ compared_value }}. + Dieser Wert sollte nicht identisch sein mit {{ compared_value_type }} {{ compared_value }}. diff --git a/src/Symfony/Component/Yaml/Tests/Fixtures/YtsBasicTests.yml b/src/Symfony/Component/Yaml/Tests/Fixtures/YtsBasicTests.yml index 5542b0dc63..ac0efa88d1 100644 --- a/src/Symfony/Component/Yaml/Tests/Fixtures/YtsBasicTests.yml +++ b/src/Symfony/Component/Yaml/Tests/Fixtures/YtsBasicTests.yml @@ -56,7 +56,7 @@ test: Simple Mapping brief: | You can add a keyed list (also known as a dictionary or hash) to your document by placing each member of the - list on a new line, with a colon seperating the key + list on a new line, with a colon separating the key from its value. In YAML, this type of list is called a mapping. yaml: | diff --git a/src/Symfony/Component/Yaml/Tests/Fixtures/YtsSpecificationExamples.yml b/src/Symfony/Component/Yaml/Tests/Fixtures/YtsSpecificationExamples.yml index 6f99f75453..1e59f3bf98 100644 --- a/src/Symfony/Component/Yaml/Tests/Fixtures/YtsSpecificationExamples.yml +++ b/src/Symfony/Component/Yaml/Tests/Fixtures/YtsSpecificationExamples.yml @@ -222,7 +222,7 @@ yaml: | # Following node labeled SS - &SS Sammy Sosa rbi: - - *SS # Subsequent occurance + - *SS # Subsequent occurrence - Ken Griffey php: | array( diff --git a/src/Symfony/Component/Yaml/Tests/Fixtures/YtsTypeTransfers.yml b/src/Symfony/Component/Yaml/Tests/Fixtures/YtsTypeTransfers.yml index 9972c1f0d9..aac4e68077 100644 --- a/src/Symfony/Component/Yaml/Tests/Fixtures/YtsTypeTransfers.yml +++ b/src/Symfony/Component/Yaml/Tests/Fixtures/YtsTypeTransfers.yml @@ -226,11 +226,11 @@ brief: > time zone. yaml: | iso8601: 2001-12-14t21:59:43.10-05:00 - space seperated: 2001-12-14 21:59:43.10 -05:00 + space separated: 2001-12-14 21:59:43.10 -05:00 php: | array( 'iso8601' => mktime( 2001, 12, 14, 21, 59, 43, 0.10, "-05:00" ), - 'space seperated' => mktime( 2001, 12, 14, 21, 59, 43, 0.10, "-05:00" ) + 'space separated' => mktime( 2001, 12, 14, 21, 59, 43, 0.10, "-05:00" ) ) --- test: Date