mirror of
https://github.com/danog/psalm.git
synced 2024-12-04 10:38:49 +01:00
Minor fixes
This commit is contained in:
parent
851121b48c
commit
bd33348206
@ -1593,12 +1593,6 @@ final class Codebase
|
|||||||
error_log($e->getMessage());
|
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) {
|
foreach ($method_storages as $method_storage) {
|
||||||
if (!in_array($method_storage->visibility, $allow_visibilities)) {
|
if (!in_array($method_storage->visibility, $allow_visibilities)) {
|
||||||
|
@ -437,6 +437,7 @@ final class MethodGetCompletionItemsForClassishThingTest extends TestCase
|
|||||||
'magicObjProp1',
|
'magicObjProp1',
|
||||||
'magicObjProp2',
|
'magicObjProp2',
|
||||||
|
|
||||||
|
'magicStaticMethod',
|
||||||
'magicObjMethod',
|
'magicObjMethod',
|
||||||
|
|
||||||
'publicObjProp',
|
'publicObjProp',
|
||||||
|
@ -222,7 +222,7 @@ class StubTest extends TestCase
|
|||||||
public function testStubFileParentClass(): void
|
public function testStubFileParentClass(): void
|
||||||
{
|
{
|
||||||
$this->expectException(CodeException::class);
|
$this->expectException(CodeException::class);
|
||||||
$this->expectExceptionMessage('MethodSignatureMismatch');
|
$this->expectExceptionMessage('ImplementedParamTypeMismatch');
|
||||||
$this->project_analyzer = $this->getProjectAnalyzerWithConfig(
|
$this->project_analyzer = $this->getProjectAnalyzerWithConfig(
|
||||||
TestConfig::loadFromXML(
|
TestConfig::loadFromXML(
|
||||||
dirname(__DIR__),
|
dirname(__DIR__),
|
||||||
|
Loading…
Reference in New Issue
Block a user