Denis Sokolov
d2102955e4
Make colon copy and pasteable, fix #783
2025-08-08 12:00:00 +00:00
Tom Arbesser-Rastburg
49e741a965
Fix PHP 8.5 deprecation when casting to integer using the non canonical name
...
In PHP 8.5, casting to integer|boolean|double|binary is deprecated, and int|bool|float|string should be used instead. This fixes a cast to (integer) which is deprecated.
2025-08-04 21:31:38 +02:00
Daniël van de Giessen
ff25251713
Disable shutdown function when not registered
2025-06-16 12:00:00 +00:00
Pascal Heidmann
89dabca149
Unregister/cleanup handler on destroy ( #778 )
...
Co-authored-by: pascal.heidmann <pascal.heidmann@check24.de >
2025-06-11 22:42:19 +02:00
Markus Staab
8fcc6a862f
Prevent javascript error: "TypeError: can't access property "scrollIntoView", line is undefined" ( #776 )
2025-06-03 20:56:14 +02:00
Denis Sokolov
9958a650fd
Merge pull request #769 from erikn69/patch-4
...
Bump js dependencies
2025-03-18 06:41:43 +01:00
erikn69
5124de3ddc
Bump js dependencies
2025-03-18 12:00:00 +00:00
erikn69
ef51080832
Open editor from code block rows numbers
2025-03-15 12:00:00 +00:00
Cédric M.
26697546d8
Add support for cursor editor in PrettyPageHandler
...
Add support for cursor editor (https://www.cursor.com ).
Same change already commited in laravel/framework 11.x branch (https://github.com/laravel/framework/commit/94e62583ebec7700466dd1194a79d35ecb07ba02 )
2025-01-23 22:32:36 +01:00
Filippo Tessarotto
ebe6e59f4d
Add PHP 8.4 support
2024-09-24 15:13:37 +02:00
Andrew Nicols
1084827bbf
Improve link colour for link comments
...
Fixes #759
2023-11-02 22:02:29 +08:00
Gary Green
b88e6b2d72
Speed up syntax highlighting
2023-07-12 19:17:03 +01:00
Bart Jaskulski
7fcd32ea7a
fix(highlight): #747 Add line offset to highlight line
...
PrismJS sort of broken backward compatibility, while trying to improve
highlight resilience[^1]. Since then it is required to add
`data-line-offset` for any code, which doesn't start counting from 1,
which is pretty each time, we deal with stack frames.
This commits add silently required data attribute in HTML, bringing back
highlight feature and recovering from some fall through errors, raised
by `TypeError` in JS execution flow (i.e. switching application and full
frames tabs).
[^1]: https://github.com/PrismJS/prism/commit/9a4e725b76d22759fec58e1929450bbfe1bb6661
Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com >
2023-04-12 10:18:51 +02:00
huangdijia
c5689df45c
Fix the bug that call to a member function getFrameFilters() on null
2023-03-04 20:47:11 +08:00
Shakir El Amrani
30fa50c046
feat: support frame filters
2023-02-19 15:09:19 +00:00
Denis Sokolov
b32e315e5d
Merge pull request #748 from gwillz/inspector-factory
...
Add insepctor interface + factory
2023-01-27 04:16:26 +01:00
Gwilyn
48830363f1
Add insepctor interface + factory.
...
This permits creation of custom inspectors within the default whoops runtime.
2023-01-25 22:41:18 +10:30
Shakir El Amrani
5244cc028a
phpdoc: added array type declaration for a method parameter
2022-12-25 15:42:23 +00:00
Shakir El Amrani
c758d20123
phpdoc: removed unnecessary phpdoc param tags
2022-12-25 15:40:28 +00:00
Hans Heid
f7948baaa0
Upgrade prismJS to 1.29 ( #741 )
2022-11-02 18:23:29 +02:00
tangwei
dfb3faff0d
masked support ArrayAccess
2021-12-31 17:17:40 +08:00
Denis Sokolov
9814ccdc28
Remove return type annotations to support PHP 5
2021-10-03 12:00:00 +00:00
Denis Sokolov
e97e1e6cff
Implement __serialize in Exception/Frame
2021-09-19 12:00:00 +00:00
Kyle
29e7ca0a16
Add __serialize and __unserialize to FrameCollection
2021-09-19 14:03:46 +02:00
Kyle
a767384f4e
Add ReturnTypeWillChange to FrameCollection
...
Fix PHP 8.1 compatibility
2021-09-19 13:52:38 +02:00
Denis Sokolov
13f817190c
PrettyPageHandler: fix scrolling too far, fixup 7376a42
...
Co-authored-by: jonathan <jonathanpap013@gmail.com >
2021-08-29 12:00:00 +00:00
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
Izuho Fujiwara
444d133e05
Fix Callable to lowercase
...
Co-authored-by: Markus Staab <maggus.staab@googlemail.com >
2021-08-06 18:54:30 +09:00
Izuho Fujiwara
198e7120b4
Fix Callable to lowercase
2021-08-06 16:05:00 +09:00
Izuho Fujiwara
59f635b597
Fix phpdoc of the function to be called
2021-08-06 15:48:54 +09:00
Izuho Fujiwara
3684f84feb
Add types that appendHandler can take
2021-08-06 15:15:14 +09: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
Dan Wallis
04116f5017
Avoid redirects away from error page
2021-04-14 22:14:24 +01: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
Lode Claassen
051070dddb
allow to customize the exit code send in cli context
2021-03-19 16:38:24 +01: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
Gregor Harlan
a32b5019a4
Fix styles of copy/hide buttons after hover
2021-01-21 22:06:15 +01:00
Denis Sokolov
fe474a517f
Merge pull request #678 from AmraniCh/fix-copy-btn-issue
...
Fix copy button issue
2020-11-08 06:47:21 +02:00
AmraniCh
98675a35e9
Fix copy button issue
2020-11-05 18:39:16 +01:00
Denis Sokolov
57fc454eea
Merge pull request #676 from AmraniCh/improve-phpdocs
...
[Whoops\Run] Improve PHPdocs
2020-11-01 09:09:40 +02:00
El Amrani Chakir
624c4b8d12
Adding psalm-var tag
...
Co-authored-by: Markus Staab <maggus.staab@googlemail.com >
2020-11-01 12:00:00 +00:00
AmraniCh
48d5d8b564
[Whoops\Run] Improve PHPdocs
2020-11-01 12:00:00 +00:00
Alexander Grigorev
dc30a4cb68
Check exists xdebug_is_enabled
...
Ubuntu 20.04
PHP 8.0 RC3
php8.0-xdebug (2.9.8+2.8.1+2.5.5+3.0.0~beta1-2+ubuntu20.04.1+deb.sury.org+1)
extension_loaded('xdebug') -> true
xdebug_is_enabled -> function does not exist
2020-11-01 04:44:59 +03:00
Gabriel Wanzek
8339648ab6
Add Exception getCode to formatExceptionAsDataArray
2020-10-19 17:53:02 +02:00
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