Tomáš Votruba
de4cca7f3b
Merge pull request #1414 from rectorphp/split-all-classlike-psr4
...
[PSR-4 Split] Split interfaces and traits as well
2019-05-12 18:45:22 +02:00
Tomáš Votruba
2c5d7fa610
Merge pull request #1417 from rectorphp/bug-traits
...
Add trait analysis without class dependency
2019-05-12 11:08:21 +02:00
Tomas Votruba
d280fd6ebe
add trait scope without need for class
2019-05-12 10:45:59 +02:00
Tomas Votruba
83f527d571
use stable php-parser with arrow functoin
2019-05-11 15:07:00 +02:00
Tomáš Votruba
47ff59851a
Merge pull request #1415 from DaveLiddament/patch-1
...
Removed duplicated code
2019-05-11 14:33:25 +02:00
Tomáš Votruba
72c278d741
[PHP 7.4] Add ClosureToArrowFunctionRector ( #1410 )
...
[PHP 7.4] Add ClosureToArrowFunctionRector
2019-05-11 14:32:50 +02:00
Dave Liddament
c3db77127d
Removed duplicated code
2019-05-11 13:21:01 +01:00
Tomas Votruba
ca289def87
[TypeDeclaration] Add AddFunctionReturnTypeRector
2019-05-11 12:56:13 +02:00
Jan Mikeš
31d2ce4d3b
[PSR-4 Split] Split interfaces and traits as well
2019-05-11 00:29:14 +02:00
Tomáš Votruba
3c1cf11e5c
Merge pull request #1412 from mxr576/issue/1409
...
[ImportFullyQualifiedNamesRector] Allow to opt-out from doc block modification
2019-05-10 23:25:43 +02:00
Dezső BICZÓ
6d7ef0c8e5
Allow to opt-out from doc block modification
...
#1409
2019-05-10 18:42:01 +02:00
Tomáš Votruba
548d13276e
[TypeDeclaration] Add AddFunctionReturnTypeRector ( #1406 )
...
[TypeDeclaration] Add AddFunctionReturnTypeRector
2019-05-10 15:16:09 +02:00
Tomas Votruba
83d2219ca7
[TypeDeclaration] Add AddFunctionReturnTypeRector
2019-05-10 14:55:55 +02:00
Tomas Votruba
45940ade54
use phpstan 0.11.6
2019-05-10 12:39:37 +02:00
Tomáš Votruba
ffb07eb5b9
[TypeDeclaration] Create new set ( #1404 )
...
[TypeDeclaration] Create new set
2019-05-09 14:19:54 +02:00
Tomáš Votruba
69c7a0ed87
Merge pull request #1382 from rectorphp/class-renaming-support
...
Add support to rename classes and it's namespace
2019-05-09 12:29:24 +02:00
Tomas Votruba
e0af68e5fd
[TypeDeclaration] Decouple new set
2019-05-09 12:14:36 +02:00
Tomáš Votruba
4d46de5453
[Symfony 4.3] Add swapped dispatch() arguments for EventDispatcher ( #1403 )
...
[Symfony 4.3] Add swapped dispatch() arguments for EventDispatcher
2019-05-09 12:06:59 +02:00
Tomas Votruba
3ab113cf53
[Symfony] Add MakeDispatchFirstArgumentEventRector
2019-05-09 11:58:44 +02:00
Tomas Votruba
b043688e13
[Symfony 4.3] Add rename of event classes
2019-05-09 11:42:28 +02:00
Jan Mikeš
9958a44ec3
Added support for renaming class and it’s namespace
2019-05-08 13:00:28 +02:00
Tomáš Votruba
fac1503915
Fix travis for Laravel self-run ( #1398 )
...
Fix travis for Laravel self-run
2019-05-07 17:12:47 +02:00
Tomas Votruba
e2d2d7ed5c
fix FileProcessor node need for node scope resolver
2019-05-07 16:54:32 +02:00
Tomas Votruba
5eed9b2788
gitignore: add laravel-dir
2019-05-07 16:54:32 +02:00
Tomáš Votruba
f7bbd03d61
Merge pull request #1397 from rectorphp/dead-fixes
...
[DeadCode] Various set fixes
2019-05-07 16:16:55 +02:00
Tomas Votruba
adc50652a0
fix CallableThisArrayToAnonymousFunctionRector for invalid array items
2019-05-07 16:03:04 +02:00
Tomas Votruba
de331920c8
fix CallableThisArrayToAnonymousFunctionRector for empty first item in array
2019-05-07 15:52:19 +02:00
Tomas Votruba
b8b37303dd
[ref] apply code-quality
2019-05-07 15:32:27 +02:00
Tomas Votruba
2c03baf350
fix anonymous class for RemoveUnusedPrivateMethodRector
2019-05-07 14:52:54 +02:00
Tomas Votruba
35c3ed6764
skip anonymous class in RemoveUnusedPrivatePropertyRector
2019-05-07 14:43:47 +02:00
Tomas Votruba
3d6e45e146
fix RemoveDoubleAssignRector in different scopes
2019-05-07 14:41:11 +02:00
Tomas Votruba
e38feaf055
decouple FlowOfControlLocator
2019-05-07 14:41:11 +02:00
Tomas Votruba
bf8c0c0442
various cleanup
2019-05-07 14:41:11 +02:00
Tomas Votruba
cc75a2173a
travis: use laravel dev
2019-05-07 14:41:11 +02:00
Tomas Votruba
c324a63512
[DeadCode] Fix RemoveAndTrue to work only with real true values
2019-05-07 13:39:30 +02:00
Tomáš Votruba
df6fee747a
Merge pull request #1395 from LeSuisse/preserve-filemod
...
Preserve file permissions when updating a file
2019-05-07 05:51:49 +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
330d35bd2e
add null name check
2019-05-06 17:40:15 +02:00
Tomáš Votruba
3da39365b3
[DeadCode] Add RemoveDefaultArgumentValueRector ( #1392 )
...
[DeadCode] Add RemoveDefaultArgumentValueRector
2019-05-06 00:42:32 +02:00
Tomas Votruba
bd909ab3ef
[DeadCode] Add RemoveDefaultArgumentValueRector
2019-05-06 00:34:10 +02:00
Tomas Votruba
4f47659ce6
fix cs
2019-05-05 21:05:45 +02:00
Tomáš Votruba
cab1d89d43
fix ImportFullyQualifiedNamesRector on multiple files ( #1391 )
...
fix ImportFullyQualifiedNamesRector on multiple files
2019-05-05 20:54:10 +02:00
Tomas Votruba
b9b4c5c1b1
[cs] import namespaces
2019-05-05 20:48:46 +02:00
Tomas Votruba
bd87eadc55
fix ImportFullyQualifiedNamesRector on multiple files
2019-05-05 20:48:12 +02:00
Tomáš Votruba
c63e86bdbf
Merge pull request #1367 from pierredup/anonymous-class-in-method
...
[DeadCode] Anonymous class implementing an interface doesn't respect interface signature
2019-05-05 20:30:42 +02:00
Tomáš Votruba
1c46a12f88
Merge pull request #1390 from rectorphp/clean-code-and
...
[CodeQuality] Add AndAssignsToSeparateLinesRector
2019-05-05 19:59:35 +02:00
Tomas Votruba
21de9b6e34
fix level miss match on create-rector
2019-05-05 19:56:40 +02:00
Tomas Votruba
d428d7e15f
[CodeQuality] Add AndAssignsToSeparateLinesRector
2019-05-05 19:52:12 +02:00
Tomáš Votruba
dfc1435e92
Merge pull request #1389 from rectorphp/dead-code-true-and
...
[DeadCode] Add RemoveAndTrueRector
2019-05-05 18:58:56 +02:00
Tomas Votruba
4f5469f62d
[DeadCode] Add RemoveAndTrueRector
2019-05-05 18:52:06 +02:00