460 Commits

Author SHA1 Message Date
Denis Sokolov 48810fbdb5 removeFirstHandler and removeLastHandler 2019-12-29 12:00:00 +02:00
Denis Sokolov f2eb7d6d42 appendHandler and prependHandler 2019-12-25 12:00:00 +02:00
Denis Sokolov 8957f6fb70 Revert "feat!: add append and prepend handler instead of reverse execution"
This reverts commit f41c4a2a5a.
2019-12-25 12:00:00 +02:00
Denis Sokolov b909d8899e Revert "style: rename handlerStack to handlerQueue"
This reverts commit 5fa7623246.
2019-12-25 12:00:00 +02:00
Denis Sokolov 77e91f02e3 PrettyPageHandler: explain why not all arguments are dumped 2019-12-03 12:00:00 +02:00
Denis Sokolov ecc5258b74 Merge pull request #645 from TysonAndre/patch-1
Fix usage of __METHOD__ inside of closure
2019-11-03 15:23:56 +02:00
Denis Sokolov cef858f51c Fix handler list incorrectly marking all handlers as active, #646 2019-11-03 12:00:00 +02:00
Tyson Andre d799d46962 Fix usage of __METHOD__ inside of closure
The value of __METHOD__ would be a description of the nearest function-like, i.e. `'{closure}'`

