Commit Graph

1266 Commits

Author SHA1 Message Date
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
Denis Sokolov 84e3363127 Merge pull request #797 from erikn69/patch-6
Add new editors to PrettyPageHandler
2.19.2
2026-11-04 00:38:01 +01: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 2.19.1 2026-11-02 12:00:00 +00:00
Denis Sokolov 563e797c31 docs: document setJsonApi and json:api output of JsonResponseHandler, closes #779 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 516041c8f0 examples: respond with 200 to support tooling 2026-11-01 12:00:00 +00:00
Denis Sokolov 322f70cc22 feat: add pathMappings 2.19.0 2026-11-01 12:00:00 +00:00
Denis Sokolov 840e41e18a ci: update Packagist automatically 2026-11-01 12:00:00 +00:00
Denis Sokolov 50670ba239 Merge pull request #796 from coisa/codex/skip-native-virtual-source-reads
Avoid source-read warnings for native STDIN and CLI filenames
2.18.7
2026-10-18 15:17:38 +02: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
Denis Sokolov 7d0a2cde89 Merge pull request #795 from dualfroz/fix/704-non-removable-output-buffer
Stop output buffer cleanup at buffers that cannot be removed
2.18.6
2026-10-03 19:03:57 +02: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 2.18.5 2026-09-18 12:00:00 +00:00
Denis Sokolov b6689d4a43 Merge pull request #794 from dualfroz/dualfroz/fix-escapeuris-scheme-allowlist
Restrict escapeButPreserveUris() to http/https schemes (fixes #791)
2026-09-05 22:57:25 +02: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 fa1bc9c95a readme: update sponsors 2026-08-16 12:00:00 +00:00
Denis Sokolov cdef16d193 Merge pull request #793 from sasezaki/patch-gitattributes
Add `.mailmap` to export-ignore in .gitattributes
2026-05-06 12:57:24 +02:00
sasezaki f1d351d0a0 Add missing export-ignore entries to .gitattributes 2026-05-06 18:52:58 +09:00
Denis Sokolov ff40600d53 Merge pull request #792 from alexander-zierhut/patch-1
Integration of Whoops into the ZubZet framework
2026-04-28 19:10:46 +02:00
Alexander Zierhut 9d73208501 Update installation instructions to include ZubZet
Added ZubZet to frameworks that already include Whoops
2026-04-28 13:41:47 +02:00
Denis Sokolov 67342bc807 Merge pull request #788 from Chris53897/patch-1
feat: allow symfony/var-dumper 8
2025-11-28 20:12:26 +01:00
chris 80195183e9 feat: allow symfony/var-dumper 8 2025-11-26 08:39:36 +01:00
Denis Sokolov 4df6580315 Merge pull request #784 from Chris53897/patch-1
ci: Add PHP version 8.5 to CI workflow
2025-11-26 03:25:52 +01:00
Denis Sokolov 945fcff1df Merge pull request #787 from Chris53897/feature/travis
chore: remove travis
2025-11-25 22:22:55 +01:00
Christopher Georg aa7a42a038 chore: remove travis 2025-11-25 22:21:36 +01:00
Denis Sokolov d73de90cfc Merge pull request #786 from Chris53897/feature/allow-phpunit
test: allow phpunit 10
2025-11-25 22:14:53 +01:00
Denis Sokolov f1025204d7 Merge pull request #785 from Chris53897/feature/ci
ci: bump github action versions
2025-11-25 22:14:45 +01:00
chris 14433ed475 Update tests/Whoops/TestCase.php
Co-authored-by: Denis Sokolov <denis@sokolov.cc>
2025-11-25 22:05:04 +01:00
Christopher Georg 381cadab7f test: allow phpunit 10
allow symfony/var-dumper > 5
2025-11-25 20:46:06 +01:00
Christopher Georg 549232e9fb ci: bump github action versions 2025-11-25 20:39:20 +01:00
Christopher Georg bdfbc337f3 ci: Add PHP version 8.5 to CI workflow 2025-11-25 20:36:46 +01:00
chris 83694054ad ci: Add PHP version 8.5 to CI workflow 2025-11-25 17:03:21 +01:00
Denis Sokolov d2102955e4 Make colon copy and pasteable, fix #783 2.18.4 2025-08-08 12:00:00 +00:00
Denis Sokolov d95b2b7ae5 Merge pull request #782 from TomA-R/fix_non_canonical_casts
Fix PHP 8.5 deprecation when casting to integer using the non canonical name
2025-08-04 21:47:28 +02:00
Denis Sokolov dcc75fb19e Merge pull request #781 from TomA-R/php_8_4_dep_test_bootstrap
Fix constant E_STRICT deprecation warning when running tests
2025-08-04 21:43:47 +02: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
Tom Arbesser-Rastburg 18d46a7de3 Fix constant E_STRICT deprecation warning when running tests
E_STRICT was deprecated in PHP 8.4. It's used in tests/bootstrap.php, causing a deprecation warning to be emitted when running tests.
2025-08-04 21:23:57 +02:00
Denis Sokolov 5f9ed7ca9a Merge pull request #780 from igorsantos07/patch-1
Mention PHPStorm URL Handler for Linux
2025-06-24 02:42:00 +02:00
Igor Santos 5351eba69e Mention PHPStorm URL Handler for Linux 2025-06-23 21:24:15 -03:00
Denis Sokolov 59a123a3d4 Merge pull request #773 from DvdGiessen/unregister_shutdown_function
Disable shutdown function when not registered
2.18.3
2025-06-16 02:02:10 +02:00
Denis Sokolov 51afe14e35 RunTest: clean whitespace 2025-06-16 12:00:00 +00:00
Denis Sokolov db0f04fc8a Add a test for not registered on shutdown 2025-06-16 12:00:00 +00: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>
2.18.2
2025-06-11 22:42:19 +02:00
Markus Staab 8fcc6a862f Prevent javascript error: "TypeError: can't access property "scrollIntoView", line is undefined" (#776) 2.18.1 2025-06-03 20:56:14 +02:00
Markus Staab 25a7aedae3 CI: use ubuntu 22.04 (#777) 2025-06-03 20:55:44 +02:00
erikn69 4ff421518f Include composer demo script (#771) 2025-04-07 18:59:23 +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