Releases: psalm/psalm-plugin-phpunit
Releases · psalm/psalm-plugin-phpunit
Use less-strict checks when encountering mixed types
0.6.0 Split checks out into separate functions
Fix refs
Bump version req to PHP 7.1
Merge pull request #31 from psalm/bump-package-versions Bump package versions
Improve message for invalid provider
0.5.6 Fix bad call
Improve handling for PossiblyUnusedMethod
This release allows PossiblyUnusedMethod to be ignored in --diff
and threaded mode
Fix crashes with untyped provided-for params
0.5.4 Don’t crash when provider param type is null
Fixed crashes with untyped providers and failures with const default values
Fixed checks of variadic test methods
Fixed handling of inherited initializer and providers/tests in traits
Data providers checks and typed expectException
Features
expectException
now requiresclass-string
(useException\Name::class
), unlessallowCoercionFromStringToClassConst
is enabled- MissingConstructor is now suppressed for all tests having initializers (
setUp
or methods marked with@before
) - Data providers are now checked for presence and compatibility with test method they are used for
- Test methods are now never reported as unused
- Used data providers are now never reported as unused
- Unused data providers are reported
Breaking changes
- Dropped support for PHPUnit 5.x (versions from 6.x through 8.x are now supported)
- Dropped support for Psalm versions before 3.0.13