Commit Graph

175 Commits

Author SHA1 Message Date
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
Ondrej Mirtes
d840b6956b
Fix parsing const fetches with wildcard in complex types 2020-05-04 22:48:07 +02:00
Andreas Frömer
486b638ff9
Add readme and other useful information (#43) 2020-05-04 13:17:08 +02:00
Ondrej Mirtes
d4c4cd3cae
Test parseTagValue() with ConstTypeNode 2020-05-04 11:11:57 +02:00
Ondrej Mirtes
956e7215c7
Support for parsing @mixin Type [description] 2020-05-02 09:04:38 +02:00
Ondrej Mirtes
fde6cca6d9
ConstFetchNode - supports all constants wildcard 2020-04-30 19:38:30 +02:00
Ondrej Mirtes
cfd8285ccc
Fix CS 2020-04-30 17:23:07 +02:00
Ondrej Mirtes
3170d7d858
Wildcard constants 2020-04-30 16:24:29 +02:00
Ondrej Mirtes
4f03df6e39
Fix 2020-04-30 15:54:19 +02:00
Ondrej Mirtes
d60ff778be
Support ConstExprNode as type 2020-04-30 15:52:09 +02:00
Ondrej Mirtes
c3aaad7ef5
How is callable type node with mixed variadic argument parsed? 2020-04-25 14:17:29 +02:00
Ondrej Mirtes
d8d9d46453
Fix 2020-04-13 18:28:46 +02:00
Ondrej Mirtes
97a0114d7f
Array shapes - support single-quoted and double-quoted strings 2020-04-13 18:19:13 +02:00