NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1469 most downloaded on Packagist
A PHPStan rule to detect safety issues. Must be used in conjunction with thecodingmachine/safe
Last release 3 months ago
21 Jun 2026
Ships unpredictably
gaps range from 4 weeks to 2.9 years
Some releases are documented
notes for 8 of 17 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
18 releases · first in 2018
ReplaceSafeFunctionsDynamicReturnTypeExtension: fix typo by @staabm in #71
Full Changelog: v.1.4.5...v1.4.7
Sync preg_match extensions with PHPStan upstream + expose identity-check narrowing bug by @mvhirsch in #65
One column per quarter.
Trigger reflection processing lazily by @kayw-geek , @staabm in #64
Full Changelog: v1.4.2...v1.4.3
feat: infer preg_replace_callback return type by @mRoca in #60
Consider named argument flags: JSON_THROW_ON_ERROR for json_ functions as "Safe" by @shish in #56
Bump phpunit to be less-deprecated by @shish in #49
preg_match so that it also applies to Safe\preg_match (ie, the $matches array is now accurately typed to match the regex pattern used, rather than being a generic ?array)Full Changelog: v1.3.1...v1.4.0
Same as v1.3.0, but marked compatible with Safe v3.0.0
Same as v1.3.0, but marked compatible with Safe v3.0.0
This new release brings support for PHPStan 2.0 (and drops support for PHPStan 1.0)
This new release brings support for PHPStan 2.0 (and drops support for PHPStan 1.0)
Full Changelog: v1.2.0...v1.3.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →