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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport