9201 Commits

Author SHA1 Message Date
TomasVotruba
b3ba3c8dfa add uniontype support for CallableThisArrayToAnonymousFunctionRector 2020-06-26 12:22:55 +02:00
Tomas Votruba
a1a2df1e83
Merge pull request #3597 from rectorphp/skip-if-parent-ctor
skip parent ctor in AnnotatedPropertyInjectToConstructorInjectionRector
v0.7.41
2020-06-26 01:51:13 +02:00
TomasVotruba
e9fcf8481d skip parent ctor in AnnotatedPropertyInjectToConstructorInjectionRector 2020-06-26 01:50:05 +02:00
kodiakhq[bot]
9f2d05e0ef
Merge pull request #3596 from rectorphp/fixing
Various fixes
v0.7.40
2020-06-25 23:02:04 +00:00
TomasVotruba
93962b9a51 skip property without doc 2020-06-26 00:58:39 +02:00
TomasVotruba
fce9654044 skip AnnotatedPropertyInjectToConstructorInjectionRector in case of child __construct 2020-06-26 00:52:53 +02:00
TomasVotruba
190847e94d skip tests in ContextGetByTypeToConstructorInjectionRector 2020-06-26 00:27:35 +02:00
kodiakhq[bot]
c5f47b7ccd
Merge pull request #3595 from rectorphp/easy-testing
Make use of Symplify/EasyTesting
2020-06-25 18:06:47 +00:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
f713c16afd make use of Symplify/EasyTesting 2020-06-25 19:15:40 +02:00
TomasVotruba
6d2aad57a6 add easy-testing package 2020-06-25 18:40:31 +02:00
Tomas Votruba
bc2868618d
Merge pull request #3594 from andyexeter/master
Symfony FormTypeInstanceToClassConstRector: Include AbstractController in allowed object types
2020-06-25 17:57:02 +02:00
andyexeter
cb46829aa3 Fix cs 2020-06-25 16:35:54 +01:00
andyexeter
b3c955b889 Replace Symfony imports with fully qualified class names 2020-06-25 16:35:54 +01:00
TomasVotruba
44bc4f4878 fix cs 2020-06-25 16:35:54 +01:00
TomasVotruba
90d9c2d7f8 fix cs 2020-06-25 16:59:19 +02:00
Andy Palmer
283fb4941e
Include AbstractController in allowed object types 2020-06-25 15:50:14 +01:00
Tomas Votruba
5d75099016
Merge pull request #3592 from rectorphp/fluent-parent
make sure interface type is checked
2020-06-25 01:17:15 +02:00
TomasVotruba
5a0a86024d make sure interface type is checked 2020-06-25 01:15:01 +02:00
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