# yireo/magento2-csp-inspector 1.0.7

> Version 1.0.7 of yireo/magento2-csp-inspector, released 2026-11-06.

`composer require yireo/magento2-csp-inspector:1.0.7`

Canonical URL: https://packagento.com/yireo/magento2-csp-inspector/1.0.7

## At a glance

- **Released**: 2026-11-06
- **Magento**: ^102.0|^103.0
- **PHP**: >=8.2 <8.6
- **QA**: failing

## What it does

Magento module to help with inspecting CSP headers

## Dependencies

### Require

| Package | Constraint |
|---|---|
| ext-pcre | * |
| guzzlehttp/guzzle | ^6.0\|^7.0 |
| magento/framework | ^102.0\|^103.0 |
| magento/module-csp | ^100.0 |
| magento/module-store | ^101.1 |
| php | >=8.2 <8.6 |
| symfony/console | ^5.0 \| ^6.0 \| ^7.0 |

### Require (dev)

| Package | Constraint |
|---|---|
| guzzlehttp/psr7 | ^1.0 \|\| ^2.0 |
| phpunit/phpunit | ^9.5 \|\| ^10.5 |
| yireo/magento2-integration-test-helper | ~0.0 |

## Quality

Version 1.0.7 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 | 3 | 3 warnings (ruleset: Magento2), 2 auto-fixable with phpcbf |
| PHPMD | Pass | 0 |  |
| 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 | Error | Error | – | – |
| 2.4.8 | – | 2 | 2 | – |
| 2.4.9 | – | – | 2 | 2 |


### 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 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | 1 | Error |


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

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

