Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
Alexey Egorov
341272afa0 PhpDocParserTest: fix wrong PhpDoc annotation (#17) 2018-08-09 13:08:42 +02:00
Jan Tvrdik
044411a92d TypeParser: add recovery from failure to parse callable type 2018-04-25 10:39:58 +02:00
Jan Tvrdik
5251b5b4d4 TypeParser: add support for callable types 2018-04-25 10:39:46 +02:00
Jan Tvrdik
7d6b297564 add FuzzyTest 2018-04-12 16:23:05 +02:00
Jan Tvrdik
958806cdce fix php 7.0 compatibility 2018-04-12 16:16:37 +02:00
Jan Tvrdik
f69d70526a ConstExprParserTest: improve readability 2018-04-12 11:49:12 +02:00
Jan Tvrdik
5ba6bd81e5 ConstExprParser: allow integers in bin, oct and hex format 2018-03-20 14:09:21 +01:00
Jan Tvrdik
02f909f134 Lexer: do not use \h as it depends on locale 2018-01-13 19:19:41 +01:00
Jan Tvrdik
46fef4d36b fix compatibility with PHP 7.0 2017-12-16 19:32:10 +01:00
Jan Tvrdik
2ece33eb38 drop support for @method tag without '()' (real-world usage is 0.178 %) 2017-12-16 19:21:20 +01:00
Jan Tvrdik
77302e9f47 fix parsing non-static @method annotation returning static type 2017-12-16 16:32:26 +01:00
Jan Tvrdik
36e225fe85 improve tests 2017-12-16 16:19:04 +01:00
Jan Tvrdik
26f3112958 PhpDocParser: tags must be at the beginning of the line 2017-12-03 14:44:57 +01:00
Jan Tvrdik
08d714b2f0 simplify and improve whitespace handling 2017-11-22 11:46:07 +01:00
Jan Tvrdik
4e272700b3 PhpDocParser: support variadic parameters in @param tag 2017-11-19 18:08:10 +01:00
Jan Tvrdik
597aa4da36 drop support for @param annotation without parameter name 2017-11-19 15:52:40 +01:00
Jan Tvrdik
1d80cde655 add tests 2017-11-19 10:40:12 +01:00