mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
Minor fixes
This commit is contained in:
parent
851121b48c
commit
bd33348206
@ -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)) {
|
||||
|
@ -437,6 +437,7 @@ final class MethodGetCompletionItemsForClassishThingTest extends TestCase
|
||||
'magicObjProp1',
|
||||
'magicObjProp2',
|
||||
|
||||
'magicStaticMethod',
|
||||
'magicObjMethod',
|
||||
|
||||
'publicObjProp',
|
||||
|
@ -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__),
|
||||
|
Loading…
Reference in New Issue
Block a user