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
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
9488eb5d07
add debug notes
2020-07-29 03:39:48 +02:00
TomasVotruba
5859625d5d
[Nette] Add TranslateClassMethodToVariadicsRector
2020-07-29 03:21:08 +02:00
TomasVotruba
94088334c7
fix missing test fixture in generator
2020-07-29 02:29:44 +02:00
TomasVotruba
1e7ad43b4d
rename CreateRector command to only Create
2020-07-29 02:27:21 +02:00
TomasVotruba
f845935e4a
[Nette 3.0] Get config to merge with defaults
2020-07-28 17:46:48 +02:00
TomasVotruba
d94e529f29
[Nette] Improve AddDatePickerToDateControlRector
2020-07-27 10:44:51 +02:00
TomasVotruba
63c515a834
[Nette] Load data from __construct of same class
2020-07-27 02:07:36 +02:00
TomasVotruba
86d8666438
[Nette] move quality rules to nette-code-quality directory
2020-07-26 18:48:18 +02:00
TomasVotruba
0650075005
[Nette] Add ChangeControlArrayAccessToAnnotatedControlVariableRector
2020-07-26 15:54:46 +02:00
dobryy
f37cd4cac3
[Order] Apply rule
2020-07-26 15:11:41 +02:00
TomasVotruba
e3c9add4b2
[Nette] Add dim fetch support
2020-07-26 11:54:56 +02:00
TomasVotruba
9e2b9a8859
refactor to collector pattern
2020-07-26 00:10:36 +02:00
TomasVotruba
54fa79b423
decouple OnVariableMethodCallsFormControlTypeResolver
2020-07-25 20:25:12 +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
350a1be7ba
[Nette] Improve AddDatePickerToDateControlRector
2020-07-25 16:23:30 +02:00
TomasVotruba
32e1e87a80
[Nette] Add MakeGetComponentAssignAnnotatedRector
2020-07-25 12:39:53 +02:00
TomasVotruba
6872ad1f07
add support for connection with method call
2020-07-25 00:55:09 +02:00
TomasVotruba
aa91188a04
[Nette] skip being assigned
2020-07-24 23:23:51 +02:00
TomasVotruba
88a0a64f46
[Nette] add add*() method resolution for factories
2020-07-24 22:16:19 +02:00
TomasVotruba
dc60a96ff6
[Nette] add support for new instance type
2020-07-24 18:32:31 +02:00
TomasVotruba
c0fd5a3633
improve docs
2020-07-24 17:28:43 +02:00
TomasVotruba
44040eba97
[Nette] Add external form factory support
2020-07-24 17:16:37 +02:00
TomasVotruba
adcaf173d3
add custom control by method name
2020-07-24 16:02:09 +02:00
TomasVotruba
407e0c4d33
[Nette] Add ChangeFormArrayAccessToAnnotatedControlVariableRector
2020-07-24 13:47:35 +02:00
TomasVotruba
92b670d8d5
Skip already fetched in form contorl
2020-07-23 00:09:48 +02:00
TomasVotruba
d4f6c497a7
[Nette] Add form dim access to standalone node control
2020-07-22 21:38:34 +02:00
TomasVotruba
c2c1066374
[rector] apply on rules
2020-07-19 20:52:42 +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
ee291d1fdc
use strings over ::class in type detection, as they ge tprifexed by phar builder
2020-07-12 16:38:04 +02:00
TomasVotruba
3c3c3a9530
remove func call from methods calls
2020-07-06 01:59:41 +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
190847e94d
skip tests in ContextGetByTypeToConstructorInjectionRector
2020-06-26 00:27:35 +02:00
TomasVotruba
7f49658112
change test(string ) to test(SmartFileInfo ) in tests
2020-06-25 20:02:36 +02:00
TomasVotruba
c88f34fafc
prefer local __construct
2020-06-24 21:26:40 +02:00
TomasVotruba
1357806ae1
re-use parent property
2020-06-24 20:07:31 +02:00
TomasVotruba
138598cc36
add inject in case of parent __construct
2020-06-24 19:15:45 +02:00
TomasVotruba
1d929cba16
respect @inject on ContextGetByTypeToConstructorInjectionRector
2020-06-24 15:28:41 +02:00
TomasVotruba
556e7c8b1e
move source to own dir
2020-06-24 15:14:38 +02:00
TomasVotruba
c504062ec2
add typed property if on PHP 7.4
2020-06-24 15:09:50 +02:00
TomasVotruba
a148d3440c
fix rector description
2020-06-24 10:37:57 +02:00
TomasVotruba
ad4bba4aac
update docs
2020-06-21 16:32:27 +02:00
TomasVotruba
2248dc00fc
add @scrumworks - amateri.com sponsor to particular rules, thank you
2020-06-21 13:43:17 +02:00
TomasVotruba
081f8dd60b
add existing param test case to context nette
2020-05-23 21:34:34 +02:00
TomasVotruba
a33374411c
remove interface suffix/prexit for PropertyNaming
2020-05-22 10:14:08 +02:00