573 Commits

Author SHA1 Message Date
TomasVotruba
77d46cb7ae prevent exception on class duplicate rename, just skip 2020-06-23 19:11:32 +02:00
TomasVotruba
50f3c0454d skip common patterns in value object 2020-06-23 18:26:06 +02:00
TomasVotruba
94cc4e84e8 add rename class support in twig/latte as well 2020-06-23 13:48:53 +02:00
TomasVotruba
dd3c1bd523 add types/suffix support 2020-06-23 13:11:48 +02:00
Vladyslav Startsev
9eb94a9a68 added support post class move rename in XML files 2020-06-22 01:01:17 +03:00
TomasVotruba
baee588461 add rename neon/yaml file content case 2020-06-21 19:03:39 +02:00
TomasVotruba
9e4a956023 fix instanceof with expr 2020-06-21 16:51:14 +02:00
TomasVotruba
81386042a1 highlight more README output 2020-06-21 16:49:47 +02:00
TomasVotruba
ad4bba4aac update docs 2020-06-21 16:32:27 +02:00
TomasVotruba
c0cc31aa7e fix php parser factory name 2020-06-21 13:47:24 +02:00
TomasVotruba
2248dc00fc add @scrumworks - amateri.com sponsor to particular rules, thank you 2020-06-21 13:43:17 +02:00
TomasVotruba
6182320da4 Merge branch 'ThisCallOnStaticMethodToStaticCallRector__UseStaticInsteadOfSelf' 2020-06-21 13:26:44 +02:00
TomasVotruba
3d0d42dcc1 fixup! code style 2020-06-21 12:08:41 +02:00
TomasVotruba
6a53e7014f code style 2020-06-21 12:03:35 +02:00
TomasVotruba
fac932a8bd cleanup 2020-06-21 11:46:52 +02:00
TomasVotruba
379aa80679 cleanup AbstractFileSystemRector 2020-06-21 11:34:08 +02:00
TomasVotruba
ff4c3cc8ce decopule NodesWithFileDestinationPrinter 2020-06-21 02:31:27 +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
TomasVotruba
97a50186f0 decopule AbstractFileMovingFileSystemRector 2020-06-19 18:01:50 +02:00
TomasVotruba
64be870f22 fix PHPUnit 8/9 compatibility 2020-06-19 17:21:49 +02:00
TomasVotruba
489531aee7 skip interface 2020-06-19 17:09:59 +02:00
TomasVotruba
bfbbcb6a81 add test case for MoveValueObjectsToValueObjectDirectoryRector 2020-06-19 16:10:28 +02:00
TomasVotruba
715f87aff0 add test case for RenameTesterTestToPHPUnitToTestFileRector 2020-06-19 16:05:13 +02:00
TomasVotruba
f83c6c080e decouple ControlFactoryInterfaceAnalyzer 2020-06-19 15:51:41 +02:00
TomasVotruba
afe189d355 resolve @see annotations in AstractRector childs 2020-06-19 15:37:24 +02: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
e4932e6782 prevente re-importing renamed use imports 2020-06-19 13:18:03 +02:00
TomasVotruba
75b8d37e4b extend test case 2020-06-19 12:06:46 +02:00
TomasVotruba
34c40428f3 add VIRTUAL_NODE constant, prevent double post traversing nodes 2020-06-19 01:35:11 +02:00
TomasVotruba
72e9bbb92f add interface implement rename 2020-06-19 00:07:58 +02:00
TomasVotruba
fc8fc08872 prepare for multiple files 2020-06-19 00:07:58 +02:00
TomasVotruba
9abc75916a fix namespace 2020-06-18 23:08:06 +02:00
TomasVotruba
14a72f15d8 remove MoveAndRenameNamespaceRector, not tested and not working, prefer class rename 2020-06-18 22:34:25 +02:00
TomasVotruba
a518f9c264 decouple arrow_function fixture 2020-06-18 21:30:14 +02:00
TomasVotruba
fca3eaed8b cleanup 2020-06-18 21:10:41 +02:00
TomasVotruba
48bbc835b1 add TokensByFilePathStorage 2020-06-18 21:10:41 +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
daaf2143d8 skip already correct group 2020-06-18 17:42:43 +02:00
TomasVotruba
7a85d8596e covers @return doc too 2020-06-18 17:29:42 +02:00
TomasVotruba
dc36f0f469 skip Form factories too 2020-06-18 16:56:16 +02:00
TomasVotruba
4f1cd06c7e add class-rename to MoveServicesBySuffixToDirectoryRector 2020-06-18 16:09:24 +02:00
TomasVotruba
5adc8cc782 [Autodiscovery] Skip control factory in interface split 2020-06-18 12:50:16 +02:00
TomasVotruba
de0dbc6876 add BreakingREmovalGuard, CommentableNodeResolver, and @fixme to un-removable nodes in ini_get/ini_set 2020-06-18 12:07:26 +02:00
TomasVotruba
03cf74ce31 add static call check 2020-06-18 01:12:19 +02:00
TomasVotruba
54cf6f02d7 [README] Add Zenika sponsor 2020-06-17 14:55:09 +02:00
TomasVotruba
3744649dd9 [PHP 7.2] Add ReplaceEachAssignmentWithKeyCurrentRector 2020-06-17 14:23:12 +02:00
rector-bot
238ecb319e fixup! fixup! add class-rename to MoveInterfacesToContractNamespaceDirectoryRector 2020-06-16 21:59:31 +00:00