635 Commits

Author SHA1 Message Date
TomasVotruba
a148d3440c fix rector description 2020-06-24 10:37:57 +02:00
TomasVotruba
81747c7aaf fix swtich return types 2020-06-24 10:08:08 +02:00
TomasVotruba
e456c15c09 remove @return tag if not needed in ReturnTypeDeclarationRector 2020-06-24 01:36:09 +02:00
TomasVotruba
8574f38c65 remove @return tag if not needed in ReturnTypeDeclarationRector 2020-06-24 01:24:33 +02:00
Derrick Schoen
87e0c838cd Boolean Operands cause ChangeNestedForeachIfsToEarlyContinueRector to produce code that gives a different output from the original code. 2020-06-23 17:49:19 -04:00
TomasVotruba
a75881e191 return type - skip void 2020-06-23 23:46:59 +02:00
TomasVotruba
67f0f5dc95 add NonEmptyArrayTypeMapper 2020-06-23 23:21:57 +02:00
TomasVotruba
b8681156b9 fix return type in abstract class 2020-06-23 21:58:05 +02:00
TomasVotruba
fe571b1bbf one more fix 2020-06-23 19:31:55 +02:00
TomasVotruba
bbc2f1e7d9 re-use class name 2020-06-23 19:20:32 +02:00
TomasVotruba
8d38c20300 check types correctly in value object class 2020-06-23 19:17:15 +02:00
TomasVotruba
4e2327a2f2 fix double load of test fixture 2020-06-23 19:11:44 +02:00
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