diff --git a/composer.json b/composer.json index bb6c656..63bb927 100755 --- a/composer.json +++ b/composer.json @@ -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", @@ -44,5 +44,10 @@ "cs-check": "phpcs -s", "cs-fix": "phpcbf", "test": "codecept run -v" + }, + "config": { + "allow-plugins": { + "composer/package-versions-deprecated": true + } } } diff --git a/tests/acceptance/PHPUnitIntegration.feature b/tests/acceptance/PHPUnitIntegration.feature index 3e435a2..9bab650 100644 --- a/tests/acceptance/PHPUnitIntegration.feature +++ b/tests/acceptance/PHPUnitIntegration.feature @@ -55,7 +55,7 @@ Feature: PHPUnitIntegration */ public function testSomething() { - $mock = Mockery::mock(\ArrayAccess::class); + $_mock = Mockery::mock(\ArrayAccess::class); } } """