Ondrej Mirtes
aa111aa1fe
Update workflows
2022-03-28 12:52:48 +02:00
Richard van Velzen
445ccb723c
Support conditional types
...
* Support conditional types
Part of implementation for phpstan/phpstan#3853
* Add fuzzy tests
* Only support "is" / "is not"
* Rename trueType/falseType to if/else
* Add tests to TypeParserTest
* cs
* Only allow parenthesized conditional types
* Remove multiline support
It'll be easier to implement this for more types properly separately
* Support conditional for parameters
2022-03-28 12:50:35 +02:00
Ondrej Mirtes
691b0199aa
Update CS
2022-03-28 10:02:03 +02:00
Richard van Velzen
c08946968b
Support multiline callable syntax
...
Closes #46 . Tests are basically copied and modified from #44
2022-03-28 09:53:31 +02:00
Ondrej Mirtes
ad95bffa0d
Fix workflows
2022-03-28 09:52:51 +02:00
Ondrej Mirtes
f794407d02
Drop alias
2022-03-28 09:50:44 +02:00
Ondrej Mirtes
da41cc92f0
Drop support for PHP 7.1, require PHPStan 1.5.0
2022-03-28 09:15:57 +02:00
Renovate Bot
337ff95c8e
Update dependency slevomat/coding-standard to v7.0.20
2022-03-28 09:14:33 +02:00
Renovate Bot
4bda9e3c88
Update actions/checkout action to v3
2022-03-07 13:15:39 +01:00
Renovate Bot
3810829a69
Update dependency slevomat/coding-standard to v7.0.19
2022-03-07 13:15:28 +01:00
Renovate Bot
d5a6692b8a
Update dependency slevomat/coding-standard to v7
2022-02-08 12:41:11 +01:00
Renovate Bot
1ab10d8c71
Update build-cs
2022-02-07 09:02:48 +01:00
Ondřej Mirtes
9654349276
Update renovate.json
2022-02-02 16:37:50 +01:00
Ondřej Mirtes
f3a334c6ab
Update lock-closed-issues.yml
2022-02-02 15:40:16 +01:00
Renovate Bot
bad64f8024
Update github-actions
2022-02-02 15:40:16 +01:00
Renovate Bot
2c43989ab6
Update metcalfc/changelog-generator action to v1.0.1
2022-02-01 23:13:46 +01:00
Renovate Bot
b862cf79f4
Update dependency consistence-community/coding-standard to v3.11.1
2022-02-01 23:13:33 +01:00
Ondřej Mirtes
cb952de850
Delete dependabot.yml
2022-02-01 23:12:43 +01:00
Ondřej Mirtes
ac70f70c0e
Update and rename renovate.json to .github/renovate.json
2022-02-01 23:12:26 +01:00
Renovate Bot
30cfc4b84f
Add renovate.json
2022-02-01 23:12:26 +01:00
Tomas Votruba
7d4d93b6c6
update phpunit.xml schema
2022-01-30 21:23:36 +01:00
Jean-Luc Herren
4bf544b199
PhpDocNode: Swap array_column() and array_filter()
...
See phpstan/phpstan-src#948
2022-01-29 18:41:21 +01:00
Ondřej Mirtes
b63ce3910f
Update release.yml
2022-01-16 11:53:29 +01:00
Ondřej Mirtes
8bae8e172b
Tweet release action
2022-01-16 09:39:57 +01:00
Martin Herndl
bf8b5dbc7e
Allow Composer plugins
2022-01-06 13:49:33 +01:00
Ruud Kamphuis
00abc18d36
Test on PHP 8.1
2021-12-16 20:47:28 +01:00
Ruud Kamphuis
253dabdafd
Composer > Remove --no-suggest
...
You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
2021-12-16 20:45:00 +01:00
Ondrej Mirtes
d639142cf8
Backward compatibility check
2021-09-16 22:50:50 +02:00
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