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
Jan Mikeš
82ad572707
Changed docker image for easier extending
2019-05-03 18:51:33 +02:00
Tomas Votruba
7046f47dad
remove clutter from README rector description
2019-05-03 15:51:39 +02:00
Tomas Votruba
de90fd6d66
3 steps now
2019-05-03 15:49:06 +02:00
Tomas Votruba
e7f420d484
shorten readme sample
2019-05-03 15:48:22 +02:00
Tomáš Votruba
5c7c48096a
Merge pull request #1377 from rectorphp/import-func
...
Add function support to ImportFullyQualifiedNamesRector
2019-05-03 00:37:04 +02:00
Tomas Votruba
b63a0821c8
Add function support to ImportFullyQualifiedNamesRector
2019-05-03 00:10:27 +02:00
Tomas Votruba
c2495c1759
update CHANGELOG for 0.4.12
v0.4.12
2019-05-02 01:59:42 +02:00
Tomas Votruba
4317596fd1
update docs
2019-05-02 01:56:58 +02:00
Tomáš Votruba
89e87c8af4
Fix file removal in MultipleClassFileToPsr4ClassesRector ( #1375 )
...
Fix file removal in MultipleClassFileToPsr4ClassesRector
2019-05-02 01:51:56 +02:00
Tomas Votruba
bac303c52f
remove original file if in different name - in MultipleClassFileToPsr4ClassesRector
2019-05-02 01:32:33 +02:00
Tomas Votruba
d7705c1bbb
composer: add php-doc-parser
2019-05-01 20:28:08 +02:00
Tomas Votruba
59a29eff95
add AttributeAwareDeprecatedTagValueNode [ closes #1366 ]
2019-05-01 20:26:23 +02:00
Tomas Votruba
f409a5fc70
fix already imported
2019-05-01 19:31:44 +02:00
Tomas Votruba
8ca0768040
fix already used names
2019-05-01 18:01:51 +02:00
Pierre du Plessis
d02545ecb5
Don't set class and method attributes for anpnymous class methods
2019-05-01 15:39:09 +02:00
Tomas Votruba
a1d600fc2c
add failing test case
2019-05-01 14:57:36 +02:00
Tomas Votruba
87635a556b
import just once
2019-05-01 14:53:58 +02:00
Tomáš Votruba
d2e319a1c5
make ImportFullyQualifiedNamesRector take into account existing imports on combination of PHP and doc block ( #1370 )
...
make ImportFullyQualifiedNamesRector take into account existing imports on combination of PHP and doc block
2019-05-01 14:38:50 +02:00
Tomas Votruba
3dcb1bf35f
make ImportFullyQualifiedNamesRector take into account existing imports on combination of PHP and doc block
2019-05-01 14:37:04 +02:00
Tomáš Votruba
4d3f881ee5
[CodingStyle] ImportsInClassCollection fixes ( #1369 )
...
[CodingStyle] ImportsInClassCollection fixes
2019-05-01 14:15:31 +02:00
Tomas Votruba
c5fc331857
add ImportsInClassCollection
2019-05-01 13:51:56 +02:00
Tomas Votruba
85ff969f30
[CodingStyle] Fix ImportFullyQualifiedNamesRector for multiple same-ending doc types
2019-05-01 13:51:38 +02:00
Tomáš Votruba
ea1a151897
[CodingStyle] Fix ImportFullyQualifiedNamesRector for self imports ( #1368 )
...
[CodingStyle] Fix ImportFullyQualifiedNamesRector for self imports
2019-05-01 11:43:14 +02:00
Tomas Votruba
c15c8b1992
[CodingStyle] Fix ImportFullyQualifiedNamesRector for self imports
2019-05-01 11:30:06 +02:00
Tomáš Votruba
39dab133fa
[CodingStyle] Fix interface short name identical with class name in ImportFullyQualifiedNamesRector ( #1365 )
...
[CodingStyle] Fix interface short name identical with class name in ImportFullyQualifiedNamesRector
2019-05-01 00:58:35 +02:00