9550 Commits

Author SHA1 Message Date
Tomas Votruba
58ef23f977
Merge pull request #3736 from rectorphp/compiler 2020-07-20 10:40:53 +02: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
f7d78436d1 switch YAML to PHP 2020-07-20 02:07:42 +02:00
TomasVotruba
3805c92b97 load rector.php config 2020-07-20 02:07:42 +02:00
kodiakhq[bot]
e2baad57c4
Merge pull request #3740 from rectorphp/add-next-naming-rule
[Naming] apply "new" naming rule
2020-07-19 23:57:38 +00:00
TomasVotruba
31fca6da21 lock phpstan to 0.12.32 to prevent internal errors 2020-07-20 01:53:34 +02:00
TomasVotruba
791fe51b4a fix variable rename on static call 2020-07-20 01:23:11 +02:00
TomasVotruba
ee9d0439cf make use of Set constants 2020-07-20 01:06:56 +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
kodiakhq[bot]
128bcab866
Merge pull request #3739 from rectorphp/naming-apply-on-rector-ci
[Naming] Apply RenameVariableToMatchGetMethodNameRector on code + fix docblock rename
2020-07-19 19:40:29 +00:00
rector-bot
165845c3e9 fixup! correct names manually back to desired state 2020-07-19 19:35:46 +00:00
TomasVotruba
c1e1053d1c correct names manually back to desired state 2020-07-19 21:32:18 +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
9ddd60a246 [rector] apply on packages 2020-07-19 20:54:42 +02:00
TomasVotruba
c2c1066374 [rector] apply on rules 2020-07-19 20:52:42 +02:00
TomasVotruba
14474809d9 cover nullable type 2020-07-19 20:48:56 +02:00
TomasVotruba
e9fea42472 add known parent classes 2020-07-19 20:21:52 +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
9a3740a8eb enable rule 2020-07-19 19:20:29 +02:00
kodiakhq[bot]
907151e161
Merge pull request #3738 from rectorphp/naming-skip-non-type-returns
[Naming] Skip non-object type returns, classes with children and typical naming patterns
2020-07-19 17:09:49 +00: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
cef48cb952 skip reporting of RemoveConcatAutocastRector in case of no change 2020-07-19 15:32:26 +02:00
TomasVotruba
eb01322e2b [CodeQuality] Remove exception coding from JoinStringConcatRector 2020-07-19 15:30:10 +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
38fe69b8b7 remove failing docblock test case 2020-07-19 13:53:57 +02:00
kodiakhq[bot]
d193acf3ac
Merge pull request #3737 from rectorphp/naming-amment
[Naming] Decoupling of RenameVariableToMatchGetMethodNameRector
2020-07-19 11:53:25 +00: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
TomasVotruba
340b43c6ca move YML to PHP config 2020-07-19 11:35:10 +02:00
Tomas Votruba
24b01f581e
Merge pull request #3706 from rectorphp/name-variable-after-get-method
[Naming] Name variable after get method
2020-07-19 11:34:20 +02:00