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/HttpKernel
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
..
Bundle fixed CS 2011-06-08 19:56:59 +02:00
CacheWarmer replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Controller [HttpKernel] added support for controllers as arrays and object with an __invoke method 2011-04-16 16:26:15 +02:00
DataCollector [Tests] Fixed typos 2011-06-12 20:52:53 +00:00
Debug moved all listener classes under a common EventListener sub-namespace 2011-05-31 10:43:20 +02:00
DependencyInjection [HttpKernel] added BundleInterface::getContainerExtension() which is implicitly loaded 2011-04-25 21:12:35 -07:00
EventListener [HttpKernel] Added tests for non UTF-8 content types. 2011-06-11 13:57:43 +02:00
Exception renamed getPreviouses() to getAllPrevious 2011-04-24 01:08:15 +02:00
Fixtures removed empty lines/trailing spaces 2011-04-15 21:12:02 +02:00
HttpCache [Tests] Fixed typos 2011-06-12 20:52:53 +00:00
Profiler [Tests] Fixed typos 2011-06-12 20:52:53 +00:00
ClientTest.php [HttpKernel] Fix and test previous commit 2011-06-14 11:54:55 +02:00
HttpKernelTest.php [HttpKernel] Fix randomly failing tests 2011-06-14 22:30:49 +02:00
KernelTest.php fixed CS 2011-06-08 19:56:59 +02:00
Logger.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
TestHttpKernel.php [HttpKernel] Fix and test previous commit 2011-06-14 11:54:55 +02:00