17 Commits

Author SHA1 Message Date
Tomas Votruba
09f67341ee
Add set-path constant support (#3886) 2020-08-03 21:14:41 +02:00
Tomas Votruba
e35131524c
[Nette 3.0] Various rules updates (#3878)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-03 09:26:01 +02:00
Tomas Votruba
a84528af9e
[Docs] Show constants over values (#3866)
* [docs] decouple RectorCodeSamplePrinter

* decopule printers

* make sure constnat are used in docs

* update docs
2020-08-01 20:55:31 +00: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
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
dobryy
3aa2fc8727
[Order] Order properties and constants with respect of complexity and position (#3826)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-07-31 22:20:45 +02:00
TomasVotruba
0647a0e922 update docs to use call() 2020-07-30 17:42:01 +02:00
TomasVotruba
fe72e003ed use constants in configs 2020-07-30 13:53:53 +02:00
TomasVotruba
b376dd8169 [SymonfyPhpConfig] Add ChangeCallByNameToConstantByClassRector 2020-07-30 01:38:09 +02:00
TomasVotruba
32ee83de05 add ChangeServiceArgumentsToMethodCallRector 2020-07-30 00:24:00 +02:00
TomasVotruba
66c80eb2ce [SymfonyPhpConfig] Add ChangeServiceArgumentsToMethodCallRector 2020-07-29 21:34:09 +02:00
TomasVotruba
d4fc22bd55 fix typo 2020-07-29 10:33:10 +02:00
TomasVotruba
99db894192 restore types 2020-07-27 10:44:51 +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
8d556bf2fc update docs with PHP snippets 2020-07-24 13:49:10 +02:00
TomasVotruba
78a0331708 [SymfonyPhpConfig] Add AddEmptyLineBetweenCallsInPhpConfigRector 2020-07-22 23:50:58 +02:00