TomasVotruba
c504062ec2
add typed property if on PHP 7.4
2020-06-24 15:09:50 +02:00
TomasVotruba
c0cc31aa7e
fix php parser factory name
2020-06-21 13:47:24 +02:00
TomasVotruba
75b8d37e4b
extend test case
2020-06-19 12:06:46 +02:00
TomasVotruba
34c40428f3
add VIRTUAL_NODE constant, prevent double post traversing nodes
2020-06-19 01:35:11 +02:00
TomasVotruba
de0dbc6876
add BreakingREmovalGuard, CommentableNodeResolver, and @fixme to un-removable nodes in ini_get/ini_set
2020-06-18 12:07:26 +02:00
TomasVotruba
03cf74ce31
add static call check
2020-06-18 01:12:19 +02:00
TomasVotruba
54cf6f02d7
[README] Add Zenika sponsor
2020-06-17 14:55:09 +02:00
TomasVotruba
aff10cf014
[Autodiscovery] Do not nest already correct name
2020-06-10 19:59:15 +02:00
TomasVotruba
64215c43e6
[PHP 7.4] Prevent already used property name
2020-06-07 01:18:09 +02:00
TomasVotruba
212cbd209e
[PHP 7.4] Add conflicting short import typed property fix
2020-06-06 18:20:00 +02:00
TomasVotruba
c4595c7b69
update to php-parser 4.5
2020-06-03 11:39:18 +02:00
TomasVotruba
4fb1f982f9
[CodingStyle] Add RemoveDoubleUnderscoreInMethodNameRector
2020-05-31 18:03:31 +02:00
Tomas Votruba
8c83b60aea
Merge pull request #3415 from rectorphp/coding-style-under
2020-05-25 17:38:33 +02:00
TomasVotruba
e3463b1073
add comments constant to prevent typos
2020-05-25 17:03:48 +02:00
TomasVotruba
ec3b928c7d
[CodingStyle] UnderscoreToCamelCaseVariableAndPropertyNameRector
2020-05-25 00:51:08 +02:00
TomasVotruba
387ded5ecc
[Kdyby to Contributte] Add Subscriber migration
2020-05-24 18:52:54 +02:00
Tim Ward
c772ce2f6b
Fix code style
2020-05-20 15:45:12 -04:00
Tim Ward
4899b1217c
Guard against ShouldNotHappenException
...
See #3391
2020-05-20 15:05:31 -04:00
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