12205 Commits

Author SHA1 Message Date
Tomas Votruba
281d0518a0 Updated Rector to commit dce60231f7fe8777847a5f845572711999db650f
dce60231f7 [TypeDeclaration][Php 8] Enable ReturnTypeDeclarationRector (#184)
2021-06-18 17:31:16 +00:00
Tomas Votruba
6736aed6b9 Updated Rector to commit e783801584b7778aa0d0b15fc0ec918d81b2af6a
e783801584 [Php71] Handle variadic check inside function with function_exists() check (#244)
2021-06-18 17:14:06 +00:00
Tomas Votruba
e814dc3e3e Updated Rector to commit 1fb8e54d9594d30f931b143a18f572fe3c9cb8c8
1fb8e54d95 [Php71] Skip interface type on RemoveExtraParametersRector (#237)
2021-06-17 16:05:13 +00:00
Tomas Votruba
3fdc777bf5 Updated Rector to commit 246a5863eda22e02a1081b576344eb6e2dda9395
246a5863ed [DeadCode] Prevent RemoveUnusedAssignVariableRector removing variables used in compact() (#238)
2021-06-17 16:01:07 +00:00
Tomas Votruba
a042ce3afa Updated Rector to commit 028c1064eb85ace6e4f7639c3db2a3dbdc3d4c53
028c1064eb Fix ReturnTypeFromReturnNewRector rule definition typo (#239)
2021-06-17 15:58:43 +00:00
Tomas Votruba
1d7ebaafda Updated Rector to commit a41a5ba6b62aac2ce4faeb6d7d377a207f38be26
a41a5ba6b6 [PHPStan] Clean up ignore errors in phpstan.neon (#240)
2021-06-17 14:59:13 +00:00
Tomas Votruba
864721907d Updated Rector to commit 6c3a5215c1e93d7978d3066879c26bf9a1979417
6c3a5215c1 [Naming] Keep underscore in RenameForeachValueVariableToMatchExprVariableRector (#236)
2021-06-17 09:49:16 +00:00
Tomas Votruba
dda18414a1 Updated Rector to commit 5e6a01145feda29e844606d161ff278c2297fa8f
5e6a01145f [README] fix ecs.php link
2021-06-17 09:46:43 +00:00
Tomas Votruba
f99ed012a2 Updated Rector to commit 866553467089911a79a63c9b10b0c7641944bdda
8665534670 [PHP 8.0 ] No space annotatation and attributes (#235)
2021-06-16 22:10:15 +00:00
Tomas Votruba
c908c481f1 Updated Rector to commit 24187781dbfc49fc45628f546a586c6227e00f92
24187781db [EarlyReturn] Handle mirror comments before elseif on RemoveAlwaysElseRector (#234)
2021-06-16 17:49:09 +00:00
Tomas Votruba
0b94e50ca1 Updated Rector to commit 6311c8b5c95f79e5127038003d2ccdab8a6e285c
6311c8b5c9 [Util] Early strtolower() on StaticRectorStrings::isInArrayInsensitive() (#232)
2021-06-16 10:42:33 +00:00
Tomas Votruba
26f92fe9e9 Updated Rector to commit 5157414f6ce53ddccf361f059c987648eda9b1b3
5157414f6c [Php80] Fix multiple cases and case mix up default for ChangeSwitchToMatchRector (#231)
2021-06-16 10:39:17 +00:00
Tomas Votruba
54f1f52d0b Updated Rector to commit bad98719a5dee23e4e4d170dae718c0f44745c79
bad98719a5 Incorrect behavior of RemoveUnusedPrivateMethodRector (#227)
2021-06-15 22:19:38 +00:00
Tomas Votruba
d587cc94bb Updated Rector to commit b44261f1d5c3f4d97ab879c3dac80fa56578e8ae
b44261f1d5 bump rector-doctrine 0.11.5
2021-06-15 15:30:55 +00:00
Tomas Votruba
8f25ba84d6 Updated Rector to commit be0591c6d5d0a7ab693b6e94cb5f97b5e5419b85
be0591c6d5 [gitattributes] do not export test in packagist dependency (#228)
2021-06-15 14:27:35 +00:00
Tomas Votruba
8f636d1e5d Updated Rector to commit f7ba591fd6216f067209a2236e3b5382c4172187
f7ba591fd6 rename fixture classes to differ from node names to avoid miss-type (#229)
2021-06-15 14:27:25 +00:00
Tomas Votruba
6c31321135 Updated Rector to commit 64cea0afd63f580e0e990a0ca4d27f936133ff19
64cea0afd6 DX: Report more precise errors in  (#97)
2021-06-14 23:18:40 +00:00
Tomas Votruba
54671c2dc3 Updated Rector to commit 01a066062bf3ef8e88cbce8e68bb933a02f025c3
01a066062b Add failing test fixture for AnnotationToAttributeRector (#225)
2021-06-14 23:11:39 +00:00
Tomas Votruba
5915890df5 Updated Rector to commit c8900bf34845ea694b84443c6ccfc09e394f3e89
c8900bf348 [PHP 8.0] Fix conflicting attribute import (#223)
2021-06-14 17:05:09 +00:00
Tomas Votruba
dc1722f44a Updated Rector to commit 75056429bee6b35f2080a9e637f61de8f27bc07c
75056429be [CodingStyle] Fix newline before new assign set (#220)
2021-06-14 14:16:03 +00:00
Tomas Votruba
7881e60b6a Updated Rector to commit 6a908621e2bd42647c4370aa83c0d1583eba19a1
6a908621e2 [Php80 ] Revert test annotation (#221)
2021-06-14 13:06:22 +00:00
Tomas Votruba
61891fb277 Updated Rector to commit d7ac71d626d2a5bd42be78d2f0b890e7c2cc2e54
d7ac71d626 [DeadCode] Handle RemoveDeadIfForeachForRector on if has no stmts with else (#214)
2021-06-14 10:57:44 +00:00
Tomas Votruba
85617d85df Updated Rector to commit fb8842d7e9dc39067bef5710c360dea1ce7458a1
fb8842d7e9 [Php80] Test for misplaced , on multiline in AnnotationToAttributeRector (#219)
2021-06-14 03:22:07 +00:00
Tomas Votruba
0f17e48d24 Updated Rector to commit fc17cc90a9dbee71396866d1baf7c3fd3fef419b
fc17cc90a9 [Php80] Test for misplaced } on multiline in AnnotationToAttributeRector (#218)
2021-06-14 02:16:47 +00:00
Tomas Votruba
eb2f72236a Rector 0.11.20 0.11.20 2021-06-13 23:57:37 +00:00
Tomas Votruba
33da72ce33 Updated Rector to commit 5e57bb61bcae1bb015819d2e3f47bbc9bbdaab5c
5e57bb61bc [PHP 8.0] Attributes - add support for single target (#216)
2021-06-13 23:15:28 +00:00
Tomas Votruba
df68ed40ce Updated Rector to commit 3157491c7808b8ca110ada5a9a5cd64206972221
3157491c78 [PHP 8.0] Fix next attributes item with comma and new line (#215)
2021-06-13 22:57:08 +00:00
Tomas Votruba
069fd6e685 Rector 0.11.19 0.11.19 2021-06-13 20:44:24 +00:00
Tomas Votruba
c9f7d2307b Updated Rector to commit 47c437302c3d564208ec2acf603431de61dff22f
47c437302c remove ProjectType open source to make rector easier to use (#203)
2021-06-13 20:25:53 +00:00
Tomas Votruba
0439a83632 Updated Rector to commit 5fd67abde62e9d24cdad9c3f9001b020ec5ad07c
5fd67abde6 [DeadCode] Skip RemoveUnusedAssignVariableRector on used after if else (#213)
2021-06-13 15:06:07 +00:00
Tomas Votruba
32c476ef15 Updated Rector to commit 688804984677d51dcf0aa7b64c92081182efd0f2
6888049846 [PHP 8.0] Avoid duplicating attributed annotations (#212)
2021-06-13 11:38:17 +00:00
Tomas Votruba
d39c210590 Updated Rector to commit 25821f62122d0b1f42080389045a542dfe2343d3
25821f6212 [TASK] Add documentation about FileProcessors (#121)
2021-06-13 11:31:37 +00:00
Tomas Votruba
ab3b6b2c9e Updated Rector to commit 651562dca23b2637184260a754f4dcdd7c41c520
651562dca2 [automated] Re-Generate Nodes/Rectors Documentation (#211)
2021-06-13 10:00:46 +00:00
Tomas Votruba
f6ecb02182 Rector 0.11.18 0.11.18 2021-06-12 16:42:59 +00:00
Tomas Votruba
85c938f7a5 Updated Rector to commit 09251da5973e0053db974d75f75c625a64f59506
09251da597 [Privatization] Skip abstract class in PrivatizeLocalPropertyToPrivatePropertyRector
2021-06-12 16:41:54 +00:00
Tomas Votruba
1e2dd0e842 Rector 0.11.17 0.11.17 2021-06-12 16:18:46 +00:00
Tomas Votruba
5fe45cf0b2 Updated Rector to commit 8ebc4fe30042ec3d42351792fb536bc8292face9
8ebc4fe300 fix cs
2021-06-12 16:18:38 +00:00
Tomas Votruba
644e950638 Updated Rector to commit 7716d176c98600757625f6181efeebae65d12793
7716d176c9 Clean up phpstan ignore error mask (#210)
2021-06-12 16:11:51 +00:00
Tomas Votruba
9af6860899 Updated Rector to commit 3b64243cf0b87f328c68d32d67e51ae7b611bbeb
3b64243cf0 [CodingStyle] Fix change short php version on VersionCompareFuncCallToConstantRector (#209)
2021-06-12 13:58:46 +00:00
Tomas Votruba
065a643f3f Updated Rector to commit 5aefbba804af59f8622a5f65b456ff0bde070d78
5aefbba804 [CodingStyle] Handle nested breaks in BinarySwitchToIfElseRector and SingularSwitchToIfRector (#207)
2021-06-12 12:03:11 +00:00
Tomas Votruba
843f414034 Updated Rector to commit 7bbbed11e7976ecdd3a66fb88002704119c9d516
7bbbed11e7 Test:  +  (#208)
2021-06-12 06:41:08 +00:00
Tomas Votruba
a8b955f937 Updated Rector to commit 4b41e97a6dd2beb3043d2ae205ea41a0a033613f
4b41e97a6d [DeadCode] Skip RemoveUnusedVariableAssignRector if variable used before or in assign expr (#206)
2021-06-11 17:53:41 +00:00
Tomas Votruba
3d837fa2bc Updated Rector to commit 51d55bb6c4f6378cedcb2731e1cd30c9d8983ab8
51d55bb6c4 [PHP 8.0] Add promoted property parent fixer test cae (#204)
2021-06-11 11:17:43 +00:00
Tomas Votruba
e29462ff33 Updated Rector to commit ac81e98fbfb138ffd1b3dd2725ee1c6b7010a22b
ac81e98fbf move from nette/caching to own cache based on PHPStan (#202)
2021-06-11 11:03:31 +00:00
Tomas Votruba
a130d42a04 Updated Rector to commit 9dea8d8cd82bb640ccad2d583487d1afdd69428d
9dea8d8cd8 [DeadCode][CodeQuality] Handle use RemoveDeadInstanceOfRector + SwitchNegatedTernaryRector with if instanceof check (#201)
2021-06-11 09:40:47 +00:00
Tomas Votruba
a84be67bab Updated Rector to commit 3f039f15e852e1a449eeee5b1f2498b24b40d09b
3f039f15e8 [SetList] Add import SetList::PHP_74 in rector.php (#199)
2021-06-10 23:32:40 +00:00
Tomas Votruba
30625b285f Updated Rector to commit 932458fd0908da16709e57750c1c18be1c6f1aa8
932458fd09 [Php71] Skip magic const __LINE__ on BinaryOpBetweenNumberAndStringRector (#200)
2021-06-10 23:31:36 +00:00
Tomas Votruba
0612b299c6 Updated Rector to commit 8675bcb12a20fdd95559a9e87eff7ceca5c22017
8675bcb12a [DowngradePhp80] Allow func call as well for DowngradeClassOnObjectToGetClassRector (#198)
2021-06-10 15:15:03 +00:00
Tomas Votruba
b9f2e27693 Updated Rector to commit 8aeaeb172cef272c4e9bd0a4a863d31084bffa60
8aeaeb172c Fix for private method removal with different casing (#197)
2021-06-10 13:22:26 +00:00
Tomas Votruba
6d40eadfb2 Updated Rector to commit 6e9783c671158782b2477af6b504475b133705f6
6e9783c671 [Downgrade Php 8] Handle Property Fetch and static Property fetch (#195)
2021-06-10 13:15:41 +00:00