10 Commits

Author SHA1 Message Date
Tomas Votruba
8ae3868a57
[Restoration] Add RestoreFullyQualifiedNameRector (#4336)
* [Restoration] Add RestoreFullyQualifiedNameRector

* update docs

* use service aware test case for PHPStan rules

* improve FullyQualifiedNameMatcher

* cs fixes

* add return doc resolution

* composer: bump to symfony 4.4/5.1
2020-10-01 19:45:29 +00:00
Igor
f2ecdeb0b1
[Naming] Foreach over "data", renames to "datum" (#4221)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-15 10:23:13 +02:00
TomasVotruba
0178e9cadd [PHP 5.6] Fix foreach unset variable default 2020-07-31 00:40:44 +02:00
Jonathan Goode
377c4c3718 RE #3828 - add failing fixture for AddDefaultValueForUndefinedVariableRector 2020-07-30 22:59:14 +01:00
TomasVotruba
a8a6e7bcad rename file to fileInfo 2020-06-30 01:45:05 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
a518f9c264 decouple arrow_function fixture 2020-06-18 21:30:14 +02:00
Felix Sokoliuk
08ea68d443 handle arrow function
* do not try to set variables in arrow functions
* consider that arrow functions inherit the parent scope
2020-06-18 20:13:34 +02:00
TomasVotruba
ef5501d06c various cs cleanup 2020-05-03 21:33:36 +02:00
TomasVotruba
d608507f2e rename PHP sets to comply with standard 2020-03-24 23:44:42 +01:00