9963 Commits

Author SHA1 Message Date
Tomas Votruba
8c5fdca387
[MagicDisclosure] Add support for child parent class types (#3859) 2020-08-01 10:03:21 +02:00
Tomas Votruba
631fa9449f
[MagicDisclosure] Drop type scoping from ReturnThisRemoveRector, as always localy scope (#3858) 2020-08-01 09:06:10 +02:00
Zing
578bfaf38c
[RectorGenerator] Fix trailing comma in function calls error in php 7.2 (#3857) 2020-08-01 09:05:05 +02:00
Tomas Votruba
8b42e67744
[MagicDisclosure] Skip getters (#3856) 2020-08-01 00:01:52 +00:00
Tomas Votruba
20e28ea763
[cig Improve workflow for squash commits (#3855) 2020-08-01 01:39:40 +02:00
Tomas Votruba
86c2958501
[MagicDisclosure] Add last method with differnt type support (#3854) 2020-07-31 23:36:13 +00:00
Tomas Votruba
76b4ab7586
[Defluent] New set + various improvements (#3853)
* remove dead-else branch

* add defluent set

* fix type to match

* use constants over strings

* fixup! use constants over strings

* Add fluent as arg support to DefluentMethodCallRector

Co-authored-by: rector-bot <tomas@getrector.org>
2020-07-31 23:08:16 +00:00
fsok
fbedce34d7
change return type of resolveClassConstFetch to mixed (#3852) 2020-07-31 22:01:48 +00:00
TomasVotruba
c463b08d53 fix inner type override v0.7.57 2020-07-31 23:41:41 +02: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
kodiakhq[bot]
d444e5f8ce
Merge pull request #3847 from rectorphp/chain-return-type-protect-parent
[MagicRemoval] Improve rules
2020-07-31 17:09:14 +00:00
TomasVotruba
ff8d6d265b [MagicDisclosure] fluent removal improvements 2020-07-31 19:04:51 +02:00
TomasVotruba
aad097253f naming 2020-07-31 18:24:50 +02:00
Tomas Votruba
1be050b710
Merge pull request #3842 from rectorphp/fix-undefined-var 2020-07-31 00:51:37 +02:00
TomasVotruba
7f575b9390 formattting 2020-07-31 00:50:19 +02:00
TomasVotruba
0178e9cadd [PHP 5.6] Fix foreach unset variable default 2020-07-31 00:40:44 +02:00
TomasVotruba
bd7394e80e README: fix 27 days badge 2020-07-31 00:30:25 +02:00
Tomas Votruba
ce3c782e6b
Merge pull request #3841 from u01jmg3/master
Add failing fixture for AddDefaultValueForUndefinedVariableRector
2020-07-31 00:07:53 +02:00
Jonathan Goode
377c4c3718 RE #3828 - add failing fixture for AddDefaultValueForUndefinedVariableRector 2020-07-30 22:59:14 +01:00
Tomas Votruba
495c7644ed
Merge pull request #3840 from rectorphp/form-parent 2020-07-30 23:37:26 +02:00
TomasVotruba
1c2045e710 add assign to root stmt to prevent non-existing variable 2020-07-30 23:33:13 +02:00
TomasVotruba
fd6f905651 cover parent createComponent() too 2020-07-30 23:00:55 +02:00
TomasVotruba
762271333b compiler: allow dev deps 2020-07-30 22:58:29 +02:00
TomasVotruba
830e966312 one more compiler fix 2020-07-30 22:48:06 +02:00
Tomas Votruba
611de3b4eb
Merge pull request #3839 from rectorphp/compile
compile
2020-07-30 22:41:40 +02:00
TomasVotruba
0eac909c26 use dev-master phpstan-src for fixed nette/utils dependency 2020-07-30 22:41:11 +02:00
kodiakhq[bot]
ae1b0acbfe
Merge pull request #3838 from rectorphp/kodiak-auto
test kodiak for rebase
2020-07-30 20:33:41 +00:00
rector-bot
f973c1699b fixup! test kodiak for rebase 2020-07-30 20:28:17 +00:00
TomasVotruba
f2681fe727 test kodiak for rebase 2020-07-30 22:24:24 +02:00
Tomas Votruba
0c36720b21
Merge pull request #3837 from rectorphp/edges
skip on method call
2020-07-30 22:18:41 +02:00
TomasVotruba
b9fd318ac2 skip on method call 2020-07-30 22:16:38 +02:00
Tomas Votruba
43a17893cb
Merge pull request #3835 from rectorphp/array-dim-to-get-component
[Nette] Add ArrayDimFetchControlToGetComponentMethodCallRector
2020-07-30 22:12:25 +02:00
TomasVotruba
bdb7256626 [Nette] Add ArrayDimFetchControlToGetComponentMethodCallRector 2020-07-30 22:11:52 +02:00
Tomas Votruba
7dae020c9c
Merge pull request #3833 from rectorphp/array-access-check-args
[Nette] Rename follow up variables too
v0.7.56
2020-07-30 20:36:55 +02:00
TomasVotruba
9f51a32d36 [Nette] Rename follow up variables too 2020-07-30 20:29:09 +02:00
kodiakhq[bot]
82d3304f47
Merge pull request #3569 from rectorphp/php80-switch-to-match
[PHP 8.0] Add ChangeSwitchToMatchRector
2020-07-30 16:42:20 +00:00
kodiakhq[bot]
e27f70d103
Merge pull request #3831 from rectorphp/fix-call
decouple testing tools
2020-07-30 16:42:09 +00:00
TomasVotruba
dc14ddd0b9 [PHP 8.0] Add ChangeSwitchToMatchRector 2020-07-30 18:19:53 +02:00
Tomas Votruba
8fbb2aa585
Merge pull request #3832 from rectorphp/skip-nested-control
[Nette] Skip nested control access to /ChangeControlArrayAccessToAnnotatedControlVariableRector
2020-07-30 18:01:37 +02:00
TomasVotruba
2da8e94ef1 [Nette] Skip nested control access to /ChangeControlArrayAccessToAnnotatedControlVariableRector 2020-07-30 17:57:22 +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
ce480d3983 remove SplitLine value object 2020-07-30 16:40:34 +02:00
TomasVotruba
2291d5540a decopule testing tools 2020-07-30 16:31:57 +02:00
TomasVotruba
10e024b3e2 [CI] temporarily disable lowest dependencies, they get stuck for some reason 2020-07-30 16:09:16 +02:00
Tomas Votruba
8f765da4b5
Merge pull request #3830 from rectorphp/fix-call
[PHP 7.0] Fix variable name on static call
2020-07-30 16:07:35 +02:00
TomasVotruba
2ad011673f [PHP 7.0] Fix variable name on static call 2020-07-30 15:53:21 +02:00
Tomas Votruba
1796665137
Merge pull request #3825 from fsok/failing_test_3824
Add failing test case for issue 3824
2020-07-30 15:35:43 +02:00
Tomas Votruba
fc8b18e678
Merge pull request #3829 from rectorphp/allow-package-testing-as-exclude-broken 2020-07-30 15:35:18 +02:00
TomasVotruba
fa76a56e08 fix value object moving 2020-07-30 15:31:37 +02:00