typhoon
typhoon copied to clipboard
Ultimate type system and reflection for PHP
I think, that this should be an opt-in behavior. By default node might be available only in hooks.
- [ ] soft type warnings via logger - [x] add recursive replacer test that checks types are equal - [x] mark more constructors internal - [ ] extract simple...
+ skip `if (false) { class X {} }` that Symfony likes a lot.
```php /** * @psalm-type A = B * @psalm-type B = self::MIN */ final class MyClass { public const MIN = -100; public const MAX = 200; public const MASK_1...
``` callable(T): T @type A = array{T} ```
- [x] Comparison table for types (Psalm|PHPStan|Typhoon) - [ ] A note about class/functions name case sensitivity and realpath for anonymous classes/functions
Handling of multiple anonymous classes on the same line (8dafbbf0aa6b6af1dfe53c4818bfe6af8373c29e) could be moved there.