phpdoc-parser/tests/PHPStan
Richard van Velzen 445ccb723c
Support conditional types
* Support conditional types

Part of implementation for phpstan/phpstan#3853

* Add fuzzy tests

* Only support "is" / "is not"

* Rename trueType/falseType to if/else

* Add tests to TypeParserTest

* cs

* Only allow parenthesized conditional types

* Remove multiline support

It'll be easier to implement this for more types properly separately

* Support conditional for parameters
2022-03-28 12:50:35 +02:00
..
Ast Update dependency slevomat/coding-standard to v7 2022-02-08 12:41:11 +01:00
Parser Support conditional types 2022-03-28 12:50:35 +02:00