16 Commits

Author SHA1 Message Date
Tomas Votruba
786095f328
refactoring of variable name counted (#3999)
* fix variable rename scoping

* [rector] fix variable rename scoping

* [cs] fix variable rename scoping

Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-22 13:02:55 +00:00
Dmytro Naumenko
04597e9685
Failing test: Multiple resets of the same func in a array (#3998) 2020-08-22 13:03:27 +02:00
Oliver Nybroe
4090c58ce1
Add failing test case for #3981 (#3986) 2020-08-19 15:45:50 +02:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type (#3973) 2020-08-18 17:57:30 +02:00
Felix Sokoliuk
5d6e5964b9 add failing test case for issue 3824 2020-07-30 00:29:45 +02:00
Jonathan Goode
7da3310cf6 Move existing Rector from the coding-style set to the php70 set 2020-07-21 10:23:25 +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
6a53e7014f code style 2020-06-21 12:03:35 +02:00
Derrick Schoen
7fc8036946 Fix syntax
Remove unused variable
2020-06-20 19:48:52 -04:00
derrickschoen
ba657c6fe1
Update rules/php70/tests/Rector/MethodCall/ThisCallOnStaticMethodToStaticCallRector/Fixture/fixture.php.inc
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-06-20 19:41:06 -04:00
derrickschoen
a3a039a0c0
Update rules/php70/tests/Rector/MethodCall/ThisCallOnStaticMethodToStaticCallRector/Fixture/fixture.php.inc
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-06-20 19:40:50 -04:00
Derrick Schoen
7cbf77f952 Make the test use RunnableInterface 2020-06-20 19:20:12 -04:00
Derrick Schoen
c2da307e2d If a class could be inherited, "$this->"" needs to become "static::" instead of "self::" 2020-06-19 09:09:46 -04:00
TomasVotruba
98b1277549 various suffix fixes 2020-04-23 22:31:58 +02:00
TomasVotruba
d608507f2e rename PHP sets to comply with standard 2020-03-24 23:44:42 +01:00