Gregor Harlan
d0ee40c1e2
use nowdoc instead of heredoc
2015-12-21 17:05:00 +01:00
Nicolas Grekas
30d1de52f1
Fix HTML escaping of to-source links
2015-05-19 17:44:44 -07:00
Dariusz Ruminski
9cd1287f00
CS fixes
2015-04-16 09:01:03 +02:00
Dariusz Ruminski
796dd4cd11
CS: Convert double quotes to single quotes
2015-03-21 12:11:30 +01:00
Nicolas Grekas
29a6fd38f3
[WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback
2015-03-11 17:56:24 +01:00
Fabien Potencier
712c58246b
fixed XSS in the exception handler
2015-03-10 14:08:39 +01:00
Hugo Hamon
62ebdfc7d6
Fixes various phpdoc and coding standards.
2015-01-02 09:58:20 +01:00
Graham Campbell
542c721438
Docblock fixes
2014-11-30 13:33:44 +00:00
Nicolas Grekas
d492ff8385
[Debug] fix error message on double exception
2014-11-28 10:40:13 +01:00
Christian Flothmann
5a7ebac6ac
compare version using PHP_VERSION_ID
...
To let opcode caches optimize cached code, the `PHP_VERSION_ID`
constant is used to detect the current PHP version instead of calling
`version_compare()` with `PHP_VERSION`.
2014-11-17 17:27:42 +01:00
Christian Flothmann
d854bf96fe
don't override internal PHP constants
2014-11-16 18:59:41 +01:00
Disquedur
342b4e4a8e
Remove aligned '=>' and '='
2014-10-26 08:30:58 +01:00
Tobias Schultze
883f847ad1
use meta charset in layouts without legacy http-equiv
2014-10-09 18:42:17 +02:00
Fabien Potencier
bdfb718a6c
made phpdoc types consistent with those defined in Hack
2014-04-15 07:41:45 +02:00
Jerome TAMARELLE
3c1b5f218d
Check headers sent before sending PHP response
...
If the response contents has been sent before an error occurs, PHP
triggers the warning "Cannot modify header information - headers already sent"
This change ensure that the error message is echoed, while it's impossible
to change the HTTP status code and headers.
2014-03-26 19:06:50 +01:00
Fabien Potencier
d88761ea85
[Debug] ensured that the Debug tools can only be registered once
2013-04-07 18:19:05 +02:00
Fabien Potencier
def288b14f
[Debug] made the exception handler independant of HttpFoundation
2013-04-07 18:19:05 +02:00
Fabien Potencier
b8c99a3341
[Debug] added the component ( closes #6828 , closes #6834 , closes #7330 )
2013-04-07 18:19:05 +02:00