# justbetter/magento2-sentry 4.6.0

> Version 4.6.0 of justbetter/magento2-sentry, released 2026-05-13.

`composer require justbetter/magento2-sentry:4.6.0`

Canonical URL: https://packagento.com/justbetter/magento2-sentry/4.6.0

## At a glance

- **Released**: 2026-05-13
- **Magento**: >=103.0.7
- **PHP**: >=8.1
- **QA**: failing

## What it does

Magento 2 Logger for Sentry

## Dependencies

### Require

| Package | Constraint |
|---|---|
| justbetter/magento2-core | ^1.0 |
| magento/framework | >=103.0.7 |
| magento/module-config | >=101.2 |
| magento/module-csp | * |
| monolog/monolog | >=2.7.0\|^3.0 |
| nyholm/psr7 | ^1.2 |
| php | >=8.1 |
| sentry/sentry | ^4.13 |

### Require (dev)

| Package | Constraint |
|---|---|
| bitexpert/phpstan-magento | ^0.42.0 |
| justbetter/magento2-coding-standard | ^1.0,>=1.0.2 |
| magento/magento-coding-standard | >=40 |
| rector/rector | >=1.2.5 |

## Quality

Version 4.6.0 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 | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### 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 | 35 | 35 warnings (ruleset: Magento2) |
| PHPMD | Warning | 31 | 31 rule violations (UnusedFormalParameter:17, IfStatementAssignment:5, ErrorControlOperator:2, MissingImport:2, ExcessivePublicCount:1) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 4 | valid; 4 advisory notes (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 | 4 | 4 | – | – |
| 2.4.8 | – | 4 | 4 | – |
| 2.4.9 | – | – | 4 | 4 |


### 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 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### 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

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

