177 Commits

Author SHA1 Message Date
Denis Sokolov 6ac04436d3 Merge pull request #696 from erikn69/master
xdebug.file_link_format template by default without xdebug extension loaded
2021-08-29 18:04:16 +03:00
Denis Sokolov 7376a422a1 PrettyPageHandler: switch syntax highlighting to Prism.js 2021-07-13 12:00:00 +00:00
Erik Niebla 892303b326 xdebug.file_link_format template by default without extension loaded 2021-06-04 15:27:12 -05:00
Erik Niebla bbb55e6cab Netbeans editor 2021-06-03 15:48:03 -05:00
prdatur 937fad41aa - Enhance PrettyPageHandler to allow hiding super globals with non-string value. (non-string values will have a fixed asterisk length of 3)
- Fix missing @throws annotation.
- Fix typo in doc-block
- Add new string/non-string behaviour to doc-block description.

Fixes #690
2021-03-30 13:54:34 +02:00
Gwilyn aca5735cdb Consistent type-hints for static returns. 2021-03-16 11:12:11 +10:30
Gwilyn c283074233 Builder-style handlers.
All add/set methods now self-return so handlers can be configured inline.
2021-03-16 11:04:53 +10:30
Denis Sokolov 5d5fe9bb3d Rename confusingly named blacklist feature in PrettyPageHandler to hideSuperglobalKey 2020-06-14 12:00:00 +03:00
Graham Campbell ba8999b2ee Further phpdoc fixes 2020-05-05 14:11:50 +01:00
Denis Sokolov 17d0d3f266 Merge pull request #664 from Druid33/642_ability_set_own_template_handler
set  protected
2020-05-05 15:28:07 +03:00
Denis Sokolov 081f403cbb Merge pull request #662 from basteyy/patch-1
Add method for adding custom javascript files
2020-05-05 15:25:44 +03:00
Druid33 ea217b9d6d set protected 2020-05-05 09:00:57 +02:00
Graham Campbell ad70a86846 PHPDoc fixes 2020-04-28 10:40:07 +01:00
bas tey a830a65b67 Add method for adding custom javascript files
I add a method whichs allows adding javascript-files to the layout. It's realized exactly like the custom css method.
2020-04-27 21:21:36 +02:00
Takamichi Urata b21e7c9c21 fix anonymous class dumping 2020-01-14 14:03:13 +09:00
Denis Sokolov 77e91f02e3 PrettyPageHandler: explain why not all arguments are dumped 2019-12-03 12:00:00 +02:00
Tobias Tom 31cd201af7 Implemented automatic editor configuration if Xdebug is available. 2019-08-07 09:57:45 +01:00
Thomas Rupprecht 5e4dfacfc7 add editor-constants 2019-06-24 10:46:26 +02: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 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
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
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
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
Gregor Harlan e730eb22af editor callback: allow to return empty value 2018-06-30 13:56:13 +02:00
petecoop ffa20d37be Add Atom URI Handler 2018-02-21 10:22:39 +00:00
Markus Staab 8a97669b27 fixed errors in asser() expression
hmm why did this work in the first place?
2017-12-01 10:21:54 +01:00
Markus Staab f39a563afc fixed 'Calling assert() with a string argument is deprecated' warning with php 7.2 2017-12-01 10:20:29 +01:00
Denis Sokolov 1ae2243c0c Merge pull request #525 from staabm/staabm-patch-2
added docs for Handler constants
2017-11-17 10:15:00 +02:00
Jonas De Taeye ad2bd7d6d4 Include prettify.js
This makes sure whoops still works without internet.
2017-10-15 15:45:51 +03:00
Denis Sokolov c381a879a1 Merge pull request #538 from luismulinari/code-cleaning
Fix some FQNs, typehints and unused code/vars
2017-10-10 12:49:54 +03:00
Luis Henrique Mulinari 06bdb879d3 Fix some FQNs, typehints and unused code/vars 2017-10-09 22:25:27 +02:00
Luis Henrique Mulinari 56ca64e30b Fix coding standards (PSR-2) 2017-10-09 21:57:08 +02:00
Markus Staab 29d6024aa5 added docs for Handler constants 2017-08-29 09:59:23 +02:00
Julián Gutiérrez ffbbd2c06c Make PrettyPageHandler more easily extendable (#517)
separate code and frames extraction
2017-08-03 21:23:40 +03:00
Markus Staab 521565a485 safe unnecessary php_sapi_name() func call.
use builtin constant PHP_SAPI instead.
2017-08-02 15:10:43 +02:00
林振宇 e7e5df001d change single quotes to double quotes, and added documention for open file doc 2017-07-04 09:47:34 +08:00
林振宇 25f6d6f91e Add open referenced files support for VSCode 2017-07-03 17:21:59 +08:00
USAMI Kenta 7b956f468b Make PlainTextHandler::dump() protected 2017-06-25 05:37:41 +09:00
USAMI Kenta ce426d665d Revert "fixup! Impl PlainTextHandler::dump()"
This reverts commit fd653d9568.
2017-06-25 05:33:54 +09:00
USAMI Kenta fd653d9568 fixup! Impl PlainTextHandler::dump() 2017-06-25 05:10:20 +09:00
USAMI Kenta a7546f1c60 Impl PlainTextHandler::dump()
This function is a wrapper or alternative to var_dump(),
which makes it easy to set the output format.
2017-06-24 16:00:35 +09:00
Markus Staab 0e9ce65d65 Support phps' docref_root ini-param. Fixes #499. 2017-06-03 20:20:32 +02:00
Denis Sokolov 57569ab75d Merge pull request #503 from staabm/msg
use dedicated getExceptionMessage() method
2017-06-02 19:58:47 +03:00
Markus Staab 1b31a21cf1 use dedicated getExceptionMessage() method 2017-06-02 17:37:36 +02:00