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/src/Symfony/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 12:12:55 +02:00
ClassLoader [ClassLoader] tweaked public @api 2011-06-14 15:20:59 +02:00
Config fixed CS 2011-06-14 12:54:32 +02:00
Console [Console] added a --no-ansi option for disable ANSI output (closes #1238) 2011-06-08 10:26:48 +02:00
CssSelector [CssSelector] renamed Parser::cssToXPath() to CssSelector::toXPath() 2011-06-15 07:55:23 +02:00
DependencyInjection [Yaml] renamed load() to parse() 2011-06-14 16:25:25 +02:00
DomCrawler [CssSelector] renamed Parser::cssToXPath() to CssSelector::toXPath() 2011-06-15 07:55:23 +02:00
EventDispatcher [EventDispatcher] tweaked public @api 2011-06-14 14:40:48 +02:00
Finder [Finder] added a convenience method Finder::create() 2011-06-14 14:18:24 +02:00
Form [EventDispatcher] added a way to set the priority for event subscribers 2011-06-14 14:40:27 +02:00
HttpFoundation merged branch vicb/file (PR #1317) 2011-06-15 08:57:16 +02:00
HttpKernel [HttpKernel] Fix and test previous commit 2011-06-14 11:54:55 +02:00
Locale fixed CS 2011-06-14 12:54:32 +02:00
Process Fix problem with searching files while the open_basedir is in use 2011-05-23 12:54:22 +00:00
Routing [Yaml] renamed load() to parse() 2011-06-14 16:25:25 +02:00
Security fixed CS 2011-06-14 12:54:32 +02:00
Serializer fixed CS 2011-06-13 18:54:20 +02:00
Templating [Templating] fixed cache loader as the logical name can contain characters not valid on some OSes 2011-06-07 13:35:55 +02:00
Translation [Yaml] renamed load() to parse() 2011-06-14 16:25:25 +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