Tomas Votruba
324c2b2192
[MagicDisclosure] fixes ( #3863 )
2020-08-01 18:59:36 +02:00
Tomas Votruba
800abda3d2
[MagicDisclosure] Improve naming ( #3862 )
...
* add FluentChain keywords together, to make easier to find the classes
* decopule AbstractFluentChainMethodCallRector
2020-08-01 15:34:08 +00:00
Tomas Votruba
4624778cb0
[MagicDisclosure] Fluent refactoring ( #3861 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-01 16:57:37 +02:00
Tomas Votruba
55acb3578a
[MagicDisclosure] Add SetterOnSetterMethodCallToStandaloneAssignRector ( #3860 )
...
* [MagicDisclosure] Add MethodCallOnSetterMethodCallToStandaloneAssignRector
* merge ChainMethodCallManipulator to ChainMethodCallNodeAnalyzer for better DX
* [MagicDisclosure] Add in arg defluent
* rebase
2020-08-01 11:41:16 +00:00
Tomas Votruba
8c5fdca387
[MagicDisclosure] Add support for child parent class types ( #3859 )
2020-08-01 10:03:21 +02:00
Tomas Votruba
631fa9449f
[MagicDisclosure] Drop type scoping from ReturnThisRemoveRector, as always localy scope ( #3858 )
2020-08-01 09:06:10 +02:00
Tomas Votruba
8b42e67744
[MagicDisclosure] Skip getters ( #3856 )
2020-08-01 00:01:52 +00:00
Tomas Votruba
86c2958501
[MagicDisclosure] Add last method with differnt type support ( #3854 )
2020-07-31 23:36:13 +00:00
Tomas Votruba
76b4ab7586
[Defluent] New set + various improvements ( #3853 )
...
* remove dead-else branch
* add defluent set
* fix type to match
* use constants over strings
* fixup! use constants over strings
* Add fluent as arg support to DefluentMethodCallRector
Co-authored-by: rector-bot <tomas@getrector.org>
2020-07-31 23:08:16 +00:00
TomasVotruba
ff8d6d265b
[MagicDisclosure] fluent removal improvements
2020-07-31 19:04:51 +02:00
TomasVotruba
55b60ead93
improve configured code samples to use constants over direct values
2020-07-30 17:46:36 +02:00
TomasVotruba
fe72e003ed
use constants in configs
2020-07-30 13:53:53 +02:00
TomasVotruba
32ee83de05
add ChangeServiceArgumentsToMethodCallRector
2020-07-30 00:24:00 +02:00
TomasVotruba
99db894192
restore types
2020-07-27 10:44:51 +02:00
dobryy
f37cd4cac3
[Order] Apply rule
2020-07-26 15:11:41 +02:00
TomasVotruba
7ed4cb19c4
simplify config globs
2020-07-25 20:14:28 +02:00
TomasVotruba
0188d802d2
use SmartFileSystem over Nette FileSystem
2020-07-24 14:39:10 +02:00
TomasVotruba
0944b75f7e
correct namespace in configs
2020-07-18 11:58:17 +02:00
TomasVotruba
0c816d60f8
[config] switch rules config from YAML to PHP
2020-07-16 12:48:54 +02:00
TomasVotruba
7c62955a53
remove MethodBody to ClassMethod
2020-07-01 01:44:14 +02:00
TomasVotruba
b0250a558c
cover return new case
2020-06-30 20:21:24 +02:00
TomasVotruba
a8a6e7bcad
rename file to fileInfo
2020-06-30 01:45:05 +02:00
TomasVotruba
0cb82c2a6f
apply new Naming_
2020-06-30 00:57:38 +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