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:
Bruce Weirdan 2019-02-18 18:16:13 +02:00
parent ab2a87ee3c
commit d9277bb993
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
], ],
"require": { "require": {
"phpunit/phpunit": "^6.0 || ^7.0 || ^8.0", "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", "composer/semver": "^1.4",
"muglug/package-versions-56": "^1.2" "muglug/package-versions-56": "^1.2"
}, },

View File

@ -157,7 +157,7 @@ Feature: TestCase
* @dataProvider provide * @dataProvider provide
*/ */
public function testSomething($int) { public function testSomething($int) {
$this->assertIsInt($int); $this->assertEquals(1, $int);
} }
} }
new MyTestCase; new MyTestCase;