---
title: "magicalex/write-ini-file 3.0.0 Breaking Changes on Packagist"
description: "What each magicalex/write-ini-file release removed, renamed or changed: 17 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/magicalex/write-ini-file
last_updated: 2026-12-04
---

# magicalex/write-ini-file breaking changes

magicalex/write-ini-file 3.0.0 (November 21, 2026) is its newest release with breaking changes, 17 of them. The first: Removed WriteiniFile\\ReadiniFile::$data_ini_file. Every breaking API change we have recorded in magicalex/write-ini-file on Packagist: 17 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.0.0`, released November 21, 2026. GPL-3.0-only license. [Source repository](https://github.com/al3xLvs/WriteiniFile)

Its 3.0.0 release requires [PHP 8.2](https://since.dev/calendar/php/8.2.md) or later. [PHP end of life dates](https://since.dev/calendar/php.md).

## magicalex/write-ini-file 3.0.0 breaking changes

magicalex/write-ini-file 3.0.0, released November 21, 2026: 17 breaking changes.

- **Removed** `WriteiniFile\ReadiniFile::$data_ini_file`  

WriteiniFile\\ReadiniFile::$data_ini_file was removed in magicalex/write-ini-file 3.0.0 [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Removed** `WriteiniFile\ReadiniFile::$path_to_ini_file`  

WriteiniFile\\ReadiniFile::$path_to_ini_file was removed in magicalex/write-ini-file 3.0.0 [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Removed** `WriteiniFile\WriteiniFile::$data_ini_file`  

WriteiniFile\\WriteiniFile::$data_ini_file was removed in magicalex/write-ini-file 3.0.0 [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Removed** `WriteiniFile\WriteiniFile::$path_to_ini_file`  

WriteiniFile\\WriteiniFile::$path_to_ini_file was removed in magicalex/write-ini-file 3.0.0 [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Behavior changed**  

The package no longer supports PHP versions older than 8.2, so projects on older PHP must upgrade before using version 3.0.0. [github.com](https://github.com/al3xLvs/WriteiniFile/blob/3.0.0/CHANGELOG.md)
- **Behavior changed** `ReadiniFile`  

ReadiniFile can no longer be subclassed and does not keep static state between calls, so code relying on either must change. [github.com](https://github.com/al3xLvs/WriteiniFile/blob/3.0.0/CHANGELOG.md)
- **Behavior changed** `WriteiniFile`  

Code that reads or sets properties of WriteiniFile directly will no longer work and must use the public methods instead. [github.com](https://github.com/al3xLvs/WriteiniFile/blob/3.0.0/CHANGELOG.md)
- **Signature changed**  

Strict typing is enforced across the package, so arguments and return values of the wrong type will now be rejected. [github.com](https://github.com/al3xLvs/WriteiniFile/blob/3.0.0/CHANGELOG.md)
- **Signature changed** `WriteiniFile\ReadiniFile`  

Was class ReadiniFile; now final class ReadiniFile. [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Signature changed** `WriteiniFile\ReadiniFile::get`  

Was public static function get($ini_file, $scanner_mode = INI_SCANNER_RAW); now public static function get(string $path, int $scannerMode = INI_SCANNER_RAW, bool $processSections = true): array. [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Signature changed** `WriteiniFile\WriteiniFile::__construct`  

Was public function \_\_construct($ini_file, $scanner_mode = INI_SCANNER_RAW); now public function \_\_construct(private readonly string $path, int $scannerMode = INI_SCANNER_RAW, private readonly bool $processSections = true). [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Signature changed** `WriteiniFile\WriteiniFile::add`  

Was public function add(array $add_new_value); now public function add(array $data): static. [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Signature changed** `WriteiniFile\WriteiniFile::create`  

Was public function create(array $new_ini_file); now public function create(array $data): static. [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Signature changed** `WriteiniFile\WriteiniFile::erase`  

Was public function erase(); now public function erase(): static. [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Signature changed** `WriteiniFile\WriteiniFile::rm`  

Was public function rm(array $rm_value); now public function rm(array $data): static. [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Signature changed** `WriteiniFile\WriteiniFile::update`  

Was public function update(array $new_value); now public function update(array $data): static. [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)
- **Signature changed** `WriteiniFile\WriteiniFile::write`  

Was public function write(); now public function write(): bool. [packagist.org](https://packagist.org/packages/magicalex/write-ini-file#3.0.0)

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