Commit Graph

740 Commits

Author SHA1 Message Date
kenjis c4bc3d8798 Fix sample code
Add `;` at the end.
2016-01-11 10:31:33 +09:00
Denis Sokolov d6d1dfaac6 Switch Laravel 5 recommendation to Laravel-Exceptions 2016-01-06 20:02:36 +02:00
Denis Sokolov a327942c50 Add a note about a possible problem in Laravel 5 integration 2.0.0 2016-01-06 19:51:21 +02:00
Denis Sokolov 309303e34d Merge pull request #360 from filp/highlight-current-line
Highlight the current line, fix #359
2016-01-04 08:53:46 +02:00
Denis Sokolov facbeba34f Highlight the current line, fix #359 2016-01-03 20:22:04 +02:00
Denis Sokolov 1ebe728ae0 Merge pull request #357 from filp/fix-util-funcs
Move utility functions to the utility class, fix #351
2015-12-20 19:51:11 +02:00
Denis Sokolov 083d5a674e Move utility functions to the utility class, fix #351 2015-12-20 18:45:53 +02:00
Denis Sokolov eb1ce6439d Merge pull request #354 from vinkla/php
Bump PHP to 5.5.9
2.0.0-alpha2
2015-12-15 14:27:17 +02:00
Vincent Klaiber c333e610bf Bump PHP to 5.5.9 2015-12-15 13:26:08 +01:00
Denis Sokolov fd3ec08c15 Merge pull request #353 from vinkla/patch-1
Allow PHPUnit 5.0 as dev dependency
2015-12-15 14:24:09 +02:00
Vincent Klaiber efd5db4ce1 Allow PHPUnit 5.0
The commit message speaks for itself.
2015-12-15 13:19:32 +01:00
Denis Sokolov 3d248eec83 Merge pull request #352 from flaviocopes/patch-1
Fix for PHP7
2015-12-14 18:14:38 +02:00
Flavio Copes 6fe35892a9 Skip test if Error class does not exist 2015-12-14 16:05:57 +01:00
Flavio Copes 068348a648 Add unit test, fails on PHP7 if Inspector::getTrace() requires Exception instead of also allowing Error 2015-12-14 15:21:21 +01:00
Flavio Copes 422760c23f Fix for PHP7
Fixes `Whoops\Exception\ErrorException: Uncaught TypeError: Argument 1 passed to Whoops\Exception\Inspector::getTrace() must be an instance of Exception, instance of Error given`
2015-12-14 12:24:39 +01:00
Denis Sokolov 1f34f246f0 Merge pull request #350 from staabm/patch-1
Update php-min version to 5.5
2015-12-13 23:00:06 +02:00
Markus Staab ae1e32535d Removed no longer supported phpversions from travis 2015-12-13 21:58:12 +01:00
Markus Staab c830d3b53f Update php-min version to 5.5 2015-12-13 21:22:11 +01:00
Denis Sokolov bccc463305 Merge pull request #348 from filp/fix-var-dumper-suggestion
Fix var-dumper suggestion string, fixup 6a1c86bb
2015-12-13 14:57:40 +02:00
Denis Sokolov 3bf469434e Merge pull request #327 from filp/remove-silex-1
Remove integration with Silex 1, fix #101
2.0.0-alpha1
2015-12-13 01:10:55 +02:00
Denis Sokolov 5f777804ff Merge pull request #330 from filp/final-run
Forbid extending Run

BC
2015-12-13 01:10:20 +02:00
Denis Sokolov 2681c8893e Fix var-dumper suggestion string, fixup 6a1c86bb
https://getcomposer.org/doc/04-schema.md#suggest
2015-12-13 01:09:06 +02:00
Denis Sokolov 33429746ff Merge pull request #334 from filp/separate-soap-handler
Move SOAP handler out
2015-12-13 01:08:35 +02:00
Denis Sokolov a6aaf57c03 Move SOAP handler out 2015-12-13 01:08:09 +02:00
Denis Sokolov 5ea9a3acdf Merge pull request #339 from staabm/borderradius
Use rounded corners for frame-index.
2015-12-12 22:42:36 +02:00
Denis Sokolov 753557c09f Merge branch 'php7'
BC: typehint

