1053 Commits

Author SHA1 Message Date
Tomas Votruba
7c6c6aaa45 [Psr4] Add supprot for namespace less MultipleClassFileToPsr4ClassesRector 2019-05-23 08:09:28 +02:00
Tomas Votruba
c71a2e8f81 report deleted/added files in FileSystem Rectors 2019-05-19 09:38:39 +02:00
Tomas Votruba
e2fba5c6fd [PHP 7.4] Add array spread operator 2019-05-16 01:37:12 +02:00
Tomáš Votruba
2b2928eab9
Merge pull request #1418 from rectorphp/inject-annot
[PHP-DI] Add php-di @Inject annotation import
2019-05-12 18:59:45 +02:00
Tomas Votruba
5d73191fa8 decouple JmsInjectAnnotationRector to configurable InjectAnnotationClassRector 2019-05-12 18:02:28 +02:00
Jan Mikeš
31d2ce4d3b
[PSR-4 Split] Split interfaces and traits as well 2019-05-11 00:29:14 +02:00
Jan Mikeš
9958a44ec3
Added support for renaming class and it’s namespace 2019-05-08 13:00:28 +02:00
Thomas Gerbet
68bda32d06 Preserve file permissions when updating a file
The change of permissions is not explicitely requested by the user
and is not shown in the dry-run. It makes Rector harder to use when
the sources of a project has some executable scripts.
2019-05-06 21:47:51 +02:00
Tomas Votruba
bac303c52f remove original file if in different name - in MultipleClassFileToPsr4ClassesRector 2019-05-02 01:32:33 +02:00
Tomas Votruba
c616a0698f restore test case 2019-04-29 12:58:29 +02:00
Tomas Votruba
1fe23d12c8 merge getRectorClass() and getRectorConfiguration() 2019-04-29 07:36:22 +02:00
Tomas Votruba
7325df340b composer: bump deps 2019-04-29 06:30:04 +02:00
Tomas Votruba
163392bd9b coding style 2019-04-29 06:09:00 +02:00
Tomas Votruba
5fa34b0e2d remove unused test configs 2019-04-29 01:26:03 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
d2e4adb7e5 [tests] decouple FixtureSplitter 2019-04-26 14:08:27 +02:00
Tomas Votruba
9decd6136b correct name of ambiguous fixture class 2019-04-26 13:57:39 +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
897f77f2c6 twig-unique 2019-04-05 13:20:27 +02:00
Tomas Votruba
220038d215 improve GetAndSetToMethodCallRector 2019-04-02 23:21:18 +02:00
Tomas Votruba
c5f51e5cb1 [MagicDisclosure] Fix property assign magic call [closes #1190] 2019-04-02 16:31:58 +02:00
Tomas Votruba
3f2f64de22 [DeadCode] Do not remove variable that is re-assigned 2019-03-31 20:13:46 +02:00
Tomas Votruba
82a0fa6fd0 Include expressoin tags to replace name [closes #1243] 2019-03-27 14:54:57 +01:00
Tomas Votruba
a70c0e1c28 add #1242 test case 2019-03-27 14:26:13 +01:00
Tomas Votruba
126361c630 update name attribude on its change 2019-03-18 16:05:20 +01:00
Tomas Votruba
877c84fd59 add test for #1225 2019-03-18 15:48:42 +01:00
Tomas Votruba
0834d7bbcf improve RenameMethodCallRectorTest 2019-03-16 12:00:31 +01:00
Tomas Votruba
cce3bc22bd fix PseudoNamespaceToNamespaceRector for docblocks 2019-03-16 01:26:35 +01:00
Tomas Votruba
3aad57ab4e add function to RenameClass 2019-03-16 01:26:35 +01:00
Tomas Votruba
6b58c4b1ca make twig-related doc test fail 2019-03-16 01:26:35 +01:00
Soner Sayakci
6efefdb4db Add RenameMethodCallRector, fixes #1210 2019-03-15 23:04:55 +01:00
Jáchym Toušek
74a6524cf8
Add test 2019-03-15 16:29:57 +01:00
Jáchym Toušek
ddf42f75d5
Add failing test 2019-03-15 16:28:16 +01:00
Tomas Votruba
115195c68d refer tested Rector class in annotation 2019-03-14 16:28:39 +01:00
Tomas Votruba
d9b9193e3b Add FunctionToNewRector 2019-03-10 12:52:47 +00:00
Tomas Votruba
a33fd02ece remove unused public methods 2019-03-09 18:08:38 +00:00
Tomas Votruba
c8478557d4 Add RemoveTraitRector 2019-03-09 18:02:18 +00:00
Tomas Votruba
b419f625c7 add Laravel 5.0, 5.1 and 5.2 sets 2019-03-09 14:41:11 +00:00
Tomas Votruba
a7073c2935 rename AnnotationReplacerRector to RenameAnnotationRector 2019-03-09 13:15:14 +00:00
Tomas Votruba
02836ab9c3 rename ClassConstantReplacerRector to RenameClassConstantRector 2019-03-09 13:06:16 +00:00
Tomas Votruba
63629492a3 rename PropertyNameReplacerRector to RenamePropertyRector 2019-03-09 13:04:33 +00:00
Tomas Votruba
7ef82ebe79 rename NamespaceReplacerRector to RenameNamespaceRector 2019-03-09 13:02:18 +00:00
Tomas Votruba
c6628917f2 rename StaticMethodReplacerRector to RenameStaticMethodRector 2019-03-09 12:56:58 +00:00
Tomas Votruba
6f7ea8f1a2 rename MethodNameReplacerRector to RenameMethodRector 2019-03-09 12:56:58 +00:00
Tomas Votruba
2cfea9d710 rename ClassReplacerRector to RenameClassRector 2019-03-09 12:56:58 +00:00
Tomas Votruba
7890135aff rename FunctionReplaceRector to RenameFunctionRector 2019-03-09 12:56:58 +00:00
Tomas Votruba
f13843396e add remove options argument to laravel57 2019-03-09 00:09:41 +00:00
Tomas Votruba
963c7bb4c0 Add remove by name to ArgumentRemoverRector 2019-03-08 23:56:38 +00:00
Tomas Votruba
28b7a6c0cf Make ArgumentAdder skip existing params 2019-03-08 23:56:38 +00:00
Tomas Votruba
e1e19db873 add argument adder Laravel rules 2019-03-08 20:56:34 +00:00