---
title: "psalm 7.0.0 Breaking Changes on Homebrew | Since.dev"
description: "What each psalm release removed, renamed or changed: 37 breaking changes in 7 versions on Homebrew, each with its source."
canonical_url: https://since.dev/packages/homebrew/psalm
last_updated: 2026-12-04
---

# psalm breaking changes

psalm 7.0.0 is its newest release with breaking changes, 29 of them. The first: psalm 7.0.0 requires PHP 8.1.17 or later. Every breaking API change we have recorded in psalm on Homebrew: 37 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.27.0`, released December 4, 2026. MIT license. [Source repository](https://github.com/vimeo/psalm)

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

- From [7.0.0-beta5](#v-7-0-0-beta5) to [7.0.0](#v-7-0-0): 36 breaking changes in 6 versions.

## psalm 7.0.0 breaking changes

psalm 7.0.0: 29 breaking changes.

- **Removed**  

Psalm 6 raised the minimum PHP version to 8.1.17. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `@psalm-purity-from`  

Declare a purity template and use @psalm-purity-from-template instead of @psalm-purity-from. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `psalm.plugin-sabre-event`  

Projects requiring sabre/event no longer get the plugin; add it to dev dependencies or remove it from the config. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `Psalm\Context.$pure`  

The pure property was replaced with an isPure method. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `Psalm\Internal\DataFlow\DataFlowNode.make`  

Use one of the getFor\* factory methods instead of make. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `Psalm\Progress\Progress.start`  

The start method was removed. Use expand instead. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `Psalm\Type\Atomic\TCallable.$is_pure`  

The is_pure property was replaced with allowed_mutations. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `Psalm\Type\Atomic\TCallableInterface`  

TCallableInterface was deleted. Use Atomic::isCallableType instead. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `Psalm\Type\Atomic\TCallableKeyedArray`  

TCallableKeyedArray was deleted and replaced by an is_callable flag on TKeyedArray. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `Psalm\Type\Atomic\TKeyedArray.NAME_ARRAY`  

The NAME_ARRAY constant was removed from TKeyedArray. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `Psalm\Type\Atomic\TKeyedArray.NAME_LIST`  

The NAME_LIST constant was removed from TKeyedArray. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `self-accessing-callable`  

The self-accessing and self-mutating callable and Closure types were removed. Use Closure with explicit capability sets instead. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Removed** `TPositiveInt`  

TPositiveInt was removed and replaced by TIntRange. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Renamed** `Config.$shepherd_host`  

The shepherd_host property was replaced by shepherd_endpoint. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Renamed** `Psalm\Type\Atomic\TNamedObject.$was_static`  

The property was renamed to is_static. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Renamed** `Psalm\Type\Union.isFormerStaticObject`  

The method was renamed to isStaticObject. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Behavior changed**  

Purity template arguments must be written in square brackets; angle brackets now report InvalidDocblock. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Behavior changed** `Psalm\Config.loadFromXMLFile`  

Unreadable or empty config files now throw ConfigException instead of InvalidArgumentException. Catch the new exception type if you handle it. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Behavior changed** `Psalm\Plugin\EventHandler\Event\AfterAnalysisEvent.getBuildInfo`  

getBuildInfo holds the keys of only the first recognised CI service and omits unknown values instead of null. Read keys with ??. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Behavior changed** `Psalm\Type\Atomic.getId`  

A type extending Atomic directly must override getId, or it throws a LogicException. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Behavior changed** `Psalm\Type\Union.isBool`  

isBool returns true when every member is a TBool, so true and false alone now count as bool. Psalm also reports RedundantCast for casts of true or false. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Default changed** `Config.$find_unused_code`  

Unused code detection is on by default now; disable it explicitly if you do not want it. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Default changed** `MissingPureAnnotation`  

These suggestions are only reported with the suggestPurityAnnotations config attribute enabled, so baselines may need updating. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Signature changed** `Psalm\Codebase.addTaintSource`  

The code location parameter is now mandatory and comes before the taints parameter. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Signature changed** `Psalm\Codebase.classExists`  

The calling class name and method id parameters were replaced by a single Psalm\\Context|null parameter. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Signature changed** `Psalm\Codebase.methodExists`  

The signature of Codebase::methodExists changed, so callers passing the old arguments must be updated. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Signature changed** `Psalm\Plugin\EventHandler\AddTaintsInterface.addTaints`  

Plugins must return an integer taint instead of an array of strings from addTaints and removeTaints. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Signature changed** `Psalm\Type.getListAtomic`  

getListAtomic can now return TArray as well as TKeyedArray, so code expecting TKeyedArray must check the type. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)
- **Signature changed** `Psalm\Type\Atomic\TKeyedArray.__construct`  

Create TKeyedArray with the make or makeCallable factory methods instead of the constructor. [github.com](https://github.com/vimeo/psalm/blob/master/UPGRADING.md)

## psalm 7.0.0-rc11 breaking changes

psalm 7.0.0-rc11: 1 breaking change.

- **Behavior changed**  

Cached union equality and resolution changes in psalm 7.0.0-rc11 [github.com](https://github.com/vimeo/psalm/releases/tag/7.0.0-rc11)

## psalm 7.0.0-rc9 breaking changes

psalm 7.0.0-rc9: 1 breaking change.

- **Behavior changed** `@psalm-taint-sink`  

Taint sink annotations can now be conditional, which may change which code is reported. [github.com](https://github.com/vimeo/psalm/releases/tag/7.0.0-rc9)

## psalm 7.0.0-rc2 breaking changes

psalm 7.0.0-rc2: 3 breaking changes.

- **Behavior changed** `$_SERVER`  

Psalm now taints the entries of $\_SERVER and $\_FILES that the client sends, so code that passes them to sinks may newly report taint issues. [github.com](https://github.com/vimeo/psalm/releases/tag/7.0.0-rc2)
- **Behavior changed** `debug_backtrace`  

Calls to debug_backtrace() are now treated as reading globals, which may newly change purity reports. [github.com](https://github.com/vimeo/psalm/releases/tag/7.0.0-rc2)
- **Behavior changed** `printf`  

These functions now act as sinks of the same taint kinds as echo, so code passing tainted data to them may newly report issues. [github.com](https://github.com/vimeo/psalm/releases/tag/7.0.0-rc2)

## psalm 7.0.0-beta20 breaking changes

psalm 7.0.0-beta20: 1 breaking change.

- **Behavior changed** `dead-code detection`  

Dead-code detection runs on a reference graph, so unreferenced cycles and code used only by unused code are now reported. Review new UnusedClass or UnusedMethod findings. [github.com](https://github.com/vimeo/psalm/releases/tag/7.0.0-beta20)

## psalm 7.0.0-beta7 breaking changes

psalm 7.0.0-beta7: 1 breaking change.

- **Behavior changed** `DateTimeImmutable.setTimestamp`  

The parameter name of setTimestamp changed, so code passing it by named argument must be updated. [github.com](https://github.com/vimeo/psalm/releases/tag/7.0.0-beta7)

## Older versions

1 older version.

### psalm 7.0.0-beta5 breaking changes

psalm 7.0.0-beta5: 1 breaking change.

- **Behavior changed**  

Psalm can now run normal, security and dead code analysis in a single run. Users who relied on separate runs should check their CI setup. [github.com](https://github.com/vimeo/psalm/releases/tag/7.0.0-beta5)

## Related packages

- [vimeo/psalm](https://since.dev/packages/packagist/vimeo/psalm.md):  on Packagist

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