Commit Graph

187 Commits

Author SHA1 Message Date
Ondrej Mirtes
dbc093d7af
Fix BC break vs. 1.0.0 2021-09-16 22:46:02 +02:00
Ondrej Mirtes
d26926e2ac
Fix build 2021-09-16 22:35:29 +02:00
Jordi Boggiano
605e3697d7 Fix wildcard parsing to end if a space follows, fixes phpstan/phpstan#5628 2021-09-16 22:28:27 +02:00
Vincent Langlet
d622b7c550 Add support for reference in phpdoc 2021-09-16 22:27:44 +02:00
Ondrej Mirtes
da187fdff0
Require PHPStan 1.0 2021-09-12 22:31:50 +02:00
Ondrej Mirtes
9e8e6e79f8
Open 1.0-dev 2021-09-12 22:00:31 +02:00
Jordi Boggiano
816e826ce0 Allow parsing class constants with more than one wildcard in the constant name 2021-09-12 13:52:00 +02:00
alexndlm
fac86158ff
Do not add space if empty string 2021-08-31 10:08:22 +02:00
Ondrej Mirtes
ea0b17460e
Allow empty array shape 2021-06-11 15:24:46 +02:00
Ondrej Mirtes
edb31b30ec
Modernization 2021-06-11 15:21:05 +02:00
Hugo Alliaume
dff3ee149b chore: Use the latest PHPUnit wherever possible
See https://github.com/phpstan/phpstan-symfony/pull/162
2021-05-16 15:07:13 +02:00
Hugo Alliaume
0840ee4b48
chore: forgot to change phing path to make 2021-05-16 13:04:07 +02:00
Hugo Alliaume
4530d56c35 Drop Phing for Makefile
See https://github.com/phpstan/phpstan-symfony/pull/160
2021-05-16 12:54:49 +02:00
Ondrej Mirtes
e188439875
Lock closed issues 2021-04-30 09:25:02 +02:00
William Desportes
c37ba6f7b3 Update .gitattributes 2021-04-11 08:14:49 +02:00
Jiří Pudil
e352d065af type aliases: detect unsupported targets of type alias imports on parsing level 2021-04-03 16:46:19 +02:00
dependabot[bot]
e24edb6eb6 Bump metcalfc/changelog-generator from v0.4.4 to v1.0.0
Bumps [metcalfc/changelog-generator](https://github.com/metcalfc/changelog-generator) from v0.4.4 to v1.0.0.
- [Release notes](https://github.com/metcalfc/changelog-generator/releases)
- [Changelog](https://github.com/metcalfc/changelog-generator/blob/main/release-notes.png)
- [Commits](https://github.com/metcalfc/changelog-generator/compare/v0.4.4...e5306b306fa2e34f05258789e0e5c526c1bd4352)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-03 15:15:46 +02:00
Ondrej Mirtes
7c3115eeb2
Mark TypeParser methods as impure 2021-03-27 12:40:37 +01:00
Ondrej Mirtes
d835bf339c
Do not build with lowest PHPStan version 2021-03-26 19:43:59 +01:00
Ondrej Mirtes
f9f5616cb2
Mark some TokenIterator methods as impure 2021-03-26 19:36:08 +01:00
Ondrej Mirtes
2269e47626
Catch parse exception when consuming TOKEN_CLOSE_PHPDOC 2021-03-22 18:32:47 +01:00
Tomas Votruba
86b0a001af
Fix PhpDocNode end newline print 2021-03-22 17:52:24 +01:00
Ondrej Mirtes
b2169b6c87
Merge branch '0.4.x' into master 2021-03-19 11:54:26 +01:00
Jaroslav Hanslík
cf4fc7d2ae
Fixed "Undefined array key -1" 2021-03-19 11:54:14 +01:00
TomasVotruba
cfe3c783bc
Allow nodes to have custom attributes 2021-03-18 22:19:05 +01:00
Ondrej Mirtes
37a74dfe11
Open 0.5-dev 2021-03-18 22:13:16 +01:00
Ondrej Mirtes
4136e0056a
EditorConfig 2021-03-18 22:02:48 +01:00
Ondrej Mirtes
b4d876fca6 Modernize CS build 2021-03-18 22:02:37 +01:00
Jan Tvrdik
b451b2f27a Preserve whitespace formatting of text nodes 2021-03-15 09:55:35 +01:00
Jiří Pudil
2e17e4a907 type aliases: support @phpstan-import-type and @psalm-import-type tags 2021-02-28 15:30:10 +01:00
Jiří Pudil
2d862ef746 type aliases: support @phpstan-type and @psalm-type tags 2021-02-28 15:30:10 +01:00
Sebastian Schreiber
2ce4c66233
[TASK] Add testcase for docblock with number (#61)
Relates: #59
2021-02-19 12:57:27 +01:00
Sebastian Schreiber
d2c01c14b2
allow numbers in tags [closes #59] 2021-02-16 08:07:16 +01:00
Tomas Votruba
a2f1a1fc1f
[cs] update coding standard to allow PHP 8 and Slevomat CS 6.4 (#58) 2021-02-08 12:07:58 +01:00
dependabot[bot]
35c60949b8 Update symfony/process requirement from ^4.0 to ^5.2
Updates the requirements on [symfony/process](https://github.com/symfony/process) to permit the latest version.
- [Release notes](https://github.com/symfony/process/releases)
- [Changelog](https://github.com/symfony/process/blob/5.x/CHANGELOG.md)
- [Commits](https://github.com/symfony/process/compare/v4.0.0...v5.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-19 16:20:05 +01:00
Ondrej Mirtes
27d85169c7
Dependabot 2020-12-19 16:13:16 +01:00
Ondrej Mirtes
5c1eb9aac8
Automatic release workflow 2020-12-12 16:45:28 +01:00
Ondrej Mirtes
f95c617ed5
Use GitHub Actions instead of Travis CI 2020-12-12 16:43:38 +01:00
Fabien Villepinte
33d5f73f71
Use the maintained version of php-parallel-lint 2020-09-12 23:00:47 +02:00
Vincent Langlet
98a088b179 Add support for @phpstan-throws 2020-08-03 22:32:43 +02:00
Jérémy Marodon
cd2f81ff67 ⬆️ Upgrade PHP dependency to support PHP8 installation 2020-07-23 14:02:42 +02:00
Jaroslav Hanslík
1948aa842a Fixed parsing description started with HTML tag 2020-06-10 07:04:41 +02:00
Ondrej Mirtes
2b0e830f0b
Analysis using PHPStan is now usable - PHPStan namespace is analysed using static reflection 2020-05-11 20:50:30 +02:00
Andreas Frömer
44500ca1b7 Add support for trailing comma 2020-05-06 08:52:35 +02:00
Andreas Frömer
9efbbb656a Add possibility for leading comma 2020-05-06 08:52:35 +02:00
Andreas Frömer
ba7df7e621 Add test for docblock parsing 2020-05-06 08:52:35 +02:00
Andreas Frömer
c8fef049d3 Update Codestyle issues 2020-05-06 08:52:35 +02:00
Andreas Frömer
b205ccdf21 Add multiline generic support
This solves #42
2020-05-06 08:52:35 +02:00
Ondrej Mirtes
7093385390
Fix CS 2020-05-04 22:59:45 +02:00
Ondrej Mirtes
3dfe57b7d0
Fix 2020-05-04 22:56:35 +02:00