Dhrupo
b6f8e2f262
fix: use is_int() instead of the is_integer() alias deprecated in PHP 8.6
2026-11-08 11:37:05 +06:00
erikn69
38161a96b9
Add new editors to PrettyPageHandler
2026-11-03 11:50:43 -05:00
Denis Sokolov
2915c807d7
fix: keep the error line visible in the code preview near end of file, closes #770
2026-11-02 12:00:00 +00:00
Denis Sokolov
08dc3ff166
Fix header in Firefox dev tools, closes #789
2026-11-01 12:00:00 +00:00
Denis Sokolov
322f70cc22
feat: add pathMappings
2026-11-01 12:00:00 +00:00
Felipe Sayão Lobato Abreu
a9d6d08b0b
fix: skip source reads for native virtual filenames
...
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com >
2026-10-17 17:13:43 -03:00
DualFroz
5805bc7620
Stop output buffer cleanup at buffers that cannot be removed
...
zlib.output_compression makes its buffer non-removable once it has sent
compressed output, so ob_end_clean() raised a notice that replaced the
original exception. Fixes #704 .
2026-10-02 16:11:20 +02:00
Denis Sokolov
baec851ad6
Escape some HTML values that were not escaped
2026-09-18 12:00:00 +00:00
DualFroz
b6b679db7d
fix(template-helper): restrict escapeButPreserveUris to http/https schemes
...
escapeButPreserveUris() matched any scheme via [A-z]+?://, which also
turns javascript://, vbscript:// and data:// URIs into clickable links
on the generated error page, allowing script execution on click (XSS).
The [A-z] class was also invalid, spanning extra ASCII punctuation.
Restrict the scheme to http/https, the only two schemes that make
sense to linkify on an error page, leaving other schemes as plain
escaped text.
2026-09-04 22:16:53 +02:00
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