Commit Graph

273 Commits

Author SHA1 Message Date
Ondrej Mirtes
e2b89c5119
Some extra tests for callable syntax 2020-02-27 02:26:54 +01:00
Ilija Tovilo
928179efc5 Fix parsing of [] in various cases - closes #36
* Array shapes
* Generics
* $this
* Nullables
2020-01-25 21:42:48 +01:00
Andreas Möller
1a80f73d97 Enhancement: Keep packages sorted in composer.json 2019-12-20 13:34:57 +01:00
Andreas Möller
62d2239276 Fix: Run 'composer normalize' 2019-12-20 13:34:57 +01:00
Andreas Möller
419cd68af3 Enhancement: Run ergebnis/composer-normalize in check target 2019-12-20 13:34:57 +01:00
Ondrej Mirtes
a6d1352464
Fix @var tag with $this 2019-12-13 13:03:22 +01:00
Ondrej Mirtes
0331e880c0
Reserve @use for generic traits instead of @uses (which already has meaning in PHP projects) 2019-12-05 21:43:52 +01:00
Ondrej Mirtes
51a9bf6f56
More understandable parser error message 2019-11-21 21:52:51 +01:00
Ondrej Mirtes
62c6de624f
@template T as bound 2019-11-18 23:11:38 +01:00
Arnaud Le Blanc
3edb51540b Add @template-covariant support 2019-11-07 10:39:17 +01:00
Max Loeb
18b0e92b63 lint 2019-10-26 21:40:39 +02:00
Max Loeb
9186b5f8aa lint 2019-10-26 21:40:39 +02:00
Max Loeb
8a1b0c7090 commas on next line 2019-10-26 21:40:39 +02:00
Max Loeb
e81bfd8679 support trailing commas 2019-10-26 21:40:39 +02:00
Max Loeb
f9e4a3b8cb single comma 2019-10-26 21:40:39 +02:00
Max Loeb
487a6975be add test with asterisks 2019-10-26 21:40:39 +02:00
Max Loeb
cbcf081a8c explicit null check 2019-10-26 21:40:39 +02:00
Max Loeb
15677da35a fix unrelated phpstan error 2019-10-26 21:40:39 +02:00
Max Loeb
c8ffa3e787 consume newlines 2019-10-26 21:40:39 +02:00
Jan Tvrdik
b23fbb14d5 PhpDocParser: support phpstan and psalm prefixes 2019-10-06 14:45:32 +02:00
Jan Tvrdik
b3040ade88 TemplateTagValueNode: $bound is nullable 2019-10-06 13:28:39 +02:00
Ondrej Mirtes
3e956143ed
Support class-string 2019-09-25 14:33:43 +02:00
Ondrej Mirtes
3067163e45
No need for test lowest dependencies anymore 2019-09-16 21:37:16 +02:00
Ondrej Mirtes
48340dcad0
Skip PHPCS on PHP 7.4 2019-09-16 21:36:39 +02:00
Ondrej Mirtes
e65b5533c7
Strict rules 2019-09-16 21:24:59 +02:00
Ondrej Mirtes
970951eef0
Issue workaround 2019-09-16 21:24:59 +02:00
Andrey Bolonin
f461deba8e add php 7.4snapshot 2019-07-16 13:52:32 +02:00
Ondrej Mirtes
2b0db7c2c3
Updated PHPStan 2019-07-16 13:14:05 +02:00
Ondrej Mirtes
f6ab3f88c4
Open 0.4-dev 2019-07-16 12:59:42 +02:00
Arnaud Le Blanc
14346cb8b0 Support @extends, @implements, @uses 2019-07-16 12:48:12 +02:00
Arnaud Le Blanc
8c4ef2aefd Add parse error test 2019-06-07 21:13:52 +02:00
Arnaud Le Blanc
9b27b84656 Allow only identifiers and integers in keys 2019-06-07 21:13:52 +02:00
Arnaud Le Blanc
12324c4f51 Add parse error test 2019-06-07 21:13:52 +02:00
Arnaud Le Blanc
1e2a8ece06 Disallow whitespaces between 'array' and '{' 2019-06-07 21:13:52 +02:00
Arnaud Le Blanc
c6ffc4b4f1 Array shapes support 2019-06-07 21:13:52 +02:00
Matt Glaman
ab518a5fc8 Fix skipped new lines 2019-05-28 13:40:00 +02:00
Matt Glaman
13d62b8980 Use "\n" 2019-05-28 13:40:00 +02:00
Matt Glaman
671e1a2060 Fix and remove heredoc 2019-05-28 13:40:00 +02:00
Matt Glaman
16cfaee78c Add a real world example 2019-05-28 13:40:00 +02:00
Matt Glaman
21b93d83c8 Support multiple line descriptions for all tags 2019-05-28 13:40:00 +02:00
Matt Glaman
deaac7cd4b Combine multiple line deprecation messages 2019-05-28 13:40:00 +02:00
Arnaud Le Blanc
847540a54b Support @template tag 2019-05-21 18:44:01 +02:00
Ondrej Mirtes
472d3161d2
Missing method getDeprecatedTagValues() 2019-04-23 22:26:19 +02:00
Ondrej Mirtes
9558a70daa
Description is required (but might be empty) 2019-04-23 21:35:00 +02:00
Matt Glaman
7b3174616b
Support deprecated tags 2019-04-23 21:28:36 +02:00
Ondrej Mirtes
a3dbd6c257
Updated coding standard 2019-04-23 21:27:03 +02:00
Adam Žurek
c46bef1f1b travis: run on php 7.3 (#22) 2019-03-15 22:11:02 +01:00
Jaroslav Hanslík
f5169aba2c ParamTagValueNode: fix phpdoc for $parameterName (#20)
`@param` tag without parameter name is not supported so `$parameterName` cannot be empty string
2019-01-15 10:36:37 +01:00
Ondrej Mirtes
2cc49f47c6
Made PhpDocParser::parseTagValue() public 2019-01-14 13:26:23 +01:00
Ondrej Mirtes
b14768bf61
PHPStan 0.10 is stable 2019-01-14 13:26:07 +01:00