38 Commits

Author SHA1 Message Date
TomasVotruba
99db894192 restore types 2020-07-27 10:44:51 +02:00
TomasVotruba
0650075005 [Nette] Add ChangeControlArrayAccessToAnnotatedControlVariableRector 2020-07-26 15:54:46 +02:00
dobryy
f37cd4cac3 [Order] Apply rule 2020-07-26 15:11:41 +02:00
TomasVotruba
7ed4cb19c4 simplify config globs 2020-07-25 20:14:28 +02:00
TomasVotruba
c2c1066374 [rector] apply on rules 2020-07-19 20:52:42 +02:00
TomasVotruba
0944b75f7e correct namespace in configs 2020-07-18 11:58:17 +02:00
TomasVotruba
0c816d60f8 [config] switch rules config from YAML to PHP 2020-07-16 12:48:54 +02:00
TomasVotruba
821ce6f515 [Renaming] Remove RenameMethodCallRector, ported to RenameMethodRector 2020-07-14 00:32:04 +02:00
TomasVotruba
08823bb449 skip self-class rename in RenameMethodRector 2020-07-14 00:22:31 +02:00
TomasVotruba
4614a50c86 improve test fixture names 2020-07-14 00:16:15 +02:00
TomasVotruba
1172778120 prevent RenameMethodRector from renaming already existing method 2020-07-13 23:59:43 +02:00
TomasVotruba
a8a6e7bcad rename file to fileInfo 2020-06-30 01:45:05 +02:00
TomasVotruba
0cb82c2a6f apply new Naming_ 2020-06-30 00:57:38 +02:00
TomasVotruba
828d8cf67f prevent remove false template 2020-06-29 13:50:36 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
f713c16afd make use of Symplify/EasyTesting 2020-06-25 19:15:40 +02:00
TomasVotruba
94cc4e84e8 add rename class support in twig/latte as well 2020-06-23 13:48:53 +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
e4932e6782 prevente re-importing renamed use imports 2020-06-19 13:18:03 +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
b5c5ae0f34 prevent exception on class duplicate rename, just skip 2020-06-11 18:22:28 +02:00
TomasVotruba
f115fd6da6 Add support for rename of @property 2020-06-08 10:57:30 +02:00
Carlos C Soto
a8c07e624a Fix RenameAnnotationRector for null phpdoc 2020-05-19 13:56:16 -05:00
TomasVotruba
e81044fd3b decouple ClassRenamer 2020-05-11 18:08:13 +02:00
TomasVotruba
94160332e1 [utils] improve SeeAnnotationToTestRule to check reference to test case class 2020-05-05 22:09:56 +02:00
TomasVotruba
b0836bde3c use propety over property property 2020-04-29 13:53:06 +02:00
TomasVotruba
5600cf8d4d move node adding to PostRector 2020-04-01 01:41:56 +02:00
TomasVotruba
38fbcb28e5 move name-importing to PostRector 2020-03-31 20:13:18 +02:00
TomasVotruba
31023ee27b # This is a combination of 2 commits.
# This is the 1st commit message:

fix importing of non-existing classes

# The commit message #2 will be skipped:

# fixup! fix importing of non-existing classes
2020-03-27 16:42:50 +01:00
TomasVotruba
557c2521df unused import is responsibility of coding standard 2020-03-27 16:40:52 +01:00
TomasVotruba
6fba2c610c cannot work with non-existing class 2020-03-27 16:40:52 +01:00
Den Girnyk
30c337e82c
Fix 'auto_import_names' tests fixtures path 2020-03-27 14:47:52 +02:00
TomasVotruba
bc24bb12ff prevent getName() on StaticCall or MethodCall 2020-02-21 16:41:33 +01:00
TomasVotruba
e564834329 docs link to the top to find quickly 2020-02-13 17:16:13 +01:00
TomasVotruba
42c5141d70 [Renaming] Add RenameFuncCallToStaticCallRector 2020-02-13 17:12:38 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00