17 Commits

Author SHA1 Message Date
TomasVotruba
788abf5131 add has lifecycle callbacks 2020-02-25 20:46:55 +01:00
TomasVotruba
d074d5169a Fix FinalizeClassesWithoutChildrenRector for embedable 2020-02-23 23:25:58 +01:00
TomasVotruba
c2b89700a3 [DeadCode] Add RemoveUnusedClassConstantRector 2020-02-23 22:07:19 +01:00
TomasVotruba
6ba1d212e0 require at least 2 iffs for nested foreach 2020-02-23 17:05:59 +01:00
TomasVotruba
eeb43d2b01 rector ci: enable solid + fix class const privatization for using parent 2020-02-23 16:03:39 +01:00
TomasVotruba
735be73800 [SOLID] Add ChangeNestedForeachIfsToEarlyContinueRector 2020-02-22 16:04:15 +01:00
TomasVotruba
5318f7c8d1 Fix incorrect regexes to preserve doc tags spacing 2020-02-21 14:49:50 +01:00
TomasVotruba
01bd2e3d86 skip test fixtures 2020-02-19 14:53:21 +01:00
TomasVotruba
9da97ed1f6 update alias 2020-02-19 14:36:10 +01:00
TomasVotruba
7f63457a18 Fix already constant 2020-02-19 14:35:30 +01:00
TomasVotruba
c25db0b56d apply 2020-02-19 00:14:44 +01:00
TomasVotruba
1ad8f08ccd [SOLID] Add ChangeReadOnlyVariableWithDefaultValueToConstantRector 2020-02-18 23:59:07 +01:00
TomasVotruba
5ebf2414c4 fix remove alwasy else for anonymous function jump 2020-02-17 01:24:19 +01:00
John Linhart
54302369f1 Moving test into a separate file 2020-02-16 19:47:26 +01:00
John Linhart
facca2a50b Adding failing test for RemoveAlwaysElseRector
With a foreach within an anonymous function
2020-02-15 15:26:41 +01:00
TomasVotruba
00a3fb3a17 [SOLID] Add ChangeReadOnlyPropertyWithDefaultValueToConstantRector 2020-02-14 17:08:51 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00