NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1204 most downloaded on Packagist
Provides a phpstan/phpstan extension for phpspec/prophecy
Latest stable
2.3.0
Last release 9 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
Drag across the ruler to compare, or tap a release to open it.
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →
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 https://github.com/Jan0707/phpstan-prophecy/pull/358
Recommend update phpstan and all its extension via:
composer update "*phpstan*"
PHPStan 2.1.5 required to work correctly.
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/2.0.0...2.1.0
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 https://github.com/Jan0707/phpstan-prophecy/pull/348
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/1.0.2...2.0.0
Allow PHPUnit 10 & 11 by @Jean85 in https://github.com/Jan0707/phpstan-prophecy/pull/334
Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/1.0.1...1.0.2
Remove unnecessary $ by @RusiPapazov in https://github.com/Jan0707/phpstan-prophecy/pull/277
This tag should fix problems
$ by @RusiPapazov in https://github.com/Jan0707/phpstan-prophecy/pull/277ergebnis/composer-normalize to run as composer plugin by @localheinz in https://github.com/Jan0707/phpstan-prophecy/pull/293static-code-analysis job by @localheinz in https://github.com/Jan0707/phpstan-prophecy/pull/323composer.json by @localheinz in https://github.com/Jan0707/phpstan-prophecy/pull/321Full Changelog: https://github.com/Jan0707/phpstan-prophecy/compare/1.0.0...1.1.0
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
Fix: Remove deprecated --no-suggest option (#176), by @localheinz
ergebnis/composer-normalize from 2.2.3 to 2.2.4 (#125), by @violinist-botergebnis/php-library-template (#136), by @localheinzwillImplement() is used in setUp() (#138), by @localheinzwillExtend() is used in setUp() (#139), by @localheinzextension.neon to root of project (#140), by @localheinz.build directory for temporary files (#142), by @localheinzObjectProphecy namespace (#143), by @localheinzREADME.md (#132), by @localheinzREADME.md (#146), by @localheinzprophesize(), willExtend(), and willImplement() are used in helper methods (#147), by @localheinzFUNDING.yml (#151), by @localheinzphpstan with and without extension (#149), by @localheinzphpstan/phpstan from 0.12.11 to 0.12.14 (#156), by @violinist-botphpspec/prophecy from v1.10.2 to v1.10.3 (#157), by @violinist-botergebnis/composer-normalize from 2.2.4 to 2.3.0 (#158), by @violinist-botphpstan/phpstan from 0.12.14 to 0.12.18 (#160), by @violinist-botergebnis/composer-normalize from 2.3.0 to 2.3.2 (#159), by @violinist-botergebnis/composer-normalize from 2.3.2 to 2.4.0 (#164), by @violinist-botphpstan/phpstan from 0.12.18 to 0.12.19 (#163), by @violinist-botergebnis/composer-normalize from 2.4.0 to 2.5.1 (#166), by @violinist-botphpstan/phpstan from 0.12.19 to 0.12.23 (#167), by @violinist-botergebnis/license:^1.0.0 (#170), by @localheinzphpunit/phpunit (#172), by @localheinzphpunit/phpunit:^8.0.0 (#174), by @localheinzphpunit/phpunit version in cache key (#175), by @localheinz--no-suggest option (#176), by @localheinzphpunit/phpunit:^9.0.0 (#177), by @localheinzFor 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]Update ergebnis/composer-normalize from 2.2.2 to 2.2.3 (#122), by @violinist-bot
ergebnis/composer-normalize from 2.2.2 to 2.2.3 (#122), by @violinist-botphpstan/phpstan from 0.12.9 to 0.12.10 (#120), by @violinist-botphpstan/phpstan from 0.12.10 to 0.12.11 (#123), by @violinist-botphpunit/phpunit:^9 (#124), by @localheinzFor a full diff see [0.6.1...0.6.2][0.6.1...0.6.2].
phpunit/phpunit:^9 ([#124]), by [@localheinz]Enhancement: Move indirect tests into separate namespace (#95), by @localheinz
ergebnis/composer-normalize from 2.1.1 to 2.2.0 (#96), by @violinist-botstrict_types fixer (#97), by @localheinzergebnis/php-cs-fixer-config from 1.1.2 to 1.1.3 (#98), by @violinist-botphpunit/phpunit from 7.5.18 to 7.5.19 (#101), by @violinist-botphpunit/phpunit from 7.5.19 to 7.5.20 (#102), by @violinist-botergebnis/composer-normalize from 2.2.0 to 2.2.1 (#103), by @violinist-botergebnis/composer-normalize from 2.2.1 to 2.2.2 (#106), by @violinist-botphpstan/phpstan from 0.12.4 to 0.12.6 (#105), by @violinist-botphpspec/prophecy from 1.10.1 to v1.10.2 (#107), by @violinist-botphpstan/phpstan from 0.12.6 to 0.12.7 (#108), by @violinist-botphpstan/phpstan from 0.12.7 to 0.12.8 (#109), by @violinist-botphpstan/phpstan from 0.12.8 to 0.12.9 (#110), by @violinist-botshivammathur/setup-php (#114), by @localheinzergebnis/license (#116), by @localheinzfinal (#118), by @localheinzObjectProphecy might have side effects (#119), by @localheinzFor 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]Enhancement: Add packagist badge (#81), by @localheinz
phpstan/phpstan from 0.12.2 to 0.12.3 (#82), by @violinist-botphpspec/prophecy from 1.9.0 to 1.10.0 (#83), by @violinist-botphpspec/prophecy from 1.10.0 to 1.10.1 (#85), by @violinist-botergebnis/composer-normalize instead of localheinz/composer-normalize (#86), by @localheinzergebnis/php-cs-fixer-config (#88), by @localheinzwillImplement() (#92), by @localheinzwillExtend() (#94), by @localheinzFor a full diff see [0.5.1...0.6.0][0.5.1...0.6.0].
willImplement() ([#92]), by [@localheinz]willExtend() ([#94]), by [@localheinz]Enhancement: Configure level and paths via phpstan.neon (#73), by @localheinz
level and paths via phpstan.neon (#73), by @localheinzphpunit (#75), by @localheinzphpstan/phpstan:^0.12.0 (#79), by @localheinzphpstan/phpstan before running it (#80), by @localheinzFor a full diff see [0.5.0...0.5.1][0.5.0...0.5.1].
phpstan/phpstan:^0.12.0 ([#79]), by [@localheinz]Update phpunit/phpunit from 7.2.6 to 7.5.14 (#55), by @violinist-bot
phpunit/phpunit from 7.2.6 to 7.5.14 (#55), by @violinist-botphpstan/phpstan:~0.12.2 (#67), by @localheinzphpunit/phpunit from 7.5.16 to 7.5.18 (#65), by @violinist-botphpspec/prophecy from 1.8.1 to 1.9.0 (#63), by @violinist-botFor 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]Thanks to @Taluu this package is now available to install as "phpstan-extension"
Thanks to @Taluu this package is now available to install as "phpstan-extension"
Thanks to: @localheinz @ondrejmirtes @lcobucci
Changes:
Thanks to: @localheinz @ondrejmirtes @lcobucci
Proudly supported by LILLYDOO, Germany. Looking for a cool place to work with modern PHP? Join LILLYDOO at https://stackoverflow.com/jobs/companies/lillydoo-gmbh
Many thanks to @localheinz & @alexander-schranz
Many thanks to @localheinz & @alexander-schranz
Due to compatibility breaks, this release drops support for PHPStan < 0.10 and PHP < 7.1
All the fame and glory of this release belong to @Jean85 !
This release includes many improvements to the overall architecture and structure of the project. We have also added the MIT license to this project.
This release includes many improvements to the overall architecture and structure of the project. We have also added the MIT license to this project.
Huge thanks (and all the credits for this release) to @localheinz and @Jean85 for their help and comments!
Allows for PHPUnit ^6.0||^7.0 (Thanks to Alexander Miehe)
Allows for PHP Unit : "<6.0, >=9.0"
Changes:
Thanks to: @ondrejmirtes @xerkus @hannsen
For a full diff see [afd6fd9...0.1][afd6fd9...0.1].
For a full diff see afd6fd9...0.1.
One column per quarter.