-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
The following error occours:
ERROR: MissingDependency - tests/myTest.php - PHPUnit\Framework\MockObject\Builder\InvocationMocker depends on class or interface phpunit\framework\mockobject\builder\parametersmatch that does not exist (see https://psalm.dev/157)
$aMock->expects($this->never())The components from error
vendor/phpunit/phpunit/src/Framework/MockObject/Builder/
├── Identity.php
├── InvocationMocker.php
├── InvocationStubber.php
├── Match.php
├── MethodNameMatch.php
├── ParametersMatch.php
└── Stub.php
0 directories, 7 files
Psalm.xml config
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>Info
- Psalm version:
Psalm 3.12.2@7c7ebd068f8acaba211d4a2c707c4ba90874fa26 - PHPUnit version:
"phpunit/phpunit": "^9.1.4" - PHPUnit plugin psalm:
"psalm/plugin-phpunit": "^0.10.1"
Metadata
Metadata
Assignees
Labels
No labels