---
title: "symfony/filesystem v8.0.0-BETA1 Breaking Changes"
description: "What each symfony/filesystem release removed, renamed or changed: 18 breaking changes in 3 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/symfony/filesystem
last_updated: 2026-12-04
---

# symfony/filesystem breaking changes

symfony/filesystem v8.0.0-BETA1 (November 27, 2025) is its newest release with breaking changes, 2 of them. The first: symfony/filesystem 8.0.0-BETA1 requires PHP 8.4 or later. Every breaking API change we have recorded in symfony/filesystem on Packagist: 18 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v8.2.0`, released November 28, 2026. MIT license. [Source repository](https://github.com/symfony/filesystem)

Its v8.0.0-BETA1 release requires [PHP 8.4](https://since.dev/calendar/php/8.4.md) or later. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [v7.0.0](#v-v7-0-0) to [v8.0.0-BETA1](#v-v8-0-0-BETA1): 2 breaking changes in 1 version.

## symfony/filesystem v8.0.0-BETA1 breaking changes

symfony/filesystem v8.0.0-BETA1, released November 27, 2025: 2 breaking changes.

- **Removed**  

Symfony 8 raises the minimum PHP version to 8.4, so code running on older PHP versions must upgrade PHP before using this release. [github.com](https://github.com/symfony/filesystem/releases/tag/v8.0.0-BETA1)
- **Behavior changed**  

Symfony 8 moves its minimum PHP version to 8.4, so code must run on PHP 8.4 or newer. [github.com](https://github.com/symfony/filesystem/releases/tag/v8.0.0-BETA1)

## symfony/filesystem v7.0.0 breaking changes

symfony/filesystem v7.0.0, released November 29, 2023: 13 breaking changes.

- **Signature changed** `Symfony\Component\Filesystem\Filesystem::appendToFile`  

Was public function appendToFile(string $filename, $content/\*, bool $lock = false \*/); now public function appendToFile(string $filename, $content, bool $lock = false): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::chgrp`  

Was public function chgrp(string|iterable $files, string|int $group, bool $recursive = false); now public function chgrp(string|iterable $files, string|int $group, bool $recursive = false): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::chmod`  

Was public function chmod(string|iterable $files, int $mode, int $umask = 0o000, bool $recursive = false); now public function chmod(string|iterable $files, int $mode, int $umask = 0000, bool $recursive = false): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::chown`  

Was public function chown(string|iterable $files, string|int $user, bool $recursive = false); now public function chown(string|iterable $files, string|int $user, bool $recursive = false): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::copy`  

Was public function copy(string $originFile, string $targetFile, bool $overwriteNewerFiles = false); now public function copy(string $originFile, string $targetFile, bool $overwriteNewerFiles = false): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::dumpFile`  

Was public function dumpFile(string $filename, $content); now public function dumpFile(string $filename, $content): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::hardlink`  

Was public function hardlink(string $originFile, string|iterable $targetFiles); now public function hardlink(string $originFile, string|iterable $targetFiles): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::mirror`  

Was public function mirror(string $originDir, string $targetDir, ?\\Traversable $iterator = null, array $options = \[\]); now public function mirror(string $originDir, string $targetDir, \\Traversable $iterator = null, array $options = \[\])... [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::mkdir`  

Was public function mkdir(string|iterable $dirs, int $mode = 0o777); now public function mkdir(string|iterable $dirs, int $mode = 0777): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)
- **Signature changed** `Symfony\Component\Filesystem\Filesystem::remove`  

Was public function remove(string|iterable $files); now public function remove(string|iterable $files): void. [packagist.org](https://packagist.org/packages/symfony/filesystem#v7.0.0)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## symfony/filesystem v7.0.0-BETA1 breaking changes

symfony/filesystem v7.0.0-BETA1, released November 29, 2023: 3 breaking changes.

- **Removed**  

BC layers added for methods and parameters introduced in earlier 6.x releases were removed; code relying on those compatibility shims may break. [github.com](https://github.com/symfony/filesystem/releases/tag/v7.0.0-BETA1)
- **Default changed**  

The component now requires PHP 8.2 or later; code running on older PHP versions must upgrade PHP before using this release. [github.com](https://github.com/symfony/filesystem/releases/tag/v7.0.0-BETA1)
- **Signature changed**  

Methods now declare native PHP return types; user subclasses overriding these methods must add compatible return types. [github.com](https://github.com/symfony/filesystem/releases/tag/v7.0.0-BETA1)

## Related packages

- [symfony/asset](https://since.dev/packages/packagist/symfony/asset.md)
- [symfony/browser-kit](https://since.dev/packages/packagist/symfony/browser-kit.md)
- [symfony/cache](https://since.dev/packages/packagist/symfony/cache.md)
- [symfony/config](https://since.dev/packages/packagist/symfony/config.md)
- [symfony/console](https://since.dev/packages/packagist/symfony/console.md)
- [symfony/css-selector](https://since.dev/packages/packagist/symfony/css-selector.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.
