Skip to content

Releases: psalm/psalm-plugin-phpunit

Fix staticness of assertSame/assertNotSame

01 Apr 21:24
ebfae6c
Compare
Choose a tag to compare

Fixed

  • (#50) public static was missing from signatures of assertSame()/assertNotSame() (thanks @snapshotpl)

Fix false positive UndefinedClass for external data providers

30 Mar 10:58
30b2242
Compare
Choose a tag to compare

Fixed

  • (#57, #58) External data providers were mistakenly reported missing when Psalm was run on a single test file

Make compatible with latest Psalm

15 Feb 02:44
496c08f
Compare
Choose a tag to compare
0.9.0

Add string cast

External data providers

10 Jan 00:43
021eb5a
Compare
Choose a tag to compare

Features

  • Added support for external data providers (@dataProvider \Some\External\Class::providerMethod) (#45, #44)
  • Added support for providers returning list: @return iterable<list<type>>

Fixed single-line docblock parsing

06 Dec 01:39
1dcd8ff
Compare
Choose a tag to compare

Breaking changes

  • Minimum Psalm version is 3.6.2 now

Fixes

  • Fixed single-line docblock parsing (#38)

Fix crash on invalid psalm annotations

10 Jul 22:26
69aaf6b
Compare
Choose a tag to compare

Fixes

  • Fixed crash on invalid @psalm-* annotation (#37)
  • Fixed sticky provider usage (Psalm/plugin failed to mark providers as unused when corresponding @dataProvider annotations were dropped)

Changes

  • Dropped legacy compatibility layer

Breaking changes

  • Minimum Psalm version is 3.2.11 now

Use less-strict checks when encountering mixed types

20 May 17:55
Compare
Choose a tag to compare
0.6.0

Split checks out into separate functions

Fix refs

16 May 22:26
Compare
Choose a tag to compare
0.5.8

Fix version method

Bump version req to PHP 7.1

16 May 22:07
34d1373
Compare
Choose a tag to compare
Merge pull request #31 from psalm/bump-package-versions

Bump package versions

Improve message for invalid provider

14 May 18:33
bda2f27
Compare
Choose a tag to compare