Vladislav Kosev

Results 55 issues of Vladislav Kosev

That setup: ```php public static function setUpBeforeClass(): void { ... some code ... } ``` should generate a static method, not an instance one.

bug

In this issue the problem was that the stub_paths was overwritten, removing the PHPStorm stubs. Adding custom stubs is a common enough operation and should probably have a dedicated config...

feature

If we have these two traits: ```php trait ORMHelperTrait { protected abstract function getContainer(): ContainerInterface; protected abstract function getEntityManager(): EntityManagerInterface; public function getEntityRepo(string $entityName): ObjectRepository { $em = $this->getEntityManager(); return...

When here: ```php function __construct() { parent:: } ``` no completions are suggested. I expect the `__construct` to be suggested. _(Not sure if that is not reported somewhere)_

That method `children()` is in the completor list, but `WorseMissingMethodFinder` (I think) is saying it doesn't exist. ![image](https://user-images.githubusercontent.com/12109622/118237732-44626c00-b4a0-11eb-971b-e02e29c7cd6d.png) I wonder if its because of the union return value? ![image](https://user-images.githubusercontent.com/12109622/118237852-66f48500-b4a0-11eb-8886-3a804b13773a.png) The...

For some reason I started having missing entries from the index. Currently most of them are from text-document package. This is what querying the index returns: ``` Class:Phpactor\TextDocument\TextDocumentUri Path: Implements:...

In the following scenario (the mouse is on the red circle): ![image](https://user-images.githubusercontent.com/12109622/111166732-113b5380-85a9-11eb-8507-c56f28c7373d.png) the hint is displayed on the definition up on the screen. The problem with that is (except it...

When using imported constants: ```php use const CleverTogether\Bundle\ServiceBundle\Expressions\Conditions\in; ``` They appear neither in the completion nor in tooltips: ![image](https://user-images.githubusercontent.com/12109622/107739483-a250ad80-6d11-11eb-814e-6e1cd2cdd0b7.png)

When having this: ![image](https://user-images.githubusercontent.com/12109622/104282070-24517a80-54b7-11eb-95ad-7b89f6cd2d9e.png) `Tab` makes the code like this: ```php self::$$container ```

This case is not detected as a variable initialisation: ```php [ [ $var1 ] ] = someFuncReturningArrayOfArray(); ``` Probably the way to go would be to find _all_ variable nodes...