TomasVotruba
ffeb6c9f53
[PSR-4] Add test for NormalizeNamespaceByPSR4ComposerAutoloadRector
2020-05-14 00:35:00 +02:00
TomasVotruba
87448dfa37
[PHP 5.5] Fix StringToClass name whilst import
2020-05-13 16:05:11 +02:00
kodiakhq[bot]
dbfaf6e11d
Merge pull request #3358 from rectorphp/functions-to-static-class
...
[Legacy] Add FunctionToStaticMethodRector
2020-05-13 13:59:20 +00:00
TomasVotruba
0c67709fd0
[Legacy] Add FunctionToStaticMethodRector
2020-05-13 15:50:30 +02:00
Bart Reunes
e2409b791e
Create an empty node before moving on
...
If we don't redeclare the $phpDocInfo variable, it will fail at the next line, as calling a method on null will fail.
2020-05-12 18:06:49 +02:00
TomasVotruba
8017402e60
[CodingStyle] Add SplitGroupedUseImportsRector
2020-05-12 12:35:57 +02:00
TomasVotruba
a7b9019437
making RemoveUnusedAliasRector case insensitive
2020-05-09 22:29:47 +02:00
TomasVotruba
f229a7a3f5
Fix RemoveUnusedAliasRector for lower/upper case
2020-05-09 21:32:57 +02:00
TomasVotruba
9c65e7ac75
[SOLID] Add RepeatedLiteralToClassConstantRector
2020-05-06 23:36:28 +02:00
TomasVotruba
c890e577fa
drop partial import tests
2020-05-06 17:37:27 +02:00
TomasVotruba
e8ac877527
remove @todo from fixtures
2020-05-05 14:24:56 +02:00
TomasVotruba
ef5501d06c
various cs cleanup
2020-05-03 21:33:36 +02:00
TomasVotruba
8e0deaa2b4
handle Symplify 7.3 deprecations in CS
2020-05-03 21:10:05 +02:00
TomasVotruba
d539160980
make few rules silent on no change to prevent false positive reports on changed nodes
2020-05-03 13:18:59 +02:00
TomasVotruba
3d5c07f191
add support for alias in PropertyNaming
2020-05-03 13:00:29 +02:00
TomasVotruba
00b3184eb3
[Naming] Add RenamePropertyToMatchTypeRector
2020-05-02 22:36:11 +02:00
TomasVotruba
1612ef2165
[PHP 8.0] Add attributes v2
2020-04-29 00:25:45 +02:00
TomasVotruba
1bf62ac1c7
[cs] sort private methods by call order and property by complexity
2020-04-26 02:57:47 +02:00
TomasVotruba
bf4265cd2c
rename FunctionReflectionHelper to FunctionAnnotationResolver, cover with test
2020-04-24 14:07:55 +02:00
TomasVotruba
c84f5c171b
simplify throws class resolving
2020-04-24 01:21:05 +02:00
TomasVotruba
8082b3a2f2
[PHP 8.0] Add str_starts_with
2020-04-23 23:06:36 +02:00
TomasVotruba
192c4464ec
various improvements
2020-04-19 23:17:01 +02:00
TomasVotruba
296de13121
[PHPOffice] Init migration to PHPSpreadSheets
2020-04-15 18:48:58 +02:00
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