NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1208 most downloaded on Packagist
Provides a phpstan/phpstan extension for phpspec/prophecy
Last release 8 months ago
10 Feb 2026
Release timing varies
gaps range from 2 weeks to 2.4 years
Nearly every release is documented
notes for 24 of 24 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
24 releases · first in 2017
github-actions(deps): Bump shivammathur/setup-php from 2.33.0 to 2.34.0 by @dependabot [bot] in #387
Full Changelog: 2.2.0...2.3.0
One column per quarter.
Allow PHPUnit 12 🎉 by @Jean85 in #364
Full Changelog: 2.1.1...2.2.0
Set correct requires phpstan version to 2-1-5 by @alexander-schranz in #376 (Thx @ondrejmirtes )
Recommend update phpstan and all its extension via:
composer update "*phpstan*"Full Changelog: 2.1.0...2.1.1
github-actions(deps): Bump shivammathur/setup-php from 2.31.1 to 2.32.0 by @dependabot in #358
Recommend update phpstan and all its extension via:
composer update "*phpstan*"PHPStan 2.1.5 required to work correctly.
Full Changelog: 2.0.0...2.1.0
Add support for PHPStan 2 🎉 by @sasezaki , @Jean85 , @stof in #348
Full Changelog: 1.0.2...2.0.0
Allow PHPUnit 10 & 11 by @Jean85 in #334
Remove unnecessary $ by @RusiPapazov in #277
This tag should fix problems
$ by @RusiPapazov in #277ergebnis/composer-normalize to run as composer plugin by @localheinz in #293static-code-analysis job by @localheinz in #323composer.json by @localheinz in #321Full Changelog: 1.0.0...1.1.0
Enhancement: Synchronize with ergebnis/php-library-template ( #239 ), by @localheinz
ergebnis/php-library-template (#239), by @localheinzactions/checkout from v2.3.3 to v2.3.4 (#240), by @dependabot[bot]ibiqlik/action-yamllint from v2.0.0 to v3 (#242), by @dependabot[bot]actions/cache from v2.1.2 to v2.1.3 (#241), by @dependabot[bot]actions/github-script from v3.0.0 to v3.1 (#243), by @dependabot[bot]shivammathur/setup-php from 2.7.0 to 2.8.0 (#244), by @dependabot[bot]shivammathur/setup-php from 2.8.0 to 2.9.0 (#245), by @dependabot[bot]actions/cache from v2.1.3 to v2.1.4 (#246), by @dependabot[bot]shivammathur/setup-php from 2.9.0 to 2.10.0 (#247), by @dependabot[bot]actions/github-script from 3.1 to 5 (#262), by @dependabot[bot]ibiqlik/action-yamllint from 3 to 3.0.1 (#255), by @dependabot[bot]actions/cache from 2.1.4 to 2.1.6 (#256), by @dependabot[bot]shivammathur/setup-php from 2.10.0 to 2.15.0 (#263), by @dependabot[bot]actions/checkout from 2.3.4 to 2.4.0 (#267), by @dependabot[bot]1.0 (#266), by @alexander-schranzFor a full diff see [0.8.1...1.0.0][0.8.1...1.0.0].
phpstan/phpstan:^1.0.0 and dropped support for non-stable versions of phpstan/phpstan ([#266]), by [@alexander-schranz]Fix: Reference ( #183 ), by @localheinz
ergebnis/php-cs-fixer-config from 1.1.3 to 2.1.2 (#186), by @dependabot[bot]actions/cache from v1 to v2 (#185), by @dependabot[bot]ergebnis/php-cs-fixer-config from 2.1.2 to 2.2.0 (#193), by @dependabot[bot]ergebnis/php-cs-fixer-config from 2.2.0 to 2.2.1 (#196), by @dependabot[bot]actions/checkout from v2 to v2.3.0 (#190), by @dependabot[bot]ergebnis/composer-normalize from 2.5.1 to 2.6.0 (#200), by @dependabot[bot]ergebnis/composer-normalize from 2.6.0 to 2.6.1 (#202), by @dependabot[bot]ergebnis/composer-normalize from 2.6.1 to 2.7.0 (#211), by @dependabot[bot]ergebnis/composer-normalize from 2.7.0 to 2.7.1 (#213), by @dependabot[bot]ergebnis/composer-normalize from 2.7.1 to 2.8.0 (#219), by @dependabot[bot]phpstan/phpstan from 0.12.25 to 0.12.51 (#231), by @violinist-botactions/github-script from v2 to v3 (#215), by @dependabot[bot]actions/checkout from v2.3.0 to v2.3.3 (#222), by @dependabot[bot]ergebnis/php-library-template (#232), by @localheinzpull_request_target (#235), by @localheinz8.0 (#236), by @localheinzFor a full diff see [0.8.0...0.8.1][0.8.0...0.8.1].
Update phpstan/phpstan from 0.12.23 to 0.12.24 ( #180 ), by @violinist-bot
phpstan/phpstan from 0.12.23 to 0.12.24 (#180), by @violinist-botphpstan/phpstan from 0.12.24 to 0.12.25 (#181), by @violinist-botFor a full diff see [0.7.0...0.8.0][0.7.0...0.8.0].
Removed the symbolic link from src/extension.neon to extension.neon ([#182]), by [@localheinz]
When using phpstan/extension-installer, no changes on your end are required.
When not using phpstan/extension-installer, you need to adjust phpstan.neon:
includes:
- - vendor/jangregor/phpstan-prophecy/src/extension.neon
+ - vendor/jangregor/phpstan-prophecy/extension.neon
For a full diff see [0.6.2...0.7.0][0.6.2...0.7.0].
For a full diff see [0.6.2...0.7.0][0.6.2...0.7.0].
src/extension.neon to extension.neon ([#140]), by [@localheinz]@internal ([#144]), by [@localheinz]phpstan/phpstan:~0.12.6 ([#165]), by [@Jean85]For a full diff see [0.6.1...0.6.2][0.6.1...0.6.2].
For a full diff see [0.6.1...0.6.2][0.6.1...0.6.2].
phpunit/phpunit:^9 ([#124]), by [@localheinz]For a full diff see [0.6.0...0.6.1][0.6.0...0.6.1].
For a full diff see [0.6.0...0.6.1][0.6.0...0.6.1].
final ([#118]), by [@localheinz]ObjectPropecyMethodReflection::hasSideEffects() as invoking methods on an instance of Prophecy\Prophecy\ObjectProphecy might have side effects ([#119]), by [@localheinz]For a full diff see [0.5.1...0.6.0][0.5.1...0.6.0].
For a full diff see [0.5.1...0.6.0][0.5.1...0.6.0].
willImplement() ([#92]), by [@localheinz]willExtend() ([#94]), by [@localheinz]For a full diff see [0.5.0...0.5.1][0.5.0...0.5.1].
For a full diff see [0.5.0...0.5.1][0.5.0...0.5.1].
phpstan/phpstan:^0.12.0 ([#79]), by [@localheinz]For a full diff see [0.4.2...0.5.0][0.4.2...0.5.0].
For a full diff see [0.4.2...0.5.0][0.4.2...0.5.0].
phpstan/phpstan:~0.12.2 ([#67]), by [@localheinz] and [@PedroTroller]For a full diff see [0.4.1...0.4.2][0.4.1...0.4.2].
For a full diff see [0.4.1...0.4.2][0.4.1...0.4.2].
For a full diff see [0.4...0.4.1][0.4...0.4.1].
For a full diff see [0.4...0.4.1][0.4...0.4.1].
For a full diff see [0.2.0...0.3.0][0.2.0...0.3.0].
For a full diff see [0.2.0...0.3.0][0.2.0...0.3.0].
For a full diff see [0.1.2...0.2.0][0.1.2...0.2.0].
For a full diff see [0.1.2...0.2.0][0.1.2...0.2.0].
For a full diff see [0.1.1...0.1.2][0.1.1...0.1.2].
For a full diff see [0.1.1...0.1.2][0.1.1...0.1.2].
For a full diff see [0.1...0.1.1][0.1...0.1.1].
For a full diff see [0.1...0.1.1][0.1...0.1.1].
For a full diff see [0.3.0...0.4][0.3.0...0.4].
For a full diff see [0.3.0...0.4][0.3.0...0.4].
For a full diff see [afd6fd9...0.1][afd6fd9...0.1].
For a full diff see afd6fd9...0.1.
Your coding agent can read these notes before it upgrades. Set up the MCP server →