Dariusz Górecki
3cfaade8f7
[CS] Fix usage of assertCount
...
Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
2012-01-18 14:42:47 +01:00
Fabien Potencier
2c3672bff8
[HttpKernel] added request and response as arguments to the TerminableInterface::terminate() method
2011-12-15 18:16:29 +01:00
Jordi Boggiano
7efe4bcb87
[HttpKernel] Add Kernel::terminate() and HttpKernel::terminate() for post-response logic
2011-12-06 11:09:36 +01:00
Fabien Potencier
c98c2ef5fb
merged the two Locale listener hooks (this hack was needed when the Firewall was registered before the Routing; this is not needed anymore)
2011-11-17 14:22:57 +01:00
Fabien Potencier
e886d733fb
merged the two Router listener hooks (this hack was needed when the Firewall was registered between those two hooks; this is not needed anymore)
2011-11-17 14:22:57 +01:00
Fabien Potencier
347053c363
Moved most of the logic from ResponseListener to the Response::prepare() method
...
That allows projects that only use HttpFoundation and not HttpKernel to be able to
enforce the HTTP specification "rules".
$request = Request::createFromGlobals();
$response = new Response();
// do whatever you want with the Respons
// enforce HTTP spec
$response->prepare($request);
$response->send();
Within Symfony2, the prepare method is automatically called by the ResponseListener.
2011-10-18 09:04:20 +02:00
Fabien Potencier
4539e5c554
moved configuration of the default HTTP and HTTPS ports from RouterListener to RequestContext
2011-10-10 13:24:45 +02:00
Fabien Potencier
8f15794274
moved LocaleListener and RouterListener to the HttpKernel component
2011-10-10 13:03:55 +02:00
Jordi Boggiano
7350109f6e
Renamed core.* events to kernel.* and CoreEvents to KernelEvents
2011-06-21 16:35:14 +02:00
stloyd
edf4b87dcb
Add missing "tearDown" functions, and some missing variable declaration (this saves for me almost 20MB when run all tests)
...
Force AsseticBundle tests to use TestCase
Fix test for DoctrineBundle to use TestCase
2011-06-16 15:06:36 +02:00
Alexander
07d823caa8
[HttpKernel] Added tests for non UTF-8 content types.
...
Tests to check that #1281 is fixed and to prevent regression in the
future.
2011-06-11 13:57:43 +02:00
Fabien Potencier
17cd08dc6c
fixed CS
2011-06-08 19:56:59 +02:00
Fabien Potencier
7780c4deda
[HttpKernel] removed Response content when Request method is HEAD as per RFC2616
2011-06-04 11:56:12 +02:00
Fabien Potencier
839c332438
moved all listener classes under a common EventListener sub-namespace
2011-05-31 10:43:20 +02:00