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

# phpunit/php-file-iterator breaking changes

phpunit/php-file-iterator 7.0.0 (February 6, 2026) is its newest release with breaking changes. The first: phpunit/php-file-iterator 7.0.0 drops support for PHP 8.3. Every breaking API change we have recorded in phpunit/php-file-iterator on Packagist: 9 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 `7.0.2`, released August 25, 2026. BSD-3-Clause license. [Source repository](https://github.com/sebastianbergmann/php-file-iterator)

Its 7.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 [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 1 breaking change in 1 version.
- From [4.0.0](#v-4-0-0) to [7.0.0](#v-7-0-0): 3 breaking changes in 3 versions.

## phpunit/php-file-iterator 7.0.0 breaking changes

phpunit/php-file-iterator 7.0.0, released February 6, 2026: 1 breaking change.

- **Removed**  

The component is no longer supported on PHP 8.3, so PHP 8.3 users must stay on an earlier release or upgrade their PHP version. [github.com](https://github.com/sebastianbergmann/php-file-iterator/releases/tag/7.0.0)

## phpunit/php-file-iterator 6.0.0 breaking changes

phpunit/php-file-iterator 6.0.0, released February 7, 2025: 1 breaking change.

- **Removed**  

The component is no longer supported on PHP 8.2, so code running on PHP 8.2 must move to a newer PHP version. [github.com](https://github.com/sebastianbergmann/php-file-iterator/releases/tag/6.0.0)

## phpunit/php-file-iterator 5.0.0 breaking changes

phpunit/php-file-iterator 5.0.0, released February 2, 2024: 1 breaking change.

- **Removed**  

The component no longer supports PHP 8.1, so users on PHP 8.1 must stay on an earlier version or upgrade PHP. [github.com](https://github.com/sebastianbergmann/php-file-iterator/blob/5.0.0/ChangeLog.md)

## phpunit/php-file-iterator 4.0.0 breaking changes

phpunit/php-file-iterator 4.0.0, released February 3, 2023: 6 breaking changes.

- **Removed**  

The component no longer supports PHP 7.3, PHP 7.4 and PHP 8.0. Upgrade PHP before using this version. [github.com](https://github.com/sebastianbergmann/php-file-iterator/blob/4.0.0/ChangeLog.md)
- **Removed** `SebastianBergmann\FileIterator\Facade::getCommonPath`  

SebastianBergmann\\FileIterator\\Facade::getCommonPath was removed in phpunit/php-file-iterator 4.0.0 [packagist.org](https://packagist.org/packages/phpunit/php-file-iterator#4.0.0)
- **Removed** `SebastianBergmann\FileIterator\Factory`  

The Factory class is now marked @internal and is not meant for use by user code. [packagist.org](https://packagist.org/packages/phpunit/php-file-iterator#4.0.0)
- **Removed** `SebastianBergmann\FileIterator\Iterator`  

The Iterator class is now marked @internal and is not meant for use by user code. [packagist.org](https://packagist.org/packages/phpunit/php-file-iterator#4.0.0)
- **Signature changed** `SebastianBergmann\FileIterator\Facade`  

The optional $commonPath parameter of the Facade class and the functionality it controlled were removed. Stop passing this argument. [packagist.org](https://packagist.org/packages/phpunit/php-file-iterator#4.0.0)
- **Signature changed** `SebastianBergmann\FileIterator\Facade::getFilesAsArray`  

Was public function getFilesAsArray($paths, $suffixes = '', $prefixes = '', array $exclude = \[\], bool $commonPath = false): array; now public function getFilesAsArray(string $path, array|string $suffixes = '', array|string $prefixes = ''... [packagist.org](https://packagist.org/packages/phpunit/php-file-iterator#4.0.0)

## Related packages

- [phpunit/php-code-coverage](https://since.dev/packages/packagist/phpunit/php-code-coverage.md)
- [phpunit/php-invoker](https://since.dev/packages/packagist/phpunit/php-invoker.md)
- [phpunit/php-text-template](https://since.dev/packages/packagist/phpunit/php-text-template.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.
