Shakir El Amrani
30fa50c046
feat: support frame filters
2023-02-19 15:09:19 +00:00
Denis Sokolov
9695df05dc
tests: minor changes in exception null values
2021-09-19 12:00:00 +00:00
Dan Wallis
26c4ca5eb7
Fix tests
2021-04-14 22:48:03 +01:00
Dan Wallis
04116f5017
Avoid redirects away from error page
2021-04-14 22:14:24 +01:00
Lode Claassen
051070dddb
allow to customize the exit code send in cli context
2021-03-19 16:38:24 +01:00
Gwilyn
5ea44736b8
Update tests for self-returns.
2021-03-16 11:12:16 +10:30
Graham Campbell
e82fa73c0e
Fixed tests
2020-10-09 23:44:52 +01:00
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
Jeroen Derks
9ea1027d37
updated line numbers in PlainTextHandlerTest to handle added lines
2019-06-26 07:45:46 +02:00
Markus Staab
3eb5a59ebd
tests: Make sure we close all output-buffer we started beforehand
2019-06-24 16:00:23 +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
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
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
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
fd596a0b39
Added tests
2018-10-22 16:10:42 +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
Gregor Harlan
e730eb22af
editor callback: allow to return empty value
2018-06-30 13:56:13 +02:00
Glendon Solsberry
9b40477a11
Switch from div to span to allow copy and paste
2018-03-08 09:10:39 -05:00
Gabriel Caruso
891f80083d
Refactoring tests
2017-12-12 03:01:58 -02:00
Markus Staab
86eee8872b
use a closure instead of create_function().
2017-12-01 10:14:41 +01:00
Denis Sokolov
80e1be87b6
Merge pull request #528 from MarioBlazek/phpunit_forward_compatibility_layer
...
Use namespaced version of PHPUnit's TestCase
2017-11-03 21:03:30 +02:00
Markus Staab
9e7c2ea58c
Prevent possible XSS via target="_blank" urls ( #533 )
2017-10-10 13:00:26 +03:00
Luis Henrique Mulinari
06bdb879d3
Fix some FQNs, typehints and unused code/vars
2017-10-09 22:25:27 +02:00
Mario Blažek
4028b3baf5
Use namespaced version of PHPUnit's TestCase
2017-09-29 09:41:54 +02:00
USAMI Kenta
7d7f8fef8e
Modify private method test using TestCase::callPrivateMethod()
2017-06-25 05:40:55 +09:00
USAMI Kenta
46db0f150d
Impl TestCase::callPrivateMethod()
2017-06-25 05:34:58 +09:00
USAMI Kenta
a9ca5d639a
Revert "fixup! Add Test for PlainTextHandler::dump()"
...
This reverts commit ee0e9c08d9 .
2017-06-25 05:33:41 +09:00
USAMI Kenta
ee0e9c08d9
fixup! Add Test for PlainTextHandler::dump()
2017-06-25 05:11:27 +09:00
USAMI Kenta
8504ebd760
Fix line numbers
2017-06-24 16:02:32 +09:00
USAMI Kenta
78f1da579d
Add Test for PlainTextHandler::dump()
2017-06-24 16:02:00 +09:00
Gregor Harlan
d2829561ca
allow to change the application root path
2017-02-18 13:47:11 +01:00
Luis Henrique Mulinari
f553230e79
Add some tests
2016-10-23 18:20:00 -02:00
Denis Sokolov
d251b2dc1e
Merge pull request #405 from shakhraj/inspector-in-data-table-callback
...
Pass Inspector into data table callbacks
2016-09-04 17:49:05 +03:00
kevin olson
7ddd294018
spaces removed and unused vars re-added
2016-09-04 01:08:40 -07:00
kevin olson
f2c034ce4c
Avoiding unused local variables
2016-09-03 23:57:50 -07:00
kevin olson
882d26344b
setJsonApi() in JsonResponseHandler to allow format compliant to json:api spec #443
2016-09-03 17:48:28 -07:00
Denis Sokolov
fcfe85f2f5
Merge pull request #428 from localheinz/fix/unused
...
Fix: Remove unused imports
2016-07-27 23:31:16 +03:00
Denis Sokolov
d65dbb9e3e
Merge pull request #429 from localheinz/fix/short-array
...
Fix: Use short array syntax
2016-07-24 23:02:29 +03:00
Andreas Möller
c37aae68fe
Fix: Use short array syntax
2016-07-24 19:36:49 +02:00
Andreas Möller
f5c2db6724
Fix: Remove unused imports
2016-07-24 19:35:27 +02:00
Andreas Möller
46c0835901
Fix: Simplify test bootstrapping
2016-07-24 19:34:01 +02:00
Andrij
d0c1cba8eb
Pass Inspector into data table callbacks
2016-03-21 12:46:16 +02:00
Théo FIDRY
a9d343d75e
Fix tests
2016-03-13 12:26:51 +00:00
Théo FIDRY
7054419685
Add RunInterface
...
Closes #390 .
2016-03-12 13:29:53 +00:00
Denis Sokolov
e18d217043
Add a workaround for dynamic default parameters in PHP 5.5
2016-01-23 23:01:04 +02:00
Guido Contreras Woda
30b6a3b264
Use a system facade to allow consumers of Whoops\Run to mock any system call that it would do through native functions.
2016-01-22 15:00:37 -03:00
Flavio Copes
6fe35892a9
Skip test if Error class does not exist
2015-12-14 16:05:57 +01:00