14 Commits

Author SHA1 Message Date
Tomas Votruba
27b0218b95 skip differnt return in FluentReplaceRector 2019-08-15 00:18:30 +02:00
Christian Scheb
eefbe071fb Use a dedicated service to resolve class constant fetches after parsing 2019-08-12 22:17:34 +02:00
Christian Scheb
583e525d09 Add test case when a constant is made private that should be public 2019-08-12 21:27:05 +02:00
Christian Scheb
423559449b Constants declared in interfaces have to be public 2019-08-11 15:08:35 +02:00
Tomas Votruba
6fdf08ab3c [SOLID] Fix PrivatizeLocalClassConstantRector for used constant from single class [closes #1634] 2019-07-09 18:51:04 +02:00
Tomas Votruba
0735925796 [SOLID] Add AbstractChildlessUnusedClassesRector 2019-05-26 14:24:23 +02:00
Tomas Votruba
25258e1028 fix cs 2019-05-01 00:49:59 +02:00
Tomas Votruba
0973ceb8be apply import on packages 2019-04-17 22:28:45 +02:00
Tomas Votruba
998f10bf26 move node adding responsibility from NodeCollectorNodeVisitor to ParsedNodesByType 2019-04-14 00:20:05 +02:00
Tomas Votruba
30536957e0 merge collected nodes to ParsedNodesByType 2019-04-14 00:20:05 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Tomas Votruba
68b5b7edea fixup! [SOLID] Add PrivatizeLocalClassConstantRector 2019-04-10 16:10:02 +02:00
Tomas Votruba
aba4a3cb02 [SOLID] Add PrivatizeLocalClassConstantRector 2019-04-10 15:15:13 +02:00
Tomas Votruba
c1d0bd1556 [SOLID] Add FinalizeClassesWithoutChildrenRector 2019-04-07 14:22:24 +02:00