TomasVotruba
4c4e56b168
make use of isStaticCallNamed()
2020-04-05 00:52:49 +02:00
TomasVotruba
cf28520234
improve performance of RemoveUnusedAliasRector by skipping un-aliases use
2020-04-02 12:12:45 +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
a8da478d44
fix Safe\function conflicts
2020-03-31 17:46:04 +02:00
TomasVotruba
9a9f777513
[DeadCode] Add RemoveDeadRecursiveClassMethodRector
2020-03-31 15:17:42 +02:00
TomasVotruba
058f1c7932
[Privatization] Add PrivatizeLocalGetterToPropertyRector
2020-03-29 03:58:00 +02:00
TomasVotruba
6521583a40
fix importing of non-existing classes
2020-03-27 16:43:42 +01: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
eca4d54f58
add PR annotate workflow
2020-03-19 13:56:23 +01:00
Tomas Votruba
59cf0665cb
Merge pull request #3009 from Aerendir/AnnotateThrowables-support-this-same-class
...
[ReadyToBeMerged][AnnotateThrowables] Support `$this` calling a method of the same class
2020-03-09 16:17:19 +01:00
Aerendir
8be8bc73ed
Add failing test case for use of $this
in same class with assignment.
2020-03-07 12:09:35 +01:00
Aerendir
08b681999e
Add failing test case for use of $this
in the same class.
2020-03-07 12:08:55 +01:00
Aerendir
4b0d8ad213
Fix a small mispelling.
2020-03-06 17:45:27 +01:00
Aerendir
5bfe7a15d8
Very deep refactoring.
2020-03-06 10:48:58 +01:00
Aerendir
e88d18ca98
Clean tests
folder.
2020-03-05 14:25:49 +01:00
Aerendir
cc0fcb8446
Small refactorings.
2020-03-05 14:25:49 +01:00
Aerendir
1cbb1f1fe8
Support $this->method()
.
2020-03-05 14:25:49 +01:00
Aerendir
fe1a46e2b8
Apply fixes.
2020-03-05 10:05:35 +01:00
Aerendir
02673e6a77
Add doc comment to refactor()
method.
2020-03-05 09:58:41 +01:00
Aerendir
60e00df74c
Add link to regex101.com
.
2020-03-05 09:58:41 +01:00
Aerendir
547b4d40b5
Support ClassMethod
.
2020-03-05 09:58:41 +01:00
Aerendir
c3d23f2491
Support Assign
.
2020-03-05 09:58:36 +01:00
Aerendir
ec691ff260
Support throwing methods.
2020-03-04 17:13:51 +01:00
Aerendir
d7cd5c3cba
Complete refactoring.
2020-03-04 14:41:59 +01:00
Aerendir
d449075643
Support analysis of called functions.
2020-03-04 09:13:42 +01:00
TomasVotruba
5aab2cec96
improve NodeTypeResolver complexity
2020-03-01 01:22:10 +01:00
TomasVotruba
94610569e7
improve ReturnTypeDeclarationRector complexity
2020-03-01 00:46:14 +01:00
TomasVotruba
37eaf518db
improve RemoveUnusedAliasRector complexity
2020-03-01 00:38:46 +01:00
Aerendir
aa655dbee3
Support throw from the method of an instantiated class.
2020-02-21 23:54:23 +01:00
TomasVotruba
0e61d7e96f
[CodingStyle] Add CamelCaseFunctionNamingToUnderscoreRector
2020-02-21 02:50:54 +01:00
Aerendir
3e3445a255
Closes #2889 . Support static methods calls.
2020-02-20 17:16:30 +01:00
TomasVotruba
c25db0b56d
apply
2020-02-19 00:14:44 +01:00
Aerendir
082a3061bf
Fix mispelled Docblock
.
2020-02-17 17:00:37 +01:00
Aerendir
15f97ae2f3
AnnotateThrowablesRector
: Improve organization of tests.
2020-02-17 16:52:59 +01:00
TomasVotruba
1498108d95
fix single line comment
2020-02-17 00:03:28 +01:00
Tomas Votruba
58df5c5f31
Merge pull request #2859 from rectorphp/const-property
...
Apply properties to constants rule from SOLID
2020-02-16 17:51:17 +01:00
TomasVotruba
d1b4779889
apply properties to constants rule from SOLID
2020-02-16 17:47:00 +01:00
Aerendir
f734a93272
Make AnnotateThrowablesRector
continue on unhandled node types.
2020-02-15 00:56:09 +01:00
TomasVotruba
77c9d2924e
remove duplicated tests
2020-02-14 23:53:37 +01:00
TomasVotruba
69c18b87ca
fix fixtures
2020-02-14 23:50:42 +01:00
TomasVotruba
1c273c902c
fix namespace
2020-02-14 23:48:53 +01:00
TomasVotruba
401d0aeaf6
fix namespaces, fixtures, add getThrowsTypes()
2020-02-14 23:35:40 +01:00
TomasVotruba
3bb87fcc1c
correct location
2020-02-14 21:20:46 +01:00
TomasVotruba
3e5dd77bb6
move Rector-rule based packages from /packages to /rules
2020-02-11 13:41:37 +01:00