Tomas Votruba
7cda57615c
rename FunctionToStaticCallRector to FuncCallToStaticCallRector ( #3895 )
...
* rename FunctionToStaticCallRector to FuncCallToStaticCallRector
* rename FunctionToNewRector to FuncCallToNewRector
* remove RenameFuncCallToStaticCallRector, duplicate of FuncCallToStaticCallRector
2020-08-04 08:25:41 +00:00
Tomas Votruba
97de8eb625
[Generic] FuncCallToMethodCall only in case of parent class ( #3894 )
...
* [Generic] Improve FuncCallToMethodCallRector
* [rector] [Generic] Improve FuncCallToMethodCallRector
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-03 23:58:03 +00:00
TomasVotruba
5789ef39d5
update docs
2020-08-04 00:21:59 +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
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
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
TomasVotruba
552a3a9032
update docs
2020-08-01 18:26:17 +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
Marek Šimeček
ab8d290b14
method call remover rector ( #3850 )
...
Co-authored-by: Marek Šimeček <marek.simecek@footshop.cz>
2020-08-01 11:49:32 +02:00
TomasVotruba
ff8d6d265b
[MagicDisclosure] fluent removal improvements
2020-07-31 19:04:51 +02:00
TomasVotruba
b9fd318ac2
skip on method call
2020-07-30 22:16:38 +02:00
TomasVotruba
dc14ddd0b9
[PHP 8.0] Add ChangeSwitchToMatchRector
2020-07-30 18:19:53 +02:00
TomasVotruba
55b60ead93
improve configured code samples to use constants over direct values
2020-07-30 17:46:36 +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
dobryy
e6ce370875
[DX] Update README and other docs files to use PHP syntax for configs
2020-07-29 19:18:07 +02:00
TomasVotruba
d4fc22bd55
fix typo
2020-07-29 10:33:10 +02:00
TomasVotruba
1e7ad43b4d
rename CreateRector command to only Create
2020-07-29 02:27:21 +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
2eddb274c2
use standard __ for vars
2020-07-28 23:54:13 +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
dobryy
6547082ddd
[Order] Order any param (Nullable or with default value) that has type of Object
2020-07-27 16:39:34 +02:00
TomasVotruba
d94e529f29
[Nette] Improve AddDatePickerToDateControlRector
2020-07-27 10:44:51 +02:00
TomasVotruba
c28a5a9746
[Celebrity] Merge to code-quality
2020-07-27 10:18:03 +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
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
350a1be7ba
[Nette] Improve AddDatePickerToDateControlRector
2020-07-25 16:23:30 +02:00
TomasVotruba
0c750b7e93
update docs
2020-07-25 12:46:48 +02:00
TomasVotruba
c0fd5a3633
improve docs
2020-07-24 17:28:43 +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
TomasVotruba
d4f6c497a7
[Nette] Add form dim access to standalone node control
2020-07-22 21:38:34 +02:00
Jonathan Goode
d0b791d823
Create WrapEncapsedVariableInCurlyBracesRector
2020-07-21 19:06:38 +01: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
2452ce02be
fix laravel set path
2020-07-21 10:02:50 +02:00
Jonathan Goode
287af13177
Create WrapVariableVariableNameInCurlyBracesRector
2020-07-20 18:23:19 +01:00
dobryy
3692798de6
[Naming] Name variable after get method
2020-07-19 10:23:32 +02:00
Jonathan Goode
cdb3e889cf
Create new TernaryConditionVariableAssignmentRector
...
Ignore false positives in PHPStan
2020-07-16 16:40:04 +01:00
TomasVotruba
3fdc40127b
correct descriptions
2020-07-15 19:25:56 +02:00
TomasVotruba
eb743826e4
simplify AddTopIncludeRector
2020-07-14 23:23:06 +02:00
TomasVotruba
821ce6f515
[Renaming] Remove RenameMethodCallRector, ported to RenameMethodRector
2020-07-14 00:32:04 +02:00
TomasVotruba
ee6e44e952
use RenameMethodRector in configs over RenameMethodCallRector
2020-07-13 23:46:48 +02:00
TomasVotruba
86caa737f9
[Symfony] Add RemoveDefaultGetBlockPrefixRector
2020-07-13 19:06:24 +02:00
TomasVotruba
4c88e5dc5a
add collection entry_type conversion to FormTypeInstanceToClassConstRector
2020-07-13 18:17:55 +02:00
TomasVotruba
a275dfada1
provide some context in rule description
2020-07-13 16:09:30 +02:00