---
title: "bizley/migration 5.0.0 Breaking Changes on Packagist"
description: "What each bizley/migration release removed, renamed or changed: 18 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/bizley/migration
last_updated: 2026-12-04
---

# bizley/migration breaking changes

bizley/migration 5.0.0 (November 13, 2026) is its newest release with breaking changes, 18 of them. The first: Removes the phpstan.sh script in favor of running PHPStan directly in bizley/migration 5.0.0. Every breaking API change we have recorded in bizley/migration on Packagist: 18 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 `5.0.0`, released November 13, 2026. Apache-2.0 license. [Source repository](https://github.com/bizley/yii2-migration)

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

## bizley/migration 5.0.0 breaking changes

bizley/migration 5.0.0, released November 13, 2026: 18 breaking changes.

- **Removed**  

The phpstan.sh script is removed. Run vendor/bin/phpstan or the composer phpstan script instead. [github.com](https://github.com/bizley/yii2-migration/pull/210)
- **Removed**  

The package no longer supports end-of-life PHP versions and now requires PHP 8.1 or newer. Upgrade PHP to 8.1 or later before updating. [github.com](https://github.com/bizley/yii2-migration/releases/tag/5.0.0)
- **Removed** `bizley\migration\Generator::$view`  

bizley\\migration\\Generator::$view was removed in bizley/migration 5.0.0 [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Behavior changed**  

Table name patterns are treated literally, except that the asterisk still acts as a wildcard. Check any patterns you pass that contain other special characters. [github.com](https://github.com/bizley/yii2-migration/releases/tag/5.0.0)
- **Signature changed** `bizley\migration\Arranger::__construct`  

Was public function \_\_construct(TableMapperInterface $mapper); now public function \_\_construct(private readonly TableMapperInterface $mapper). [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\Comparator::__construct`  

Was public function \_\_construct(bool $generalSchema); now public function \_\_construct(private readonly bool $generalSchema). [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\Extractor::__construct`  

Was public function \_\_construct(Connection $db, bool $experimental = false); now public function \_\_construct(private readonly Connection $db, /\*\* @since 4.1.0 \*/ private readonly bool $experimental = false). [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\Generator::__construct`  

Was public function \_\_construct(TableMapperInterface $tableMapper, StructureRendererInterface $structureRenderer, View $view); now public function \_\_construct(private readonly TableMapperInterface $tableMapper, private readonly... [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\HistoryManager::__construct`  

Was public function \_\_construct(Connection $db, Query $query, string $historyTable); now public function \_\_construct(private readonly Connection $db, private readonly Query $query, private readonly string $historyTable). [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\Inspector::__construct`  

Was public function \_\_construct(HistoryManagerInterface $historyManager, ExtractorInterface $extractor, StructureBuilderInterface $structureBuilder, ComparatorInterface $comparator); now public function \_\_construct(private readonly... [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\renderers\BlueprintRenderer::__construct`  

Was public function \_\_construct(ColumnRendererInterface $columnRenderer, PrimaryKeyRendererInterface $primaryKeyRenderer, IndexRendererInterface $indexRenderer, ForeignKeyRendererInterface $foreignKeyRenderer); now public function... [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\renderers\ColumnRenderer::__construct`  

Was public function \_\_construct(bool $generalSchema); now public function \_\_construct(private readonly bool $generalSchema). [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\renderers\ForeignKeyRenderer::__construct`  

Was public function \_\_construct(bool $generalSchema); now public function \_\_construct(private readonly bool $generalSchema). [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\renderers\PrimaryKeyRenderer::__construct`  

Was public function \_\_construct(bool $generalSchema); now public function \_\_construct(private readonly bool $generalSchema). [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\renderers\StructureRenderer::__construct`  

Was public function \_\_construct(ColumnRendererInterface $columnRenderer, PrimaryKeyRendererInterface $primaryKeyRenderer, IndexRendererInterface $indexRenderer, ForeignKeyRendererInterface $foreignKeyRenderer); now public function... [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\TableMapper::__construct`  

Was public function \_\_construct(Connection $db); now public function \_\_construct(private readonly Connection $db). [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `bizley\migration\Updater::__construct`  

Was public function \_\_construct(TableMapperInterface $tableMapper, InspectorInterface $inspector, BlueprintRendererInterface $blueprintRenderer, View $view); now public function \_\_construct(private readonly TableMapperInterface... [packagist.org](https://packagist.org/packages/bizley/migration#5.0.0)
- **Signature changed** `yii\db\Migration::createIndex`  

Was public function createIndex(string $name, string $table, $columns, bool $unique = false): void; now public function createIndex(string $name, string $table, $columns, bool|string $unique = false): void. [packagist.org](https://packagist.org/packages/bizley/migration#5.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.
