---
title: "phpunit/php-text-template 6.0.0 Breaking Changes"
description: "What each phpunit/php-text-template release removed, renamed or changed: 6 breaking changes in 4 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/phpunit/php-text-template
last_updated: 2026-12-04
---

# phpunit/php-text-template breaking changes

phpunit/php-text-template 6.0.0 (February 6, 2026) is its newest release with breaking changes. The first: phpunit/php-text-template 6.0.0 drops support for PHP 8.3. Every breaking API change we have recorded in phpunit/php-text-template on Packagist: 6 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.0.1`, released October 3, 2026. BSD-3-Clause license. [Source repository](https://github.com/sebastianbergmann/php-text-template)

Its 6.0.0 release drops [PHP 8.3](https://since.dev/calendar/php/8.3.md). [PHP end of life dates](https://since.dev/calendar/php.md).

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 1 breaking change in 1 version.
- From [3.0.0](#v-3-0-0) to [6.0.0](#v-6-0-0): 5 breaking changes in 3 versions.

## phpunit/php-text-template 6.0.0 breaking changes

phpunit/php-text-template 6.0.0, released February 6, 2026: 1 breaking change.

- **Removed**  

This component is no longer supported on PHP 8.3, so code running on PHP 8.3 should stay on version 5.x or move to a newer PHP. [github.com](https://github.com/sebastianbergmann/php-text-template/releases/tag/6.0.0)

## phpunit/php-text-template 5.0.0 breaking changes

phpunit/php-text-template 5.0.0, released February 7, 2025: 1 breaking change.

- **Removed**  

The package no longer supports PHP 8.2, so users on PHP 8.2 must stay on an earlier release or upgrade PHP. [github.com](https://github.com/sebastianbergmann/php-text-template/releases/tag/5.0.0)

## phpunit/php-text-template 4.0.0 breaking changes

phpunit/php-text-template 4.0.0, released February 2, 2024: 3 breaking changes.

- **Removed**  

The component is no longer supported on PHP 8.1. Users on PHP 8.1 must stay on an earlier version. [github.com](https://github.com/sebastianbergmann/php-text-template/blob/4.0.0/ChangeLog.md)
- **Removed** `SebastianBergmann\Template\Template::setFile`  

The setFile() method was removed from SebastianBergmann\\Template\\Template. Code that calls it must be changed before upgrading. [packagist.org](https://packagist.org/packages/phpunit/php-text-template#4.0.0)
- **Signature changed** `SebastianBergmann\Template\Template::__construct`  

Was public function \_\_construct(string $file = '', string $openDelimiter = '{', string $closeDelimiter = '}'); now public function \_\_construct(string $templateFile, string $openDelimiter = '{', string $closeDelimiter = '}'). [packagist.org](https://packagist.org/packages/phpunit/php-text-template#4.0.0)

## phpunit/php-text-template 3.0.0 breaking changes

phpunit/php-text-template 3.0.0, released February 3, 2023: 1 breaking change.

- **Removed**  

The package no longer supports PHP 7.3, PHP 7.4 and PHP 8.0. Users on those PHP versions must stay on 2.0.x or upgrade PHP. [github.com](https://github.com/sebastianbergmann/php-text-template/blob/3.0.0/ChangeLog.md)

## Related packages

- [phpunit/php-code-coverage](https://since.dev/packages/packagist/phpunit/php-code-coverage.md)
- [phpunit/php-file-iterator](https://since.dev/packages/packagist/phpunit/php-file-iterator.md)
- [phpunit/php-invoker](https://since.dev/packages/packagist/phpunit/php-invoker.md)
- [phpunit/php-timer](https://since.dev/packages/packagist/phpunit/php-timer.md)
- [phpunit/phpcov](https://since.dev/packages/packagist/phpunit/phpcov.md)
- [phpunit/phpunit](https://since.dev/packages/packagist/phpunit/phpunit.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
