Tomas Votruba
b61d22d56e
[Naming] Allow uuid to have name id ( #3883 )
...
* [Naming] Allow uuid to have name id
* add REPOSITORY_AS_SERVICE set
* [rector] add REPOSITORY_AS_SERVICE set
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-03 17:52:40 +00:00
Tomas Votruba
324c2b2192
[MagicDisclosure] fixes ( #3863 )
2020-08-01 18:59:36 +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
bdb7256626
[Nette] Add ArrayDimFetchControlToGetComponentMethodCallRector
2020-07-30 22:11:52 +02:00
TomasVotruba
9f51a32d36
[Nette] Rename follow up variables too
2020-07-30 20:29:09 +02:00
TomasVotruba
e647b8f003
decopule PropertyDocBlockManipulator
2020-07-27 12:56:13 +02:00
TomasVotruba
8b1cdcb46e
decouple PhpDocTypeChanger
2020-07-27 12:38:06 +02:00
TomasVotruba
110316f471
[Naming] fix tag rename in RenamePropertyToMatchTypeRector
2020-07-27 11:16:36 +02:00
TomasVotruba
4656aa0758
add missed param variable rename
2020-07-27 10:51:44 +02:00
TomasVotruba
1a82613c3f
rename ValidateFixtureCommand to more explicit ValidateFixtureContent
2020-07-27 10:51:10 +02:00
TomasVotruba
99db894192
restore types
2020-07-27 10:44:51 +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
7ed4cb19c4
simplify config globs
2020-07-25 20:14:28 +02:00
TomasVotruba
44040eba97
[Nette] Add external form factory support
2020-07-24 17:16:37 +02:00
TomasVotruba
791fe51b4a
fix variable rename on static call
2020-07-20 01:23:11 +02:00
TomasVotruba
015525c6c3
decouple Generic and Specific PhpDocNodeFactoryInterface
2020-07-19 21:19:22 +02:00
TomasVotruba
9c7cbc65ad
[rector] apply on the rest
2020-07-19 21:05:14 +02:00
TomasVotruba
14474809d9
cover nullable type
2020-07-19 20:48:56 +02:00
TomasVotruba
cb13e7116e
skip dynamic name
2020-07-19 20:21:52 +02:00
TomasVotruba
bbe399b7d3
fix variable rename in docblock
2020-07-19 19:46:33 +02:00
TomasVotruba
9fbc8b5a37
decouple NamingConventionAnalyzer
2020-07-19 19:29:31 +02:00
TomasVotruba
66b1902c80
decouple VariableAndCallAssignMatcher to resolve the node matching part
2020-07-19 19:05:46 +02:00
TomasVotruba
25d5dfb613
skip any class type with children, to prevent narrow naming
2020-07-19 18:02:11 +02:00
TomasVotruba
47bd646e79
cleanup
2020-07-19 17:24:01 +02:00
TomasVotruba
36f6954c28
skip starts/ends with convention naming
2020-07-19 17:23:51 +02:00
TomasVotruba
133683dc3d
[Naming] Skip return without type and with args
2020-07-19 17:23:38 +02:00
TomasVotruba
fc347413f3
cleanup
2020-07-19 17:23:37 +02:00
TomasVotruba
af6d35dc4d
skip call() based conventions
2020-07-19 14:30:07 +02:00
TomasVotruba
8b831a75b8
skip non-call expressions, as they create something new and thus have different name
2020-07-19 14:18:07 +02:00
TomasVotruba
fce6ed59a4
decopule Php74Test to own class to simplify scope
2020-07-19 14:18:07 +02:00
TomasVotruba
6912fac08b
skip array return types
2020-07-19 13:53:57 +02:00
TomasVotruba
039b871cbf
remove failing docblock test case
2020-07-19 13:48:16 +02:00
TomasVotruba
362b3305cf
move skipOnConflictingVariableName to BreakingVariableRenameGuard
2020-07-19 13:29:18 +02:00
TomasVotruba
dcbfb005a0
decouple hasInstanceOfName() to betterNodeFinder
2020-07-19 13:29:18 +02:00
TomasVotruba
990dab6196
add CLOSURE_NODE to attributes, move closure use name conflicting to BreakingVariableRenameGuard
2020-07-19 13:29:18 +02:00
TomasVotruba
5b614ef6a6
make BreakingVariableRenameGuard work with Function_ to
2020-07-19 13:29:18 +02:00
TomasVotruba
b9a925a5cf
re-use VariableRenamer in RenameVariableToMatchGetMethodNameRector
2020-07-19 13:29:18 +02:00
TomasVotruba
f34dea5d76
decouple VariableRenamer
2020-07-19 13:29:18 +02:00
TomasVotruba
33d0958b09
use PhpDocInfo to work with docblock
2020-07-19 11:53:35 +02:00
TomasVotruba
b3edacdc13
naming updates
2020-07-19 11:41:35 +02:00
dobryy
3692798de6
[Naming] Name variable after get method
2020-07-19 10:23:32 +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
395ced5f57
fix RenamePropertyToMatchTypeRector for nested params
2020-07-06 23:47:33 +02:00
TomasVotruba
bed64b1894
early return
2020-07-06 23:05:11 +02:00
TomasVotruba
dad1812f79
[Naming] Make rename property/variable skip date time at convention
2020-07-06 22:48:33 +02:00
TomasVotruba
52acc54005
merge PropertyNaming to one class
2020-07-01 23:42:23 +02:00
TomasVotruba
a8a6e7bcad
rename file to fileInfo
2020-06-30 01:45:05 +02:00