Tomas Votruba
0f522332c5
Merge pull request #3364 from rectorphp/sylius-depre-custom
2020-05-13 17:42:22 +02:00
TomasVotruba
0e220550d8
[Sylius] Deprecate single custom rule, better handled by community
2020-05-13 17:40:14 +02:00
kodiakhq[bot]
aefb76ee1f
Merge pull request #3363 from rectorphp/silvestripe-depre
...
[Silverstripe] deprecate, handled by community
2020-05-13 15:39:42 +00:00
TomasVotruba
a3bfaed373
[Silverstripe] deprecate, handled by community
2020-05-13 17:35:28 +02:00
Damian Dziaduch
d40dcfae6b
Generate rectors when used as dependency
...
Current solution didn't work when I tried to generate rector when it was used as my project dependency.
This fix aims to support both solutions - as project dependency or as standalone project.
2020-05-13 16:51:22 +02:00
kodiakhq[bot]
c9c2287d70
Merge pull request #3362 from rectorphp/class-import-conflict
...
[PHP 5.5] Fix StringClassNameToClassConstantRector for importing freshly added class names
2020-05-13 14:08:47 +00:00
TomasVotruba
87448dfa37
[PHP 5.5] Fix StringToClass name whilst import
2020-05-13 16:05:11 +02:00
TomasVotruba
6ae80bc07a
[Legacy] Add FunctionToStaticMethodRector
2020-05-13 16:03:33 +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
rector-bot
f107ee1bf3
fixup! fixup! [Legacy] Add FunctionToStaticMethodRector
2020-05-13 13:55:36 +00:00
rector-bot
16da4594f4
fixup! [Legacy] Add FunctionToStaticMethodRector
2020-05-13 13:54:39 +00:00
TomasVotruba
0c67709fd0
[Legacy] Add FunctionToStaticMethodRector
2020-05-13 15:50:30 +02:00
Tomas Votruba
2d26afe0cb
Merge pull request #3361 from MetalArend/patch-2
2020-05-12 21:47:15 +02:00
Bart Reunes
6f71e9d672
Check if $phpDocInfo is actually not null
2020-05-12 19:01:17 +02:00
kodiakhq[bot]
22255fd284
Merge pull request #3359 from MetalArend/patch-1
...
Rule "Rector\ClassConst\VarConstantCommentRector" keeps throwing "could not process" errors.
2020-05-12 16:12:06 +00: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
310ae4a580
remove src dir as well
2020-05-12 17:22:28 +02:00
TomasVotruba
fdf8f9ffa3
remove dead directory from sonar paths
2020-05-12 17:18:40 +02:00
TomasVotruba
7fd733531d
update docs
2020-05-12 17:09:29 +02:00
TomasVotruba
cb406e4d64
typo
2020-05-12 17:09:12 +02:00
TomasVotruba
cf6d2e0d02
move MinimalScope to Privatization, same purpose
2020-05-12 17:08:21 +02:00
kodiakhq[bot]
7bc3703dc0
Merge pull request #3357 from rectorphp/fix-create-mock
...
[PHPUnit] Fix CreateMockToCreateStubRector outside PHPUnit test case
2020-05-12 14:47:23 +00:00
TomasVotruba
97f8aece27
add test case for #3157
2020-05-12 16:41:59 +02:00
TomasVotruba
b5846db7a9
[PHPUnit] Fix CreateMockToCreateStubRector outside PHPUnit test case
2020-05-12 16:39:17 +02:00
kodiakhq[bot]
429b6c30b2
Merge pull request #3356 from rectorphp/fix-if
...
[CodeQuality] Fix SimplifyIfReturnBoolRector for else if
2020-05-12 14:34:17 +00:00
TomasVotruba
84596b767f
[CodeQuality] Fix SimplifyIfReturnBoolRector for else if
2020-05-12 16:30:20 +02:00
kodiakhq[bot]
862379ba49
Merge pull request #3355 from rectorphp/docs-counter
...
[docs] add counter next to Rector group
2020-05-12 14:17:48 +00:00
TomasVotruba
0089e6fe30
[docs] add counter next to Rector group
2020-05-12 16:09:21 +02:00
kodiakhq[bot]
8da1010367
Merge pull request #3351 from rectorphp/split-group-use
...
[CodingStyle] Add SplitGroupedUseImportsRector
2020-05-12 10:41:54 +00:00
TomasVotruba
ec5929df96
remove PostRectorInterface from docs
2020-05-12 12:38:33 +02:00
TomasVotruba
8017402e60
[CodingStyle] Add SplitGroupedUseImportsRector
2020-05-12 12:35:57 +02:00
Tomas Votruba
625df82582
Merge pull request #3348 from rectorphp/psr4-classes-instant
2020-05-11 18:13:09 +02:00
TomasVotruba
e81044fd3b
decouple ClassRenamer
2020-05-11 18:08:13 +02:00
TomasVotruba
0c12f78a0f
fix 'show' command, so it skips internal rectors
2020-05-11 17:12:27 +02:00
TomasVotruba
91e58b197a
bump to stable symplify
v0.7.25
2020-05-11 16:39:41 +02:00
TomasVotruba
5912cd0cc6
lock symplify version to last patch
v0.7.24
2020-05-11 15:06:56 +02:00
TomasVotruba
a4bd00fc3f
remove unused service from config
v0.7.23
2020-05-11 14:49:30 +02:00
kodiakhq[bot]
cdb8188bbd
Merge pull request #3346 from rectorphp/param-guard
...
Add symplify/parameter-name-guard
2020-05-11 12:41:08 +00:00
TomasVotruba
71bba33ad6
Add symplify/parameter-name-guard
2020-05-11 14:37:23 +02:00
Damian Dziaduch
148ece8b9c
Fix invalid path
...
Generator was not working
2020-05-11 10:54:06 +02:00
Tomas Votruba
9516ac5aa4
Merge pull request #3343 from ddziaduch/patch-1
2020-05-11 10:33:39 +02:00
Tomas Votruba
f36f759f60
Merge pull request #3344 from ddziaduch/patch-2
2020-05-11 10:33:15 +02:00
Damian Dziaduch
ff8f02c0cb
Fix link and it's name
...
It was throwing 404
2020-05-11 10:29:12 +02:00
Damian Dziaduch
38c8e6a007
Alter command name
...
This change will suggest to use command given in the output of the vendor/bin/rector
2020-05-11 10:27:32 +02:00
TomasVotruba
2bb6a94aaf
fix deps due to slevomat lockdown
2020-05-10 23:22:02 +02:00
TomasVotruba
e33cb3f1ce
Merge branch 'deps'
2020-05-10 23:14:37 +02:00
TomasVotruba
a2cf111e7d
bump deps
2020-05-10 23:14:25 +02:00
Tomas Votruba
2861eaabc3
Merge pull request #3341 from rectorphp/fix-namespace
2020-05-10 23:14:08 +02:00
TomasVotruba
76c62e3445
update PHPStan
2020-05-10 23:10:58 +02:00
TomasVotruba
db7248135a
add multi-paths support
2020-05-10 22:33:39 +02:00