# bitexpert/magento2-force-customer-login 5.5.0

> Version 5.5.0 of bitexpert/magento2-force-customer-login, released 2026-08-17.

`composer require bitexpert/magento2-force-customer-login:5.5.0`

Canonical URL: https://packagento.com/bitexpert/magento2-force-customer-login/5.5.0

## At a glance

- **Released**: 2026-08-17
- **Magento**: ~103.0.7
- **PHP**: ~8.3.0|~8.4.0|~8.5.0
- **QA**: failing

## What it does

The Force Login module for Magento2 redirects a storefront visitor to the Magento2 Frontend login page, if the visitor is not logged in. It is possible to configure the whitelisted urls to add custom definitions.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magento/framework | ~103.0.7 |
| magento/module-backend | ~102.0.7 |
| magento/module-customer | ~103.0.7 |
| magento/module-store | ~101.1.7 |
| magento/module-ui | ~101.2.7 |
| php | ~8.3.0\|~8.4.0\|~8.5.0 |

### Require (dev)

| Package | Constraint |
|---|---|
| bitexpert/phpstan-magento | ^0.11.0 |
| captainhook/captainhook | ^5.16.4 |
| captainhook/plugin-composer | ^5.3.3 |
| magento/magento-coding-standard | ^31 |
| php-coveralls/php-coveralls | ^2.7 |
| phpstan/extension-installer | ^1.3.1 |
| phpunit/phpunit | ^9.5.2 |

## Quality

Version 5.5.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 | 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 | 454 | 29 errors, 425 warnings (ruleset: Magento2), 256 auto-fixable with phpcbf |
| PHPMD | Warning | 71 | 71 rule violations (UnusedPrivateField:51, ErrorControlOperator:18, ExcessiveClassLength:1, MissingImport:1) |
| Cpd | Warning | 12 | 12 duplicated chunks spanning 560 total lines (min-lines=5, min-tokens=70) |
| 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 | 21 | 21 | – | – |
| 2.4.8 | – | 21 | 21 | – |
| 2.4.9 | – | – | 21 | 23 |


### 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 | Pass | – | – |
| 2.4.8 | – | 12 | not tested | – |
| 2.4.9 | – | – | 2 | 2 |

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

[bitexpert/magento2-force-customer-login](https://packagento.com/bitexpert/magento2-force-customer-login.md) — full catalogue, pricing, install steps, and vendor info.

