Skip to content

Commit

Permalink
Merge pull request #28 from weirdan/fix-psalm-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan authored Nov 25, 2022
2 parents 5d22189 + 151bab5 commit eb11159
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"mockery/mockery": "^0.9 || ^1.0",
"vimeo/psalm": "dev-master || dev-4.x || ^4.5 || ^5@beta"
"vimeo/psalm": "dev-master || dev-4.x || ^4.7.1 || ^5@beta"
},
"require-dev": {
"codeception/codeception": "^4.0.3",
Expand Down Expand Up @@ -44,5 +44,10 @@
"cs-check": "phpcs -s",
"cs-fix": "phpcbf",
"test": "codecept run -v"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true
}
}
}
2 changes: 1 addition & 1 deletion tests/acceptance/PHPUnitIntegration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Feature: PHPUnitIntegration
*/
public function testSomething()
{
$mock = Mockery::mock(\ArrayAccess::class);
$_mock = Mockery::mock(\ArrayAccess::class);
}
}
"""
Expand Down

0 comments on commit eb11159

Please sign in to comment.