1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 10:07:52 +01:00

Minor fixes

This commit is contained in:
Daniil Gentili 2023-11-27 13:23:52 +01:00
parent 851121b48c
commit bd33348206
3 changed files with 2 additions and 7 deletions

View File

@ -1593,12 +1593,6 @@ final class Codebase
error_log($e->getMessage());
}
}
if ($gap === '->') {
$method_storages += $class_storage->pseudo_methods;
}
if ($gap === '::') {
$method_storages += $class_storage->pseudo_static_methods;
}
foreach ($method_storages as $method_storage) {
if (!in_array($method_storage->visibility, $allow_visibilities)) {

View File

@ -437,6 +437,7 @@ final class MethodGetCompletionItemsForClassishThingTest extends TestCase
'magicObjProp1',
'magicObjProp2',
'magicStaticMethod',
'magicObjMethod',
'publicObjProp',

View File

@ -222,7 +222,7 @@ class StubTest extends TestCase
public function testStubFileParentClass(): void
{
$this->expectException(CodeException::class);
$this->expectExceptionMessage('MethodSignatureMismatch');
$this->expectExceptionMessage('ImplementedParamTypeMismatch');
$this->project_analyzer = $this->getProjectAnalyzerWithConfig(
TestConfig::loadFromXML(
dirname(__DIR__),