yireo / magento2-whoops

yireo/magento2-whoops

Magento 2 module adding Whoops error handling

  • Jisse Reitsma (Yireo)
magento2-module Compatibility: 2.4.8-2.4.9 Code Quality: Fail Tests: N/A Security: Pass OSL-3.0

Magento 2 module for Whoops

magento2-whoops magento2-whoops Yireo_Whoops Yireo_Whoops yireo yireo?style=social

This module adds Whoops error handling to Magento 2.

See also:

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[Unreleased]

[0.2.5] - 01 June 2026

  • Remove setup_version from XML
  • Properly set version of symfony/var-dumper
  • Make sure exception message is a string, not a Phrase

[0.2.4] - 01 June 2026

Fixed

  • Unknown

[0.2.3] - 17 April 2025

Fixed

  • Move interface/class mapping from preference to type, due to 2.4.8

[0.2.2] - 12 September 2024

Fixed

  • Actual commits

[0.2.1] - 12 September 2024

Fixed

  • Added type hints to template

[0.2.0] - 12 June 2022

Added

  • Add links to Google and StackExchange (@moElwan)

[0.1.4] - 14 April 2022

Removed

  • Removed support for Magento 2.0, 2.1 and 2.2
  • Removed PHP requirement (so that Magento its req is sufficient)

[0.1.3] - 29 July 2020

Added

  • Magento 2.4 support

[0.1.2] - 2020-04-07

Added

  • Convert Throwables to Exceptions (@DuckThom)

[0.1.2] - 2020-04-07

Added

  • Convert Throwables to Exceptions (@DuckThom)

[0.1.1] - 2020-02-06

Added

  • Production mode report override
  • matching Magento and composer version

[0.1.0] - 2019-10-14

Added

  • Setting for editor to open up links
  • KeepAChangeLog standard

[0.0.11] - 2018/2019

  • See GitHub repository for release notes
Versions
Version Stability QA Status Compatibility Released
0.2.5 stable Fail Magento 2.4.8-2.4.9 Details 2026-06-01 17:54:34
0.2.4 stable Fail Magento 2.4.7-2.4.9 Details 2025-04-17 09:32:00
0.2.3 stable Not tested Not yet tested Details 2025-04-17 09:06:02
0.2.2 stable Not tested Not yet tested Details 2024-09-12 13:08:45
0.2.1 stable Not tested Not yet tested Details 2024-09-12 13:07:52
0.2.0 stable Not tested Not yet tested Details 2022-06-12 07:44:14
0.1.4 stable Not tested Not yet tested Details 2022-04-14 14:02:30
0.1.3 stable Not tested Not yet tested Details 2020-07-29 09:46:25
0.1.2 stable Not tested Not yet tested Details 2020-04-07 17:31:40
0.1.1 stable Not tested Not yet tested Details 2020-02-06 15:24:26
0.1.0 stable Not tested Not yet tested Details 2019-10-14 14:56:21
0.0.11 stable Not tested Not yet tested Details 2019-04-05 17:42:03
0.0.10 stable Not tested Not yet tested Details 2018-07-07 08:27:20
0.0.9 stable Not tested Not yet tested Details 2018-05-09 11:21:18
0.0.8 stable Not tested Not yet tested Details 2018-02-23 07:14:50
0.0.7 stable Not tested Not yet tested Details 2017-11-27 16:55:51
0.0.6 stable Not tested Not yet tested Details 2017-08-25 11:20:18
0.0.5 stable Not tested Not yet tested Details 2017-08-25 10:48:15
0.0.4 stable Not tested Not yet tested Details 2017-08-25 10:44:12
0.0.3 stable Not tested Not yet tested Details 2016-08-26 13:45:04
0.0.2 stable Not tested Not yet tested Details 2016-08-05 17:15:48
0.0.1 stable Not tested Not yet tested Details 2016-08-05 12:06:43

Requires 4

Package Constraint
filp/whoops ^2.1
magento/framework ^102.0|^103.0
magento/module-backend ^102.0
magento/module-config ^101.2

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 not tested not tested
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 27 27 warnings (ruleset: Magento2) — 9 auto-fixable with phpcbf
PHPMD Error 0 phpmd reported an analysis error: Unexpected end of token stream in file: view/whoops/views/header.html.php. (exit=3)
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 2 2
2.4.8 2 2
2.4.9 2 2

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0

More from yireo

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.