Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpstan Prophecy Laravel Package

jangregor/phpstan-prophecy

PHPStan extension for phpspec/prophecy that improves type inference in tests. It teaches PHPStan the real types returned from Prophecy workflows like prophesize(), willExtend(), and reveal(), so your revealed doubles are understood as the mocked class.

View on GitHub
Deep Wiki
Context7
`1.0.0`

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]
`0.8.1`

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]
`0.8.0`

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
    
`0.7.0`

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](https://github.com/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]
`0.6.2`

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]
`0.6.1`

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]
`0.6.0`

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

Added

`0.5.1`

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]
`0.5.0`

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

Added

`0.4`

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

`0.4.2`

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

`0.4.1`

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

`0.3.0`

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

`0.2.0`

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

`0.1.2`

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

`0.1.1`

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

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope