Tomas Votruba
0513315056
Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node ( #4522 )
...
* Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node
* update DecoupleClassMethodToOwnClassRector
* [ci] add rebase jobp
* disable fail fast for unit tests
* misc
2020-10-31 12:59:40 +00:00
Tomas Votruba
91a354c080
[NetteCodeQuality] Fix ChangeFormArrayAccessToAnnotatedControlVariableRector for in-closure ( #4506 )
...
* [NetteCodeQuality] Fix ChangeFormArrayAccessToAnnotatedControlVariableRector for in-closure
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* fix name
* fix unknown mixed type on fluent
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-29 21:25:35 +00:00
Tomas Votruba
a1e50263d2
[cs] improve configured rules types ( #4491 )
...
* [cs] improve configured rules types
* [ci] update env variable
2020-10-27 14:00:39 +00:00
Tomas Votruba
a9f737bcaf
decouple CommentRemover ( #4412 )
2020-10-15 11:50:15 +02:00
Tomas Votruba
8af70b5ac0
[Defluent] Refactoring to multiple rules ( #4400 )
...
* [Defluent] Refactoring to multiple rules
* [Defluent] Decouple defluent-only set, it deserved to have own domain
* cleanup
* [rector] cleanup
* [cs] cleanup
* fixup! cleanup
* static fixes
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-14 04:24:29 +00:00
Abdul Malik Ikhsan
ae816c2c3d
Fixes #4337 : Make Option::SKIP works again with ParameterProvider ( #4339 )
2020-10-01 18:55:10 +02:00
Tomas Votruba
52ccfc0527
[DX] move Nette FileSytem to SmartFileSystem DI ( #4262 )
...
* move Nette FileSytem to SmartFileSystem DI
* move Symfony FileSytem to SmartFileSystem
* [ci] run rector diretly, without composer wrap
2020-09-19 09:27:29 +00:00
Tomas Votruba
042f08f71b
Drop YAML config support ( #4081 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-30 23:29:39 +02:00
Tom Pavelec
36b24b2bfc
fix: swapped naming of camel and pascal cases ( #4047 )
2020-08-28 18:07:15 +02:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type ( #3973 )
2020-08-18 17:57:30 +02:00
Tomas Votruba
ec28719c6c
make use of NodeConnectingVisitor + improve generate Rector docs ( #3925 )
2020-08-07 11:30:05 +02:00
TomasVotruba
7c01151ec6
Move Core Rector rules to Generic namespace, to prevent mixup with Core code
2020-07-29 02:05:52 +02:00
TomasVotruba
743e9c75a3
[Nette 3.0] Add container builder extends to helpers
2020-07-29 01:21:59 +02:00
TomasVotruba
2eddb274c2
use standard __ for vars
2020-07-28 23:54:13 +02:00
TomasVotruba
cdd3935ef6
add RecipeOption to prevent typos; first attempt to use constant-named parameters
2020-07-28 17:46:48 +02:00
TomasVotruba
99db894192
restore types
2020-07-27 10:44:51 +02:00
TomasVotruba
7fbdab7a8f
fix removing of doc
2020-07-26 19:29:50 +02:00
TomasVotruba
0188d802d2
use SmartFileSystem over Nette FileSystem
2020-07-24 14:39:10 +02:00
TomasVotruba
3a9375007e
decouple Set package
2020-07-21 01:39:24 +02:00
TomasVotruba
6a4792abf4
apply new naming rule
2020-07-19 23:36:10 +02:00
TomasVotruba
bda3e5aa28
load rector.php config
2020-07-18 21:15:27 +02:00
TomasVotruba
bc0d9b3675
from YAML to PHP sets
2020-07-18 19:56:27 +02:00
TomasVotruba
231ae7dc77
make ReturnArrayClassMethodToYieldRector work with multi return
2020-07-09 01:23:10 +02:00
dobryy
78e518c105
check minimal php version
2020-07-08 20:36:27 +02:00
TomasVotruba
a0fde28793
remove fixes issue test case
2020-07-02 15:22:45 +02:00
TomasVotruba
3da25665ba
remove covered issue
2020-07-02 15:21:23 +02:00
TomasVotruba
f1d54301a3
remove unused RectorContainerFactoryTest, also createFromSet() method
2020-07-02 15:19:07 +02:00
TomasVotruba
aed222aecc
remove confirmed test case
2020-07-02 15:09:47 +02:00
TomasVotruba
9a75aaa4b9
rename issue 2863 to CommentPreserving
2020-07-02 13:55:39 +02:00
TomasVotruba
574de08dfa
remove issue-tests, already covered in specific rule tests
2020-07-02 13:40:51 +02:00
TomasVotruba
547e15099d
use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion
2020-06-30 01:34:19 +02:00
TomasVotruba
477308c030
[Naming] Add RenameVariableToMatchNewTypeRector
2020-06-29 23:09:51 +02:00
TomasVotruba
828d8cf67f
prevent remove false template
2020-06-29 13:50:36 +02:00
TomasVotruba
e060d49a30
rename file to fileInfo to reflect the type
2020-06-28 23:36:32 +02:00
TomasVotruba
bba3327993
merge template annotation rector version to 5
2020-06-28 23:26:45 +02:00
TomasVotruba
f1ee5065bc
move ReturnThisRemoveRector to MagicDisclosure
2020-06-28 20:08:08 +02:00
TomasVotruba
ec99343c38
move MagicDisclosure rules to own package
2020-06-28 19:59:06 +02:00
TomasVotruba
4755ba8c88
move FluentInterfaceClass to MagicDisclosure package
2020-06-28 19:41:54 +02:00
TomasVotruba
fae704b333
rename FluentReplaceRector to DefluentMethodCallRector
2020-06-28 19:21:28 +02:00
TomasVotruba
e9fcf8481d
skip parent ctor in AnnotatedPropertyInjectToConstructorInjectionRector
2020-06-26 01:50:05 +02:00
TomasVotruba
93962b9a51
skip property without doc
2020-06-26 00:58:39 +02:00
TomasVotruba
fce9654044
skip AnnotatedPropertyInjectToConstructorInjectionRector in case of child __construct
2020-06-26 00:52:53 +02:00
TomasVotruba
7f49658112
change test(string ) to test(SmartFileInfo ) in tests
2020-06-25 20:02:36 +02:00
TomasVotruba
90d9c2d7f8
fix cs
2020-06-25 16:59:19 +02:00
TomasVotruba
5a0a86024d
make sure interface type is checked
2020-06-25 01:15:01 +02:00
TomasVotruba
c504062ec2
add typed property if on PHP 7.4
2020-06-24 15:09:50 +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
84d9e6829f
add ini removal edge-case
2020-06-18 01:22:06 +02:00
TomasVotruba
8ea0051df5
add OnlyRuleResolver to prevent typos and make use of short slash-less syntax
2020-06-18 00:19:13 +02:00
TomasVotruba
1dd4c70483
Add test case for #3514
2020-06-15 17:44:25 +02:00