Conflicts:
	src/Whoops/Exception/Inspector.php
2015-12-12 22:41:12 +02:00
Denis Sokolov e9def68b76 Merge pull request #347 from filp/fix-flaky-plain-text-tests
Fix flaky PlainTextHandler tests by replacing exact matching of strings
2015-12-12 22:38:23 +02:00
Denis Sokolov 4cbf3a8bda Fix flaky PlainTextHandler tests by replacing exact matching of strings 2015-12-12 22:17:19 +02:00
Denis Sokolov b0a29b3eac Merge pull request #346 from filp/local-phpunit
Local phpunit
2015-12-12 22:04:20 +02:00
Denis Sokolov 1ac952ef30 Install local phpunit
This ensures we run the same consistent version of phpunit,
and is generally more convenient.
2015-12-12 22:00:08 +02:00
Denis Sokolov 443868a1c3 Allow running local phpunit 2015-12-12 21:59:18 +02:00
Denis Sokolov 1bcf660e31 Merge pull request #345 from ExplodingCabbage/master
Fix handling of Content-Type headers
2015-12-12 13:00:24 +02:00
ExplodingCabbage d7d89b0cce Set Content-Type: text/html in PrettyPageHandler
This will make the pretty HTML pages work properly even if the user already spat out a different Content-Type header prior to their error.
2015-12-11 19:51:06 +00:00
ExplodingCabbage 1467640a51 Remove bizarre check for existence of class that will always exist 2015-12-11 19:49:32 +00:00
Denis Sokolov 754330b898 Merge pull request #338 from staabm/onlycmd
Removed PlainTextHandler->(onlyForCommandLine|outputOnlyIfCommandLine…
2015-11-29 18:42:28 +02:00
Markus Staab 38e6fc6cbe Use rounded corners for frame-index. 2015-11-29 16:38:10 +01:00
Markus Staab fa4206ec14 Removed PlainTextHandler->(onlyForCommandLine|outputOnlyIfCommandLine). Added Whoops\isCommandLine() as a more flexible successor. 2015-11-29 16:22:11 +01:00
Denis Sokolov 9425bc243f Merge pull request #320 from staabm/sfvardump
Optionally use symfony/var-dumper to pretty print var-dumping
2015-11-24 16:11:16 +02:00
Denis Sokolov 67b8984c6f Fixup 4ca44a4 2015-11-23 21:55:11 +02:00
Denis Sokolov 4ca44a497b Merge remote-tracking branch 'staabm/onlyajax' 2015-11-23 21:32:31 +02:00
Markus Staab 6a1c86bb44 Optionally use symfony/var-dumper to pretty print var-dumping
Closes #308
2015-11-23 09:44:32 +01:00
Markus Staab 26f3dba7b5 removed onlyForAjaxRequests from JsonResponseHandler. Added a new Whoops\isAjaxRequest helper function to use instead.
Use it before registering a Handler to achive the "onlyForAjaxRequests" functionality.
```
if (Whoops\isAjaxRequest()){
  $run->addHandler($myHandler)
}
```

closes #319.
2015-11-23 09:29:31 +01:00
Denis Sokolov 7285e257ec Merge pull request #331 from ExplodingCabbage/PettyTypoFix
Fix a typo in an exception message
2015-11-23 08:33:08 +02:00
Mark Amery 2845f001e3 Fix a typo in an exception message 2015-11-22 21:05:54 +00:00
Denis Sokolov 9531a1dcb9 Merge pull request #329 from GrahamCampbell/patch-2
Bump min PHP version to 5.3.3
2015-11-22 20:54:38 +02:00
Denis Sokolov 21a0a0513e Forbid extending Run 2015-11-22 20:53:06 +02:00
Graham Campbell 6080548067 Removed old travis comment 2015-11-22 18:50:21 +00:00
Graham Campbell 69b7c32794 Bump min PHP version to 5.3.3 2015-11-22 18:49:48 +00:00
Denis Sokolov 65aefebcfb Note about version transition in the Readme 2015-11-22 20:47:36 +02:00
Denis Sokolov 32edbe3f5d Merge pull request #328 from GrahamCampbell/patch-1
Removed pointless self-updated
2015-11-22 20:36:18 +02:00