29 Commits

Author SHA1 Message Date
Tomas Votruba
0dcd2b0014 [Solid] Add UseInterfaceOverImplementationInConstructorRector 2019-10-09 01:41:51 +01:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
2e97a3d315 make use of getProperties() 2019-09-01 21:45:26 +02:00
Tomas Votruba
3883bbb001 RemoveUnusedPrivatePropertyRector should skip entities [closes #1922] 2019-08-29 21:31:01 +02:00
Tomas Votruba
6d0bf0b44b add makeFinal() method 2019-08-25 12:29:15 +02:00
Tomas Votruba
f720d1face Fix missing args in PreferThisOrSelfMethodCallRector 2019-08-24 01:10:20 +02:00
Christian Scheb
e42527ddc8 Detect parent constant visibility when it is declared in a super-superclass 2019-08-21 21:58:39 +02:00
Tomas Votruba
f9773142b2 cs fixes 2019-08-18 01:34:42 +02:00
Christian Scheb
1836cba680 Refactored 2019-08-17 13:45:29 +02:00
Christian Scheb
e462f6cfd9 Consider parent constant's visibility 2019-08-17 13:36:48 +02:00
Christian Scheb
61c40190fc Add test case for overriding constants 2019-08-17 13:36:48 +02:00
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