dantleech

Results 216 issues of dantleech

- Generate setUp method - Generate tearDown method - New test method - New data provider test

Update code actions to use the `kinds` defined here: https://code.visualstudio.com/api/references/vscode-api#CodeActionKind

enhancement

When refactoring for an upgrade it's useful to rename classes that no longer exist.

enhancement

Currently the only method on `ObjectProphecy` is `reveal`

feature

We have introduced a `CacheForDocument` class which allows per-file caches. This works fine for things like diagnostics which operate on a text document -- but not when refleting classes with...

enhancement
Performance

``` $var = 'foobar'; $this->call($var); ``` to: ``` $this->call('foobar'); ```

feature
code action

Operations for searching for references or renaming symbols are almost always concerned with the current project's source code and NOT the `vendor` libraries. Currently we search the index of both...

enhancement

where `$this->types` is `Type[]` ``` $newTypes = []; foreach ($this->types as $type1) { foreach ($this->types as $type2) { if ($type1 === $type2) { continue; } $type1; // undefined if ($type1->consumes($type2))...

bug