# clawrock/magento2-debug 2.2.2

> Version 2.2.2 of clawrock/magento2-debug, released 2026-08-29.

`composer require clawrock/magento2-debug:2.2.2`

Canonical URL: https://packagento.com/clawrock/magento2-debug/2.2.2

## At a glance

- **Released**: 2026-08-29
- **Magento**: ~103.0
- **PHP**: >=8.1
- **QA**: failing

## What it does

Magento 2 debug module based on Magento 1 Profiler with some extra features.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| filp/whoops | ^2.1 |
| jdorn/sql-formatter | ^1.2 |
| magento/framework | ~103.0 |
| magento/module-backend | ~102.0 |
| magento/module-developer | ^100.4 |
| php | >=8.1 |
| symfony/stopwatch | ^2.8 \|\| ^3.0 \|\| ^4.0 \|\| ^5.0 \|\| ^6.0 \|\| ^7.0 |
| symfony/var-dumper | * |

### Require (dev)

| Package | Constraint |
|---|---|
| bitexpert/phpstan-magento | ^0.31.0 |
| dealerdirect/phpcodesniffer-composer-installer | ^0.7.1 |
| magento/magento-coding-standard | * |
| phpcompatibility/php-compatibility | ^9.3 |
| phpmd/phpmd | ^2.9.1 |
| phpstan/phpstan | ^1.11 |
| phpstan/phpstan-phpunit | ^1.1.1 |
| phpunit/phpunit | ^9.6.33 |
| sebastian/phpcpd | ^6.0.3 |
| slevomat/coding-standard | ~6.4.1 |
| squizlabs/php_codesniffer | ~3.13.6 |

## Quality

Version 2.2.2 fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | 1 | – |
| 2.4.9 | – | – | 1 | 1 |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — 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.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 96 | 96 warnings (ruleset: Magento2) |
| PHPMD | Warning | 190 | 190 rule violations (UnusedPrivateField:190) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 1 | 1 | – | – |
| 2.4.8 | – | 46 | Error | – |
| 2.4.9 | – | – | Error | Error |

#### Integration Tests

| 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

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Parent package

[clawrock/magento2-debug](https://packagento.com/clawrock/magento2-debug.md) — full catalogue, pricing, install steps, and vendor info.

