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
91bda1b75b
[NetteCodeQuality] Get component ( #3870 )
2020-08-02 11:39:52 +02:00
Tomas Votruba
fa2caf77ed
[NetteCodeQuality] Add ArrayAccessSetControlToAddComponentMethodCallRector ( #3867 )
2020-08-02 00:18:40 +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
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
631fa9449f
[MagicDisclosure] Drop type scoping from ReturnThisRemoveRector, as always localy scope ( #3858 )
2020-08-01 09:06:10 +02: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
bdb7256626
[Nette] Add ArrayDimFetchControlToGetComponentMethodCallRector
2020-07-30 22:11:52 +02:00
TomasVotruba
dc14ddd0b9
[PHP 8.0] Add ChangeSwitchToMatchRector
2020-07-30 18:19:53 +02:00
TomasVotruba
fe72e003ed
use constants in configs
2020-07-30 13:53:53 +02:00
TomasVotruba
3aa9b261a2
[config] switch from args to configure method call
2020-07-30 00:43:06 +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
f845935e4a
[Nette 3.0] Get config to merge with defaults
2020-07-28 17:46:48 +02:00
TomasVotruba
2059164fbb
add contribute class const evnet rename
2020-07-28 13:10:35 +02:00
Tomas Votruba
1743aa969c
Merge pull request #3808 from rectorphp/case-class
2020-07-27 20:46:15 +02:00
TomasVotruba
8c31bd27e4
[CodeQuality] Add case class name fix
2020-07-27 20:45:41 +02:00
zingimmick
b943ba59cf
Update doctrine/inflector requirement from ^1.3 to ^1.4|^2.0
2020-07-28 00:19:38 +08:00
TomasVotruba
c28a5a9746
[Celebrity] Merge to code-quality
2020-07-27 10:18:03 +02:00
TomasVotruba
8e1fb6d8e8
rename nette-application-code-quality to just nette-code-quality
2020-07-26 18:55:32 +02:00
TomasVotruba
86d8666438
[Nette] move quality rules to nette-code-quality directory
2020-07-26 18:48:18 +02:00
TomasVotruba
bc1a73f76d
rename duplicated short name to DonwgradeTypedPropertyRector
2020-07-26 17:13:35 +02:00
TomasVotruba
0650075005
[Nette] Add ChangeControlArrayAccessToAnnotatedControlVariableRector
2020-07-26 15:54:46 +02:00
dobryy
99494d4c32
[Order] Order __constructor dependencies by type alphabetically
2020-07-26 15:11:28 +02:00
TomasVotruba
dec0975c22
[PHP 8.0] Add ClassPropertyAssignToConstructorPromotionRector
2020-07-26 11:42:14 +02:00
TomasVotruba
7ed4cb19c4
simplify config globs
2020-07-25 20:14:28 +02:00
TomasVotruba
c50aedca5c
[Nette] add support for getComponent() resolution in form array access
2020-07-25 18:24:40 +02:00
TomasVotruba
32e1e87a80
[Nette] Add MakeGetComponentAssignAnnotatedRector
2020-07-25 12:39:53 +02:00
TomasVotruba
78a0331708
[SymfonyPhpConfig] Add AddEmptyLineBetweenCallsInPhpConfigRector
2020-07-22 23:50:58 +02:00
TomasVotruba
54beea72f8
prepare SYMFONY_PHP_CONFIG set
2020-07-22 23:22:25 +02:00
TomasVotruba
d4f6c497a7
[Nette] Add form dim access to standalone node control
2020-07-22 21:38:34 +02:00
TomasVotruba
d007ae0896
[Nette 3.0] Add few return types
2020-07-22 13:35:04 +02:00
TomasVotruba
d970fffd4d
fix cs
2020-07-22 12:12:31 +02:00
TomasVotruba
ba574c4d37
improving scoper
2020-07-22 11:56:30 +02:00
TomasVotruba
e5d7cee695
move RectorConfigsResolver to bootstrap, fix paths
2020-07-22 00:55:22 +02:00
Jonathan Goode
d0b791d823
Create WrapEncapsedVariableInCurlyBracesRector
2020-07-21 19:06:38 +01:00
TomasVotruba
2eb21e1087
make use of new set from symplify
2020-07-21 14:10:48 +02:00
Jonathan Goode
7da3310cf6
Move existing Rector from the coding-style
set to the php70
set
2020-07-21 10:23:25 +01:00
TomasVotruba
de01cb60be
fix nette 30 set
2020-07-21 10:23:37 +02:00
TomasVotruba
2ec894b942
fix shopware set
2020-07-21 10:03:22 +02:00
TomasVotruba
2452ce02be
fix laravel set path
2020-07-21 10:02:50 +02:00
TomasVotruba
dc4d5adc9d
correct path
2020-07-21 02:01:14 +02:00
TomasVotruba
2f927842a7
move sets to single /set directory
2020-07-21 00:46:53 +02:00
Jonathan Goode
287af13177
Create WrapVariableVariableNameInCurlyBracesRector
2020-07-20 18:23:19 +01:00
TomasVotruba
0a29fe0c0a
fix scoper
2020-07-20 10:34:44 +02:00
TomasVotruba
46b3090e37
move symfony style to root config
2020-07-20 09:40:11 +02:00
TomasVotruba
aeb7937972
add set constants + command to generate them
2020-07-20 01:00:49 +02:00
TomasVotruba
6a4792abf4
apply new naming rule
2020-07-19 23:36:10 +02:00
TomasVotruba
9a3740a8eb
enable rule
2020-07-19 19:20:29 +02:00