PackageTrack
Sign in Get early access

jangregor/phpstan-prophecy

Provides a phpstan/phpstan extension for phpspec/prophecy

2.3.0 21M downloads/mo #1104 most downloaded on Packagist Jan0707/phpstan-prophecy

What this package is like to depend on

Last release 6 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

1 release in the last 12 months

see the full history below

Release timeline

24 releases · Dec 2017 to Feb 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 24
  1. 2.3.0 10 Feb 2026
    Release notes

    What's Changed

    • github-actions(deps): Bump shivammathur/setup-php from 2.33.0 to 2.34.0 by @dependabot[bot] in #387
    • github-actions(deps): Bump shivammathur/setup-php from 2.34.0 to 2.34.1 by @dependabot[bot] in #388
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.46.0 to 6.50.0 by @dependabot[bot] in #390
    • github-actions(deps): Bump shivammathur/setup-php from 2.34.1 to 2.35.1 by @dependabot[bot] in #391
    • github-actions(deps): Bump shivammathur/setup-php from 2.35.1 to 2.35.2 by @dependabot[bot] in #392
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.50.0 to 6.51.0 by @dependabot[bot] in #393
    • github-actions(deps): Bump shivammathur/setup-php from 2.35.2 to 2.35.3 by @dependabot[bot] in #394
    • github-actions(deps): Bump actions/checkout from 4 to 5 by @dependabot[bot] in #395
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.51.0 to 6.52.0 by @dependabot[bot] in #396
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.52.0 to 6.53.0 by @dependabot[bot] in #397
    • github-actions(deps): Bump shivammathur/setup-php from 2.35.3 to 2.35.4 by @dependabot[bot] in #398
    • composer(deps-dev): Bump ergebnis/license from 2.6.0 to 2.7.0 by @dependabot[bot] in #399
    • composer(deps-dev): Bump ergebnis/composer-normalize from 2.47.0 to 2.48.1 by @dependabot[bot] in #400
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.53.0 to 6.54.0 by @dependabot[bot] in #401
    • github-actions(deps): Bump actions/github-script from 7 to 8 by @dependabot[bot] in #402
    • composer(deps-dev): bump ergebnis/composer-normalize from 2.48.1 to 2.48.2 by @dependabot[bot] in #403
    • github-actions(deps): Bump shivammathur/setup-php from 2.35.4 to 2.35.5 by @dependabot[bot] in #404
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.54.0 to 6.55.0 by @dependabot[bot] in #405
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.55.0 to 6.56.0 by @dependabot[bot] in #406
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.56.0 to 6.56.1 by @dependabot[bot] in #407
    • github-actions(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #408
    • github-actions(deps): bump shivammathur/setup-php from 2.35.5 to 2.36.0 by @dependabot[bot] in #409
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.56.1 to 6.57.0 by @dependabot[bot] in #410
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.57.0 to 6.57.1 by @dependabot[bot] in #411
    • github-actions(deps): bump actions/cache from 4 to 5 by @dependabot[bot] in #412
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.57.1 to 6.58.0 by @dependabot[bot] in #413
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.58.0 to 6.58.1 by @dependabot[bot] in #414
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.58.1 to 6.58.2 by @dependabot[bot] in #415
    • composer(deps-dev): bump ergebnis/composer-normalize from 2.48.2 to 2.49.0 by @dependabot[bot] in #416
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.58.2 to 6.59.0 by @dependabot[bot] in #417
    • composer(deps-dev): bump symfony/process from 5.4.47 to 5.4.51 by @dependabot[bot] in #418
    • composer(deps-dev): bump ergebnis/composer-normalize from 2.49.0 to 2.50.0 by @dependabot[bot] in #420
    • Allow usage with PHPUnit 13 🎉 by @alexander-schranz in #419

    Full Changelog: 2.2.0...2.3.0

    Open source →
  2. 2.2.0 22 May 2025
    Release notes

    What's Changed

    • Allow PHPUnit 12 🎉 by @Jean85 in #364
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.42.3 to 6.43.0 by @dependabot in #377
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.43.0 to 6.44.0 by @dependabot in #378
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.44.0 to 6.44.1 by @dependabot in #379
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.44.1 to 6.45.0 by @dependabot in #380
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.45.0 to 6.46.0 by @dependabot in #382
    • composer(deps-dev): Bump ergebnis/composer-normalize from 2.45.0 to 2.46.0 by @dependabot in #383
    • github-actions(deps): Bump shivammathur/setup-php from 2.32.0 to 2.33.0 by @dependabot in #384
    • composer(deps-dev): Bump ergebnis/composer-normalize from 2.46.0 to 2.47.0 by @dependabot in #385
    • Revert "Workaround to include phpspec/prophecy-phpunit#67" by @Jean85 in #386

    Full Changelog: 2.1.1...2.2.0

    Open source →
  3. 2.1.1 13 Feb 2025
    Release notes

    What's Changed

    Recommend update phpstan and all its extension via:

    composer update "*phpstan*"

    Full Changelog: 2.1.0...2.1.1

    Open source →
  4. 2.1.0 13 Feb 2025
    Release notes

    What's Changed

    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

    Open source →
  5. 2.0.0 21 Nov 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.0.2...2.0.0

    Open source →
  6. 1.0.2 03 Apr 2024
    Release notes

    What's Changed

    Full Changelog: 1.0.1...1.0.2

    Open source →
  7. 1.0.1 01 Apr 2024
    Release notes

    This tag should fix problems

    What's Changed (autogenerated)

    • Remove unnecessary $ by @RusiPapazov in #277
    • github-actions(deps): bump actions/cache from 2.1.6 to 2.1.7 by @dependabot in #276
    • github-actions(deps): bump actions/github-script from 5 to 6 by @dependabot in #282
    • github-actions(deps): bump shivammathur/setup-php from 2.15.0 to 2.17.1 by @dependabot in #283
    • github-actions(deps): bump actions/checkout from 2.4.0 to 3 by @dependabot in #284
    • github-actions(deps): bump ibiqlik/action-yamllint from 3.0.1 to 3.1 by @dependabot in #275
    • github-actions(deps): bump actions/cache from 2.1.7 to 3 by @dependabot in #286
    • github-actions(deps): bump shivammathur/setup-php from 2.17.1 to 2.18.0 by @dependabot in #287
    • github-actions(deps): bump shivammathur/setup-php from 2.18.0 to 2.18.1 by @dependabot in #288
    • github-actions(deps): bump shivammathur/setup-php from 2.18.1 to 2.19.0 by @dependabot in #289
    • github-actions(deps): bump shivammathur/setup-php from 2.19.0 to 2.19.1 by @dependabot in #290
    • Fix: Allow ergebnis/composer-normalize to run as composer plugin by @localheinz in #293
    • github-actions(deps): bump shivammathur/setup-php from 2.19.1 to 2.20.1 by @dependabot in #292
    • Force PHP syntax highlight for stub files by @szepeviktor in #294
    • github-actions(deps): bump shivammathur/setup-php from 2.20.1 to 2.21.0 by @dependabot in #295
    • github-actions(deps): bump shivammathur/setup-php from 2.21.0 to 2.21.1 by @dependabot in #296
    • github-actions(deps): bump shivammathur/setup-php from 2.21.1 to 2.21.2 by @dependabot in #297
    • github-actions(deps): Bump shivammathur/setup-php from 2.21.2 to 2.22.0 by @dependabot in #299
    • github-actions(deps): Bump shivammathur/setup-php from 2.22.0 to 2.23.0 by @dependabot in #300
    • github-actions(deps): Bump shivammathur/setup-php from 2.23.0 to 2.24.0 by @dependabot in #301
    • github-actions(deps): Bump shivammathur/setup-php from 2.24.0 to 2.25.0 by @dependabot in #302
    • github-actions(deps): Bump shivammathur/setup-php from 2.25.0 to 2.25.1 by @dependabot in #303
    • github-actions(deps): Bump shivammathur/setup-php from 2.25.1 to 2.25.2 by @dependabot in #304
    • github-actions(deps): Bump shivammathur/setup-php from 2.25.2 to 2.25.4 by @dependabot in #305
    • github-actions(deps): Bump shivammathur/setup-php from 2.25.4 to 2.25.5 by @dependabot in #306
    • github-actions(deps): Bump actions/checkout from 3 to 4 by @dependabot in #307
    • github-actions(deps): Bump shivammathur/setup-php from 2.25.5 to 2.26.0 by @dependabot in #308
    • github-actions(deps): Bump shivammathur/setup-php from 2.26.0 to 2.27.0 by @dependabot in #311
    • github-actions(deps): Bump shivammathur/setup-php from 2.27.0 to 2.27.1 by @dependabot in #312
    • github-actions(deps): Bump actions/github-script from 6 to 7 by @dependabot in #313
    • github-actions(deps): Bump shivammathur/setup-php from 2.27.1 to 2.28.0 by @dependabot in #314
    • github-actions(deps): Bump shivammathur/setup-php from 2.28.0 to 2.29.0 by @dependabot in #318
    • github-actions(deps): Bump actions/cache from 3 to 4 by @dependabot in #319
    • Fix: Do not bother creating directories by @localheinz in #320
    • Fix: Run tests on PHP 7.1 by @localheinz in #322
    • Fix: Expand matrix for static-code-analysis job by @localheinz in #323
    • Fix: Configure platform in composer.json by @localheinz in #321
    • Fix phpspec/prophecy link label by @InvisibleSmiley in #317
    • github-actions(deps): Bump shivammathur/setup-php from 2.29.0 to 2.30.0 by @dependabot in #326
    • Fix internal phpstan error by @jseparovic1 in #316
    • Remove problematic test case by @jseparovic1 in #328
    • github-actions(deps): Bump shivammathur/setup-php from 2.30.0 to 2.30.1 by @dependabot in #329
    • Fix conflict version constraint by @alexander-schranz in #332
    • github-actions(deps): Bump shivammathur/setup-php from 2.30.1 to 2.30.2 by @dependabot in #333

    New Contributors

    Full Changelog: 1.0.0...1.1.0

    Open source →
  8. 1.0.0 08 Nov 2021
    Release notes
    • Enhancement: Synchronize with ergebnis/php-library-template (#239), by @localheinz
    • github-actions(deps): bump actions/checkout from v2.3.3 to v2.3.4 (#240), by @dependabot[bot]
    • github-actions(deps): bump ibiqlik/action-yamllint from v2.0.0 to v3 (#242), by @dependabot[bot]
    • github-actions(deps): bump actions/cache from v2.1.2 to v2.1.3 (#241), by @dependabot[bot]
    • github-actions(deps): bump actions/github-script from v3.0.0 to v3.1 (#243), by @dependabot[bot]
    • github-actions(deps): bump shivammathur/setup-php from 2.7.0 to 2.8.0 (#244), by @dependabot[bot]
    • github-actions(deps): bump shivammathur/setup-php from 2.8.0 to 2.9.0 (#245), by @dependabot[bot]
    • github-actions(deps): bump actions/cache from v2.1.3 to v2.1.4 (#246), by @dependabot[bot]
    • github-actions(deps): bump shivammathur/setup-php from 2.9.0 to 2.10.0 (#247), by @dependabot[bot]
    • Fix: Adjust usage of octokit (#268), by @localheinz
    • Fix: Avoid use of acronyms (#269), by @localheinz
    • github-actions(deps): bump actions/github-script from 3.1 to 5 (#262), by @dependabot[bot]
    • Enhancement: Restore auto-merge of dependabot pull requests (#270), by @localheinz
    • Fix: Add badges (#271), by @localheinz
    • github-actions(deps): bump ibiqlik/action-yamllint from 3 to 3.0.1 (#255), by @dependabot[bot]
    • Fix: Split condition (#272), by @localheinz
    • Fix: Path to baselines (#273), by @localheinz
    • Fix: Reference (#274), by @localheinz
    • github-actions(deps): bump actions/cache from 2.1.4 to 2.1.6 (#256), by @dependabot[bot]
    • github-actions(deps): bump shivammathur/setup-php from 2.10.0 to 2.15.0 (#263), by @dependabot[bot]
    • github-actions(deps): bump actions/checkout from 2.3.4 to 2.4.0 (#267), by @dependabot[bot]
    • Add support for phpstan 1.0 (#266), by @alexander-schranz
    Open source →
    Release notes

    For a full diff see [0.8.1...1.0.0][0.8.1...1.0.0].

    Changed

    • Added support for phpstan/phpstan:^1.0.0 and dropped support for non-stable versions of phpstan/phpstan ([#266]), by [@alexander-schranz]
    Open source →
  9. 0.8.1 24 Oct 2020
    Release notes
    • Fix: Reference (#183), by @localheinz
    • Enhancement: Use dependabot (#111), by @localheinz
    • Enhancement: Automatically merge pull requests created by Dependabot (#187), by @localheinz
    • Build(deps-dev): Bump ergebnis/php-cs-fixer-config from 1.1.3 to 2.1.2 (#186), by @dependabot[bot]
    • Build(deps): Bump actions/cache from v1 to v2 (#185), by @dependabot[bot]
    • Build(deps-dev): Bump ergebnis/php-cs-fixer-config from 2.1.2 to 2.2.0 (#193), by @dependabot[bot]
    • Build(deps-dev): Bump ergebnis/php-cs-fixer-config from 2.2.0 to 2.2.1 (#196), by @dependabot[bot]
    • Build(deps): Bump actions/checkout from v2 to v2.3.0 (#190), by @dependabot[bot]
    • Build(deps-dev): Bump ergebnis/composer-normalize from 2.5.1 to 2.6.0 (#200), by @dependabot[bot]
    • Build(deps-dev): Bump ergebnis/composer-normalize from 2.6.0 to 2.6.1 (#202), by @dependabot[bot]
    • Build(deps-dev): Bump ergebnis/composer-normalize from 2.6.1 to 2.7.0 (#211), by @dependabot[bot]
    • Build(deps-dev): Bump ergebnis/composer-normalize from 2.7.0 to 2.7.1 (#213), by @dependabot[bot]
    • Build(deps-dev): Bump ergebnis/composer-normalize from 2.7.1 to 2.8.0 (#219), by @dependabot[bot]
    • Update phpstan/phpstan from 0.12.25 to 0.12.51 (#231), by @violinist-bot
    • Build(deps): Bump actions/github-script from v2 to v3 (#215), by @dependabot[bot]
    • Build(deps): Bump actions/checkout from v2.3.0 to v2.3.3 (#222), by @dependabot[bot]
    • Enhancement: Synchronize with ergebnis/php-library-template (#232), by @localheinz
    • Fix: Close pull requests opened by @violinist-bot (#233), by @localheinz
    • Fix: Use appropriate secret (#234), by @localheinz
    • Fix: Use pull_request_target (#235), by @localheinz
    • Enhancement: Allow installation with PHP 8.0 (#236), by @localheinz
    Open source →
    Release notes

    For a full diff see [0.8.0...0.8.1][0.8.0...0.8.1].

    Changed

    • Allowed installation with PHP 8.0 ([#236]), by [@localheinz]
    Open source →
  10. 0.8.0 12 May 2020
    Release notes
    Open source →
    Release notes

    For a full diff see [0.7.0...0.8.0][0.7.0...0.8.0].

    Removed

    • 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
      
    Open source →
  11. 0.7.0 08 May 2020
    Release notes

    For a full diff see [0.6.2...0.7.0][0.6.2...0.7.0].

    Changed

    • Moved src/extension.neon to extension.neon ([#140]), by [@localheinz]
    • Marked classes as @internal ([#144]), by [@localheinz]
    • Moved and renamed internal classes ([#153]), by [@localheinz]
    • Required phpstan/phpstan:~0.12.6 ([#165]), by [@Jean85]
    • Simplified extension by making use of generics ([#165]), by [@Jean85] and [@ondrejmirtes]
    Open source →
  12. 0.6.2 17 Feb 2020
    Release notes

    For a full diff see [0.6.1...0.6.2][0.6.1...0.6.2].

    Fixed

    • Allowed installation with phpunit/phpunit:^9 ([#124]), by [@localheinz]
    Open source →
  13. 0.6.1 05 Feb 2020
    Release notes

    For a full diff see [0.6.0...0.6.1][0.6.0...0.6.1].

    Changed

    • Marked classes as final ([#118]), by [@localheinz]
    • Modified return value of ObjectPropecyMethodReflection::hasSideEffects() as invoking methods on an instance of Prophecy\Prophecy\ObjectProphecy might have side effects ([#119]), by [@localheinz]
    Open source →
  14. 0.6.0 27 Dec 2019
    Release notes

    For a full diff see [0.5.1...0.6.0][0.5.1...0.6.0].

    Added

    • Support for willImplement() ([#92]), by [@localheinz]
    • Support for willExtend() ([#94]), by [@localheinz]
    Open source →
  15. 0.5.1 13 Dec 2019
    Release notes

    For a full diff see [0.5.0...0.5.1][0.5.0...0.5.1].

    Changed

    • Required at least phpstan/phpstan:^0.12.0 ([#79]), by [@localheinz]
    Open source →
  16. 0.5.0 13 Dec 2019
    Release notes

    For a full diff see [0.4.2...0.5.0][0.4.2...0.5.0].

    Added

    • Allowed installation with phpstan/phpstan:~0.12.2 ([#67]), by [@localheinz] and [@PedroTroller]
    Open source →
  17. 0.4.2 31 Jul 2019
    Release notes

    For a full diff see [0.4.1...0.4.2][0.4.1...0.4.2].

    Open source →
  18. 0.4.1 27 May 2019
    Release notes

    For a full diff see [0.4...0.4.1][0.4...0.4.1].

    Open source →
  19. 0.3.0 18 Jan 2019
    Release notes

    For a full diff see [0.2.0...0.3.0][0.2.0...0.3.0].

    Open source →
  20. 0.2.0 16 Jul 2018
    Release notes

    For a full diff see [0.1.2...0.2.0][0.1.2...0.2.0].

    Open source →
  21. 0.1.2 11 Jul 2018
    Release notes

    For a full diff see [0.1.1...0.1.2][0.1.1...0.1.2].

    Open source →
  22. 0.1.1 14 Feb 2018
    Release notes

    For a full diff see [0.1...0.1.1][0.1...0.1.1].

    Open source →
  23. 0.4 25 Apr 2019
    Release notes

    For a full diff see [0.3.0...0.4][0.3.0...0.4].

    Open source →
  24. 0.1 08 Dec 2017
    Release notes

    For a full diff see afd6fd9...0.1.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive