This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component
Fabien Potencier c5223bbcd1 merged branch vicb/file (PR #1317)
Commits
-------

9d6357c [HttpFoundation] Document the changes to the File classes
136b80a [HttFoundation] Add File::getExtension() as \SplFileInfo::getExtension() was introduced in PHP 5.3.6
38b3b74 [HttpKernel] Fix and test previous commit
ac0c00c [HttpFoundation] Make File extends \SplFileInfo

Discussion
----------

[HttpFoundation] Make File extends \SplFileInfo

This is a rebased version of [PR 674](https://github.com/symfony/symfony/pull/674).

  * File: The API has changed (now extends \SplFileInfo),
  * File: move() creates the target directory when it does not exist
  * UploadedFile: introduction of getClientXXX() methods (for Size, OriginalName, MimeType)

If this PR does not get merged UploadedFile should at least be fixed: [Client.php](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/Client.php#L124) relies on a last parameter which is no more defined and which is used to bypass [move_uploaded_file()](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/File/UploadedFile.php#L155) in test mode.

If this could be merged, I'll detail the changes in UPDATE.md

---------------------------------------------------------------------------

by fabpot at 2011/06/14 08:20:59 -0700

I'll merge it. Can you update the UPDATE file?

---------------------------------------------------------------------------

by vicb at 2011/06/14 09:24:01 -0700

done
2011-06-15 08:57:16 +02:00
..
BrowserKit fixed CS 2011-06-08 19:56:59 +02:00
ClassLoader fixed CS 2011-06-08 19:56:59 +02:00
Config fixed CS 2011-06-08 19:56:59 +02:00
Console fixed CS 2011-06-08 19:56:59 +02:00
CssSelector [CssSelector] renamed Parser::cssToXPath() to CssSelector::toXPath() 2011-06-15 07:55:23 +02:00
DependencyInjection [Tests] Fixed typos 2011-06-12 20:52:53 +00:00
DomCrawler [DomCrawler] Uppercase http methods 2011-05-25 15:45:23 +02:00
EventDispatcher [EventDispatcher] added a way to set the priority for event subscribers 2011-06-14 14:40:27 +02:00
Finder [Finder] added a convenience method Finder::create() 2011-06-14 14:18:24 +02:00
Form [HttpFoundation] Make File extends \SplFileInfo 2011-06-14 10:47:04 +02:00
HttpFoundation [HttFoundation] Add File::getExtension() as \SplFileInfo::getExtension() was introduced in PHP 5.3.6 2011-06-14 18:18:43 +02:00
HttpKernel merged branch vicb/file (PR #1317) 2011-06-15 08:57:16 +02:00
Locale fixed CS 2011-06-08 19:56:59 +02:00
Process fixed CS 2011-06-08 19:56:59 +02:00
Routing [Tests] Fixed typos 2011-06-12 20:52:53 +00:00
Security [Tests] Fixed typos 2011-06-12 20:52:53 +00:00
Serializer fix tests 2011-06-10 01:11:51 +02:00
Templating fixed CS 2011-06-08 19:56:59 +02:00
Translation fixed CS 2011-06-08 19:56:59 +02:00
Validator merged branch vicb/file (PR #1317) 2011-06-15 08:57:16 +02:00
Yaml [Yaml] moved exceptions to their own sub-namespace (added a specific exception for the dump) 2011-06-14 16:25:26 +02:00