Commit Graph

99 Commits

Author SHA1 Message Date
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
Alexey Egorov
341272afa0 PhpDocParserTest: fix wrong PhpDoc annotation (#17) 2018-08-09 13:08:42 +02:00
Ondrej Mirtes
ed32233621
minimum-stability dev is not necessary 2018-06-20 19:48:01 +02:00
Ondrej Mirtes
5415ec746c
Fixed potential TypeError 2018-06-20 19:46:45 +02:00
Josef Kříž
850b167f07 PhpDocNode: add getThrowsTagValues() (#12) 2018-05-10 11:23:09 +02:00
Jan Tvrdik
aa22c2f688 fix issues found by phpstan 2018-04-30 12:38:30 +02:00
Jan Tvrdik
0a3911f7a6 composer: require phpstan 0.10-dev 2018-04-30 09:08:38 +02:00
Jan Tvrdik
9b7d0027f9 composer: change branch-alias for master to 0.3-dev 2018-04-30 09:00:52 +02:00
Jan Tvrdik
f4ff265e2c require PHP 7.1+ 2018-04-30 08:52:35 +02:00
Jan Tvrdik
fdaf1f03e4 Lexer: fix missing label for TOKEN_PHPDOC_EOL 2018-04-30 08:50:57 +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
Filippo Tessarotto
3ff33ac44c gitattributes: add dev files to export-ignore 2018-04-19 17:30:56 +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
7ab7c78f55 add ConstantExpr grammar 2018-03-20 14:09:22 +01:00
Jan Tvrdik
aaa6ac83d1 finalize TypeParser grammar 2018-03-20 14:09:22 +01:00
Jan Tvrdik
3dc77d7af4 *.abnf files must use CRLF line-endings 2018-03-20 14:09:22 +01:00
Jan Tvrdik
e5f9c96665 Lexer: disallow 7F byte in identifiers 2018-03-20 14:09:21 +01:00
Jan Tvrdik
cd11ffb50d ConstExprParser: disallow entirely CRLF characters in strings 2018-03-20 14:09:21 +01:00
Jan Tvrdik
5ba6bd81e5 ConstExprParser: allow integers in bin, oct and hex format 2018-03-20 14:09:21 +01:00
Jan Tvrdik
97be1de71b composer: require phpstan/phpstan-shim instead of phpstan/phpstan 2018-03-20 14:09:21 +01:00
Jan Tvrdik
84704c620f composer: change dev-master branch-alias to 0.2-dev 2018-03-20 13:59:42 +01:00
Jan Tvrdik
02f909f134 Lexer: do not use \h as it depends on locale 2018-01-13 19:19:41 +01:00