Valinor/tests/Unit/Definition/Repository
Romain Canon 56142dea5b feat: handle local type aliasing in class definition
Type aliases can now be added to a class definition.

Both PHPStan and Psalm syntax are handled.

```php
/**
 * @phpstan-type SomeTypeAlias = array{foo: string}
 * @psalm-type SomeOtherTypeAlias = array{bar: int}
 */
final class SomeClass
{
    /** @var SomeTypeAlias */
    public array $someTypeAlias;

    /** @var SomeOtherTypeAlias */
    public array $someOtherTypeAlias;
}
```
2021-12-07 18:20:04 +01:00
..
Cache feat: initial release 2021-11-28 18:21:56 +01:00
Reflection feat: handle local type aliasing in class definition 2021-12-07 18:20:04 +01:00