This was detected via static analysis (Phan)
2019-11-02 18:02:43 -04:00
Tobias Tom 31cd201af7 Implemented automatic editor configuration if Xdebug is available. 2019-08-07 09:57:45 +01:00
Denis Sokolov f3108dfdeb Merge pull request #632 from staabm/patch-3
Make sure we close all output-buffer we started beforehand
2019-07-04 16:34:53 +03:00
Jeroen Derks f9773aa988 updated function handleException() moved assignments outside of try/catch (#3) 2019-07-02 08:31:37 +02:00
Markus Staab 38ad9c4656 Make sure we close all output-buffer we started beforehand 2019-06-24 15:51:07 +02:00
Thomas Rupprecht 5e4dfacfc7 add editor-constants 2019-06-24 10:46:26 +02:00
Thomas Flori 5fa7623246 style: rename handlerStack to handlerQueue 2019-06-22 23:23:05 +02:00
Thomas Flori f41c4a2a5a feat!: add append and prepend handler instead of reverse execution
BREAKING CHANGE: since "pushHandler()" was actually prepending handlers
it is now an alias for prependHandler but "popHandler()" is still
removing the last handler.
2019-06-22 08:59:57 +02:00
Denis Sokolov 51c2de8397 Show traces for non-fatal ErrorExceptions, close #562, #524 2019-06-21 12:00:00 +03:00
Denis Sokolov 114a8f04c1 Fix tab switcher, close #573 2019-06-21 12:00:00 +03:00
Denis Sokolov 96b5407262 Merge pull request #609 from tflori/plaintext-previous
add previous exception messages to plain text output
2019-06-21 12:24:50 +03:00
Denis Sokolov bb6f11f833 Merge pull request #567 from mluzarow/css-z-index-fix
CSS z-index fix
2019-06-21 12:20:28 +03:00
Denis Sokolov 5585fdc562 Merge pull request #569 from arrilot/patch-1
Do not block other shutdown handlers
2019-06-21 12:04:15 +03:00
Denis Sokolov 8f86efb991 Merge pull request #568 from gms8994/allow-copy-paste-of-paths
Switch from div to span to allow copy and paste
2019-06-21 12:03:01 +03:00
Denis Sokolov 2cc44e404c Merge pull request #579 from XzenTorXz/master
added hide-error button
2019-06-21 11:59:50 +03:00
Denis Sokolov 6960e41005 Merge pull request #624 from zsilbi/file-contents-fix
File contents fix
2019-06-21 11:55:31 +03:00
Denis Sokolov 59a1df0381 Merge pull request #625 from SvenRtbg/patch-1
Make call static
2019-06-21 11:54:22 +03:00
Denis Sokolov b993aac371 Merge pull request #617 from dmitryuk/addEditor
fix resolver callable phpDoc in addEditor
2019-06-21 11:47:16 +03:00
Markus Staab 646476779f Prevent „strlen() expects parameter 1 to be string, array given“ Warning 2019-05-16 20:51:55 +02:00
Markus Staab b7a424d81f Update src/Whoops/Handler/XmlResponseHandler.php
Co-Authored-By: SvenRtbg <sven@rtbg.de>
2019-04-30 21:42:14 +02:00
SvenRtbg 81d3981b7a Make call static
Fixes #602
2019-04-30 17:03:05 +02:00
Németh Balázs 81bbf2b5a9 Exception cleared 2019-04-29 21:35:03 +02:00
Németh Balázs 1df9ac10a0 Fix file_get_contents to handle internal PHP extension errors correctly. 2019-04-29 15:39:27 +02:00
Ola Christensson 73f5fa910b Add support for opening files in Espresso 2019-02-28 09:58:08 +01:00
coden 6610055305 fix resolver callable phpDoc in addEditor 2019-02-05 16:37:16 +07:00
Michael Käfer 1b17a9c675 Replace "E_ALL | E_STRICT" with "E_ALL"
See my more detailed explanation here: https://stackoverflow.com/questions/1638238/whats-the-point-of-e-all-e-strict-if-its-the-same-value-as-e-all/53685722#53685722
2018-12-08 19:57:14 +01:00
Thomas Flori 54bf2dfdd0 suggested changes for previous output in plaintext handler 2018-12-03 10:18:07 +01:00
Thomas Flori 88b9298110 add previous exception messages to plain text output
Can be disabled via `PlainTextHandler::addPreviousToOutput(false)` and
adds lines between the exception and the trace containing the exception
and line of creator.

The method `Inspector::getFrames()` already appends all frames from the
previous exceptions. So there is no need in adding the trace for each
previous exception.

IMO the test tests something that it should not test: the output of the
line number. But that should be in a separate PR. I've at least added
constants for the line numbers so that you only have to change them once
for all tests.
2018-12-03 08:24:44 +01:00
SilverFire - Dmitry Naumenko 388bcebb9d Prevent exception when caught exception frame is not related to real file 2018-10-22 13:41:25 +03:00
Denis Sokolov d52aaee61b Merge pull request #596 from florianorben/593-display-list-of-prev-exception-msgs
Display messages from previous exceptions
2018-10-20 19:18:21 +03:00
Florian Orben 352cba6165 Display messages from previous exceptions
This will add the messages of previous exceptions
to the pretty page handler's exception-message area
2018-10-20 18:10:02 +02:00
Denis Sokolov 1625ad5b19 Merge pull request #595 from staabm/patch-3
make the "Open:" label also clickable
2018-10-20 18:25:32 +03:00
Markus Staab 560d53933a make the "Open:" label also clickable 2018-10-20 12:20:06 +02:00
Markus Staab 4798f07fc8 Remove superfluous is_file() check 2018-10-18 15:49:17 +02:00
Gregor Harlan e730eb22af editor callback: allow to return empty value 2018-06-30 13:56:13 +02:00
Franz Ehrlich 8ab74dbc1c added hide-error button 2018-06-13 11:34:28 +02:00
Nekrasov Ilya 98a1b45cce Do not ext(1) from shutdown handler 2018-03-27 00:07:42 +03:00
Glendon Solsberry 9b40477a11 Switch from div to span to allow copy and paste 2018-03-08 09:10:39 -05:00
Mackenzie 175ba0896f Added z-index fix.
Added a very high z-index so that the whoops page never appears under sticky headers or have any other misc content float over the page.
2018-03-05 08:02:36 -06:00
petecoop ffa20d37be Add Atom URI Handler 2018-02-21 10:22:39 +00:00
Adam Averay a64f9e7ce5 Add viewport meta tag 2018-02-12 23:59:26 +09:00
Adam Averay 4becfc9e46 Stack panels on small screens 2018-02-12 23:35:07 +09:00
Markus Staab 3bb4be38c1 best practice: removed php-end tags 2017-12-13 20:10:27 +01:00