16 Commits

Author SHA1 Message Date
TomasVotruba
207d638888 [TypeDeclaration] Fix static property type resolution 2019-12-29 12:45:12 +01:00
Ruud Kamphuis
433f929cc3
Do not suggest typed property when defined in vendored parent
When the property is defined in vendored code, it doesn't make sense to suggest typed properties on classes that extend from it.
2019-12-27 17:51:40 +01:00
Felix Sokoliuk
4a13da1cba add PHP version feature checks 2019-12-26 23:14:00 +01:00
Ruud Kamphuis
20e4266a93
Fix codesample in TypedPropertyRector
This rector does not remove the PHPDoc.
2019-12-26 15:04:31 +01:00
TomasVotruba
9e589ba105 Make sure name is passed to getName(), instead of expr 2019-12-04 22:08:34 +01:00
TomasVotruba
5f523b5727 [PHPUnit][Symfony] Add jakzal-injetor Rector 2019-11-18 16:21:11 +01:00
TomasVotruba
a9cd107fb9 [PHP 8.0] Add Union Types 2019-11-17 02:05:07 +01:00
Tomas Votruba
f6c92c97b4 Fix StaticTypeMapper for nullables 2019-11-05 23:53:39 +01:00
Tomas Votruba
8d57420bd6 use yieldFilesFromDirectory() in tests instead of explicid fixture naming 2019-11-05 18:02:26 +01:00
Tomas Votruba
1620cf0211 apply code-quality 2019-10-30 15:38:30 +01:00
Tomas Votruba
40c49710e9 [cs] reoder private methods by call order 2019-10-30 10:49:07 +01:00
Tomas Votruba
4dfd0a6331 [PHP 74] Add ChangeReflectionTypeToStringToGetNameRector 2019-10-24 01:49:34 +02:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
2858a9f7ea [PHP] Move tests + fixture to split package by version 2019-09-23 15:16:31 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00