9432 Commits

Author SHA1 Message Date
TomasVotruba
15ac2c6647 check for missing doc 2020-06-25 00:16:59 +02:00
TomasVotruba
9796048c8c Merge branch 'breaking_runnable_test_for__ChangeNestedForeachIfsToEarlyContinueRector' v0.7.39 2020-06-24 23:39:40 +02:00
TomasVotruba
05d01aa455 fix missing continue 2020-06-24 23:38:52 +02:00
TomasVotruba
8b34ab3821 remove double negate 2020-06-24 23:28:21 +02:00
TomasVotruba
ab2f83c4f7 cs 2020-06-24 23:26:31 +02:00
TomasVotruba
2064e3cc4b cs 2020-06-24 23:26:27 +02:00
derrickschoen
e72ed987e6
reduce size of array 2020-06-24 17:06:39 -04:00
derrickschoen
740dd752ac
reduce size of array 2020-06-24 17:03:50 -04:00
kodiakhq[bot]
6e6dba3227
Merge pull request #3591 from rectorphp/inject-construct
[NetteCodeQuality] Add MoveInjectToExistingConstructorRector
v0.7.38
2020-06-24 20:23:25 +00:00
TomasVotruba
fa0d8d238c [NetteCodeQuality] Add MoveInjectToExistingConstructorRector 2020-06-24 22:19:10 +02:00
kodiakhq[bot]
e63bbad62a
Merge pull request #3590 from rectorphp/prefer-local-construct
prefer local __construct
2020-06-24 19:30:32 +00:00
TomasVotruba
c88f34fafc prefer local __construct 2020-06-24 21:26:40 +02:00
kodiakhq[bot]
13a27749e2
Merge pull request #3589 from rectorphp/reuse-parent-property
re-use parent property
2020-06-24 18:11:04 +00:00
TomasVotruba
1357806ae1 re-use parent property 2020-06-24 20:07:31 +02:00
kodiakhq[bot]
9c689c47d6
Merge pull request #3588 from rectorphp/inject-on-parent-constrctur
add inject in case of parent __construct
2020-06-24 17:19:37 +00:00
TomasVotruba
138598cc36 add inject in case of parent __construct 2020-06-24 19:15:45 +02:00
kodiakhq[bot]
74b4aaa0e9
Merge pull request #3587 from rectorphp/get-context-inject
respect @Inject on ContextGetByTypeToConstructorInjectionRector
2020-06-24 13:37:14 +00:00
rector-bot
df92b3a090 fixup! fixup! respect @inject on ContextGetByTypeToConstructorInjectionRector 2020-06-24 13:33:06 +00:00
rector-bot
6173ef0ed7 fixup! respect @inject on ContextGetByTypeToConstructorInjectionRector 2020-06-24 13:32:12 +00: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
kodiakhq[bot]
cee85e0da7
Merge pull request #3586 from rectorphp/typed-properties
add typed property if on PHP 7.4
2020-06-24 13:13:16 +00:00
TomasVotruba
c504062ec2 add typed property if on PHP 7.4 2020-06-24 15:09:50 +02:00
Derrick Schoen
e12336e3c5 Reduce number of variables 2020-06-24 08:33:51 -04:00
Tomas Votruba
4232acd90f
Merge pull request #3585 from rectorphp/fix-void-bool
fix rector description
2020-06-24 10:38:43 +02:00
TomasVotruba
a148d3440c fix rector description 2020-06-24 10:37:57 +02:00
kodiakhq[bot]
08a194897d
Merge pull request #3584 from rectorphp/fix-swtich-without-default
fix swtich return types
2020-06-24 08:11:47 +00:00
TomasVotruba
81747c7aaf fix swtich return types 2020-06-24 10:08:08 +02:00
Tomas Votruba
1e1c983f6e
Merge pull request #3582 from Philosoft/patch-1 2020-06-24 09:43:04 +02:00
Alexander Frolov
3b007f17bb
Update docs/create_own_rule.md
use `$this->getName()` on proper object

Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-06-23 22:07:21 -04:00
Tomas Votruba
99af814a4b
Merge pull request #3583 from rectorphp/remove-when-same
remove @return tag if not needed in ReturnTypeDeclarationRector
2020-06-24 01:37:09 +02:00
TomasVotruba
e456c15c09 remove @return tag if not needed in ReturnTypeDeclarationRector 2020-06-24 01:36:09 +02:00
kodiakhq[bot]
ed5d9fbe99
Merge pull request #3581 from rectorphp/remove-when-same
remove @return tag if not needed in ReturnTypeDeclarationRector
2020-06-23 23:27:55 +00:00
TomasVotruba
8574f38c65 remove @return tag if not needed in ReturnTypeDeclarationRector 2020-06-24 01:24:33 +02:00
Alexander Frolov
1fecd9cb68
Update create_own_rule.md
fix MyFirstRector example
2020-06-23 18:58:04 -04:00
TomasVotruba
fbf620f4b9 update CHANGELOG 2020-06-23 23:53:10 +02:00
Tomas Votruba
52ceaa9f7c
Merge pull request #3578 from rectorphp/skip-void-and
return type - skip void
2020-06-23 23:51:00 +02:00
Derrick Schoen
87e0c838cd Boolean Operands cause ChangeNestedForeachIfsToEarlyContinueRector to produce code that gives a different output from the original code. 2020-06-23 17:49:19 -04:00
TomasVotruba
a75881e191 return type - skip void 2020-06-23 23:46:59 +02:00
kodiakhq[bot]
d92adb2dc7
Merge pull request #3577 from rectorphp/return-empty
add NonEmptyArrayTypeMapper
2020-06-23 21:26:13 +00:00
TomasVotruba
67f0f5dc95 add NonEmptyArrayTypeMapper 2020-06-23 23:21:57 +02:00
kodiakhq[bot]
1bc1c6fde7
Merge pull request #3576 from rectorphp/fix-return-child-type
fix return type in abstract class
2020-06-23 20:05:28 +00:00
TomasVotruba
b8681156b9 fix return type in abstract class 2020-06-23 21:58:05 +02:00
TomasVotruba
fe571b1bbf one more fix 2020-06-23 19:31:55 +02:00
TomasVotruba
bbc2f1e7d9 re-use class name 2020-06-23 19:20:32 +02:00
TomasVotruba
8d38c20300 check types correctly in value object class 2020-06-23 19:17:15 +02:00
TomasVotruba
4e2327a2f2 fix double load of test fixture 2020-06-23 19:11:44 +02:00
TomasVotruba
77d46cb7ae prevent exception on class duplicate rename, just skip 2020-06-23 19:11:32 +02:00
Tomas Votruba
4ec278310a
Merge pull request #3574 from rectorphp/skip-known-service-types
skip common patterns in value object
2020-06-23 18:26:55 +02:00
TomasVotruba
50f3c0454d skip common patterns in value object 2020-06-23 18:26:06 +02:00