mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-26 20:15:08 +01:00
Bumped Psalm version to 3.0.10
Breaking change: minimum psalm version is now 3.0.10 (due to the hook interface added in that version) Also fixed test to be compatible with legacy PHPUnit
This commit is contained in:
parent
ab2a87ee3c
commit
d9277bb993
@ -11,7 +11,7 @@
|
||||
],
|
||||
"require": {
|
||||
"phpunit/phpunit": "^6.0 || ^7.0 || ^8.0",
|
||||
"vimeo/psalm": "^3.0.8 || dev-master",
|
||||
"vimeo/psalm": "^3.0.10 || dev-master",
|
||||
"composer/semver": "^1.4",
|
||||
"muglug/package-versions-56": "^1.2"
|
||||
},
|
||||
|
@ -157,7 +157,7 @@ Feature: TestCase
|
||||
* @dataProvider provide
|
||||
*/
|
||||
public function testSomething($int) {
|
||||
$this->assertIsInt($int);
|
||||
$this->assertEquals(1, $int);
|
||||
}
|
||||
}
|
||||
new MyTestCase;
|
||||
|
Loading…
Reference in New Issue
Block a user