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.
For 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]For a full diff see [0.8.0...0.8.1][0.8.0...0.8.1].
For 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].
src/extension.neon to extension.neon ([#140]), by [@localheinz][@internal](https://github.com/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].
phpunit/phpunit:^9 ([#124]), by [@localheinz]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].
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].
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].
phpstan/phpstan:~0.12.2 ([#67]), by [@localheinz] and [@PedroTroller]For a full diff see [0.3.0...0.4][0.3.0...0.4].
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.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.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].
How can I help you explore Laravel packages today?