# integer-net/magento2-sansec-watch 2.0.1

> Version 2.0.1 of integer-net/magento2-sansec-watch, released 2026-07-17.

`composer require integer-net/magento2-sansec-watch:2.0.1`

Canonical URL: https://packagento.com/integer-net/magento2-sansec-watch/2.0.1

## At a glance

- **Released**: 2026-07-17
- **Magento**: >=100.0.0
- **PHP**: >=8.3.0
- **QA**: failing

## What it does

Sansec Watch integration for Magento 2

## Dependencies

### Require

| Package | Constraint |
|---|---|
| beberlei/assert | ^3.3 |
| cuyz/valinor | ^2.4.0 |
| magento/framework | >=100.0.0 |
| magento/module-csp | * |
| php | >=8.3.0 |
| symfony/clock | ^6.4 \|\| ^7.0 \|\| ^8.0 |
| symfony/http-client | ^5.0 \|\| ^6.0 \|\| ^7.0 \|\| ^8.0 |
| symfony/uid | ^6.2 \|\| ^7.0 \|\| ^8.0 |

### Require (dev)

| Package | Constraint |
|---|---|
| bitexpert/phpstan-magento | ^0.42.0 |
| ergebnis/composer-normalize | ^2.52 |
| php-parallel-lint/php-console-highlighter | ^1.0 |
| php-parallel-lint/php-parallel-lint | ^1.4 |
| phpstan/extension-installer | ^1.4 |
| phpstan/phpstan | ^2.2 |
| phpstan/phpstan-deprecation-rules | ^2.0 |
| phpstan/phpstan-phpunit | ^2.0 |
| phpstan/phpstan-strict-rules | ^2.0 |
| phpunit/phpunit | ^12.5 |
| rector/rector | ^2.4 |
| roave/security-advisories | dev-latest |
| symplify/easy-coding-standard | ^13.2 |

## Quality

Version 2.0.1 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 | not tested | 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 | Fail | 46 | 6 errors, 40 warnings (ruleset: Magento2), 12 auto-fixable with phpcbf |
| PHPMD | Warning | 6 | 6 rule violations (UnusedFormalParameter:4, MissingImport:2) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 2 | valid; 2 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 | 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 | 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

[integer-net/magento2-sansec-watch](https://packagento.com/integer-net/magento2-sansec-watch.md) — full catalogue, pricing, install steps, and vendor info.

