Skip to content

Releases: psalm/psalm-plugin-phpunit

Fixed crash with non-iterable data providers

23 Jan 21:36
30ca25c
Compare
Choose a tag to compare

Fixes

  • The plugin no longer crashes when it encounters non-iterable return type on a data provider (#105, #106)

Compatibility with exotic setups

10 Dec 22:55
a7c0014
Compare
Choose a tag to compare

Features

  • The plugin can now be used with PHPUnit installed in a non-standard location (#103, thanks @VincentLanglet)

Fixes

  • Crash with missing test parameter type and a data provider returning tuples (#104, #102)

Support PHP 7.1 again

08 Dec 22:27
f5147be
Compare
Choose a tag to compare
Merge pull request #99 from weirdan/suppress-redundant-casts

Suppressed redundant casts emitted by newest Psalm

Support Psalm 4.x

19 Oct 13:00
e006914
Compare
Choose a tag to compare
0.13.0

Allow 4.0

Remove use of @template-typeof

28 Sep 17:26
85ee5a0
Compare
Choose a tag to compare

This also allows the plugin to be installed in PHP 8 using composer

Support Psalm 4.x dev branch

30 Aug 16:31
fca9b22
Compare
Choose a tag to compare
0.12.1

Support 4.x dev branch

Use PHPUnit's own docblock assertions where possible

30 Aug 16:20
4d82449
Compare
Choose a tag to compare
Only use legacy stub file for old versions of PHPUnit

Fixes #86

Added support for `phpspec/prophecy-phpunit`

24 Aug 21:09
d3f5c00
Compare
Choose a tag to compare

Added

This release adds support for phpspec/prophecy-phpunit (forward-compatible integration between PHPUnit and Prophecy). Also @ktomk added definitions for TestCase::createConfiguredMock() and TestCase::createPartialMock().

BC Breaks

Dependency on ocramius/package-versions was replaced with composer/package-versions-deprecated, which is 100% compatible replacement. If you get conflicts upgrading to this version, which may happen if you have direct dependency on ocramius/package-versions, replace it with composer/package-versions-deprecated.

Other changes

@vladyslavstartsev performed some intenal cleanup.

Fix Argument::that() signature

24 May 20:34
138998f
Compare
Choose a tag to compare

Fixed

  • (#72 / #73 ) Argument::that() calls with closure accepting any parameters were erroneously marked as invalid (thanks @mr-feek)

Drop PHPUnit <7.5 support

05 Apr 23:08
12b3978
Compare
Choose a tag to compare

This is a housekeeping release, dropping old stuff and providing a cleaner state to go forward from.

Removed

  • Support for PHPUnit 7.5 was dropped