Commit Graph

18 Commits

Author SHA1 Message Date
TomasVotruba
0939387553 use getProperty() 2020-04-19 23:27:37 +02:00
TomasVotruba
00797bbce3 [CodeQuality] Add SplitListScalarAssignToSeparateLineRector 2020-04-19 16:20:08 +02:00
TomasVotruba
b882ce533d [CodeQuality] Make ChangeArrayPushToArrayAssignRector skip spread 2020-04-16 13:36:07 +02:00
TomasVotruba
79f73d88f8 fix missing array key 2020-04-03 01:14:04 +02:00
TomasVotruba
058f1c7932 [Privatization] Add PrivatizeLocalGetterToPropertyRector 2020-03-29 03:58:00 +02:00
Pascal Landau
1513ee16cd Fix ArrayKeysAndInArrayToArrayKeyExistsRectorTest
- fixed typo in RectorDefinition code sample
- fixed argument order of array_key_exists
- renamed test folder from ArrayKeysAndInArrayToIssetRector
  to ArrayKeysAndInArrayToArrayKeyExistsRector
2020-03-28 17:35:14 +01:00
TomasVotruba
74416461bb use array_key_exists instead of isset 2020-03-28 15:12:29 +01:00
TomasVotruba
22487811b3 [CodeQuality] Add ArrayKeysAndInArrayToIssetRector 2020-03-28 00:26:41 +01:00
TomasVotruba
4615a9d83d Fix ForToForeachRector for used dim fetch 2020-03-16 21:06:50 +01:00
TomasVotruba
fe86fc4365 make use of isFuncCallName() method 2020-03-01 00:06:45 +01:00
TomasVotruba
83eca131e9 improve ForToForeachRector 2020-03-01 00:03:32 +01:00
TomasVotruba
9ff0b6a07a decopule isNodePartOfAssign() method 2020-02-29 23:55:00 +01:00
TomasVotruba
93633a4c04 [CodeQuality] Add InlineIfToExplicitIfRector 2020-02-22 13:07:36 +01:00
TomasVotruba
bc24bb12ff prevent getName() on StaticCall or MethodCall 2020-02-21 16:41:33 +01:00
TomasVotruba
c25db0b56d apply 2020-02-19 00:14:44 +01:00
TomasVotruba
1498108d95 fix single line comment 2020-02-17 00:03:28 +01:00
TomasVotruba
d1b4779889 apply properties to constants rule from SOLID 2020-02-16 17:47:00 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00