---
title: "Breaking: #611 - Change PHP Dependency"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:breaking-611-change-php-dependency@12.1"
source: "Changelog/9.3/Breaking-611-ChangePhpDependency.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Breaking: #611 - Change PHP Dependency {#breaking-611-change-php-dependency}

See [Issue 611](https://github.com/extcode/cart/issues/611)

## Description {#description}

Tests with newer versions of phpstan under newer php versions showed that the
constructor method `ExtcodeCartDomainModelCartBeVariant::__construct()` uses
required method parameters after optional parameters. This is deprecated since.
PHP 8.0. (see [https://php.watch/versions/8.0/deprecate-required-param-after-optional](https://php.watch/versions/8.0/deprecate-required-param-after-optional))

As this may lead to an error in a later PHP version, compatibility is restricted
to PHP 8.1-8.4.

## Affected Installations {#affected-installations}

All installations.

## Migration {#migration}

This restriction currently has no effect. No migration is necessary.
