Commit Graph

270 Commits

Author SHA1 Message Date
Richard van Velzen
33aefcdab4 Add equality assert syntax 2022-10-21 11:57:39 +02:00
Richard van Velzen
ae85d4b73c Fix __toString() for negated asserts 2022-10-21 09:19:41 +02:00
Richard van Velzen
5f13698464 Allow unparenthesized conditional type in conditional else branch 2022-10-20 09:49:58 +02:00
Richard van Velzen
44615481d8
Unescape constant strings 2022-10-20 09:49:01 +02:00
Ondrej Mirtes
a6c17e2337
Send lib update to 1.8.x 2022-10-20 09:42:50 +02:00
Ondrej Mirtes
cc943678f7
Fix Send PR workflow 2022-10-14 15:36:39 +02:00
Richard van Velzen
7d1e81213b Add tests for template bound + default 2022-10-14 15:32:28 +02:00
Richard van Velzen
ecb475b7cf Implement template default syntax 2022-10-14 15:32:28 +02:00
Ondrej Mirtes
19d4770e86
Send pull request workflow 2022-10-14 15:30:59 +02:00
Markus Staab
87fa2d526e
Implement @param-out tag
* implement `@param-out` tag

* added description
2022-10-12 21:19:18 +02:00
Ondrej Mirtes
5f7eb9724b
Update workflows 2022-10-06 13:32:36 +02:00
Richard van Velzen
22a7b24168 Implement this-out/self-out syntax 2022-10-06 13:31:50 +02:00
Richard van Velzen
5eaedcd827 Improve abnf readability 2022-09-06 13:56:39 +02:00
Ondrej Mirtes
36177d518a
Update workflows 2022-09-04 21:08:41 +02:00
Kuba Werłos
8dd908dd61 Add test with parenthesis 2022-09-04 20:59:06 +02:00
Kuba Werłos
f069ed8028 Allow backslash in PHPDoc tag 2022-09-04 20:59:06 +02:00
Ondrej Mirtes
367a8d9d5f
Open 1.7.x 2022-08-09 14:23:23 +02:00
Ondřej Mirtes
8e9075776a
Update backward-compatibility.yml 2022-08-09 14:20:19 +02:00
Ondřej Mirtes
06f491a4a8
Update build.yml 2022-08-09 14:20:06 +02:00
Richard van Velzen
af74624406
Support properties/methods in assert annotations 2022-08-09 14:18:55 +02:00
Markus Staab
7daca1d1d8 Update backward-compatibility.yml 2022-08-09 13:57:22 +02:00
Markus Staab
025ab580fb Fix backward-compatibility github action 2022-08-09 13:57:22 +02:00
Ondřej Mirtes
c857e8a2b1
Update build.yml 2022-07-19 13:14:43 +02:00
Ondrej Mirtes
dd322ae2e8
Create tag workflow 2022-07-13 12:52:46 +02:00
Alex Wells
135607f9cc Support @template-contravariant tags 2022-06-26 15:09:08 +02:00
Jiří Pudil
25ddf938d8 Simplify parsing of type alias import 2022-06-20 10:47:42 +02:00
Richard van Velzen
4a07085f74 Micro-optimize lexer 2022-06-14 13:40:08 +02:00
Richard van Velzen
76150ae751 Optimize generated regex 2022-06-10 11:29:33 +02:00
Richard van Velzen
5aaeb83195 Optimize Lexer::tokenize() 2022-06-10 10:12:59 +02:00
Ondrej Mirtes
07c49b0107
Regression test 2022-06-09 14:43:27 +02:00
Ondrej Mirtes
4c25f7fc4d
Install phpstan/phpstan-phpunit 2022-06-09 14:42:44 +02:00
Richard van Velzen
3cb62d1084 Make requiring whitespace before description optional 2022-06-09 11:45:59 +02:00
Richard van Velzen
1e355a35e2
Support all atomic types as nullable types 2022-06-08 21:40:28 +02:00
Richard van Velzen
7c621a2217 Fix parsing phpdoc with no trailing whitespace 2022-06-08 20:03:36 +02:00
Richard van Velzen
9d452051cb
Allow omitting @param type 2022-06-08 20:02:43 +02:00
Richard van Velzen
d579798d2f Require whitespace before description with limited start tokens 2022-06-08 16:53:02 +02:00
Renovate Bot
b75949e747 Update dependency slevomat/coding-standard to v7.2.1 2022-05-30 11:04:34 +02:00
Fabien Villepinte
5968e5f71a Fix typo in doc/grammars 2022-05-15 14:10:30 +02:00
Renovate Bot
5e424af90d Update dependency slevomat/coding-standard to v7.2.0 2022-05-09 10:50:14 +02:00
Ondrej Mirtes
981cc368a2
Fix workflows 2022-05-05 13:32:40 +02:00
Richard van Velzen
28cb38bd06 Implement offset access type syntax 2022-05-05 13:31:11 +02:00
Richard van Velzen
6cafed9212 Add negated assertions 2022-05-04 09:46:54 +02:00
Richard van Velzen
47051f5ca6 Parse assert-if-true and assert-if-false as well 2022-05-04 09:46:54 +02:00
Richard van Velzen
0af5cba9f1 Also expose the tags 2022-05-04 09:46:54 +02:00
Richard van Velzen
8f703ba724 Add assert syntax 2022-05-04 09:46:54 +02:00
Richard van Velzen
129a63b3bc
Extend allowed types for conditional for parameter 2022-04-22 13:11:01 +02:00
Ondrej Mirtes
d8e9fd97ca
ConstExprParser - throw known exception type 2022-04-14 14:24:06 +02:00
Ondrej Mirtes
34545bb30a
Fix memory leak
Exceptions in their stack traces carry references to all unexpected objects
2022-04-08 13:30:34 +02:00
Renovate Bot
a5e191ffef Update dependency slevomat/coding-standard to v7.1 2022-04-04 08:09:37 +02:00
Richard van Velzen
9940b06ce8 Fix build instructions in README 2022-03-30 15:35:23 +02:00