2335 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
ab3b6b2c9e Updated Rector to commit 651562dca23b2637184260a754f4dcdd7c41c520
651562dca2 [automated] Re-Generate Nodes/Rectors Documentation (#211)
2021-06-13 10:00:46 +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
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
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
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
Tomas Votruba
4e4ad99d9a Updated Rector to commit 1a3afef04d83ebac3cef3b00b18de7773ec4332c
1a3afef04d PHPStan updated and static fixes (#192)
2021-06-10 10:46:24 +00:00
Tomas Votruba
06272681a5 Updated Rector to commit f3b3c8727fd25c5c12f0147bb01f20cfe8f3c87a
f3b3c8727f [docs] example and title for tests (#191)
2021-06-09 15:02:10 +00:00
Tomas Votruba
c1bc102f24 Updated Rector to commit e31005a633524405c675d722fdc2675651832d4e
e31005a633 [Downgrade 8.0] Match to switch, also for returns (#189)
2021-06-09 14:47:10 +00:00
Tomas Votruba
a8594a1335 Updated Rector to commit e50ad80290438afb4da04d92104b7d1d8ed9213e
e50ad80290 [tests] fix rectors custom naming convention (#188)
2021-06-09 13:08:07 +00:00
Tomas Votruba
c8118ff445 Updated Rector to commit 59722f15af9ff1205ff0fafb425995932af7261f
59722f15af [Php74] Do not add default value property that always filled by __construct() param (#187)
2021-06-09 12:37:40 +00:00
Tomas Votruba
6fa9c12855 Updated Rector to commit 4f26e3643d638a69edaf1064cf59c13f373d557d
4f26e3643d [Scoped] Early downgrade src/functions (#185)
2021-06-09 02:43:00 +00:00
Tomas Votruba
f45f2bf59a Updated Rector to commit d91667cd18cf3bb1b567a6c09ac15b26b6ac016a
d91667cd18 [PHP 8.0] Add implicit exception support to match (#182)
2021-06-08 13:06:20 +00:00
Tomas Votruba
a36655a228 Updated Rector to commit bc84defd14b3e96d43a02e7fd6ba43d8a6d26ddd
bc84defd14 [Naming] @param doc should follow variable renamed on RenamePropertyToMatchTypeRector (#170)
2021-06-08 13:00:58 +00:00
Tomas Votruba
5279626eba Updated Rector to commit ca8f75fae1838fe74ed74c6c96bfa4b4126c8029
ca8f75fae1 [Core] Add ExternalFullyQualifiedAnalyzer to check external FullyQualified extends/interface/traits (#164)
2021-06-08 13:00:02 +00:00
Tomas Votruba
444b9f0d13 Updated Rector to commit 1d2b3248d24fa37e04fc9252f304df3ab6ae4a88
1d2b3248d2 [PHP 8.0] Add implicit return after switch support (#181)
2021-06-08 11:02:16 +00:00
Tomas Votruba
a5a511d448 Updated Rector to commit ca1cdfa8705d38acd10c26d79db630f7d2b96874
ca1cdfa870 [PHP 8.0] Include instant returns in match (#177)
2021-06-08 08:23:35 +00:00
Tomas Votruba
9e4c2beae4 Updated Rector to commit e3e31f5eba216cb79f0130e7d6327d65eca0d4b1
e3e31f5eba [PHP 8.0] Avoid double default (#176)
2021-06-08 08:03:39 +00:00
Tomas Votruba
ff9660d77a Updated Rector to commit 6e320ce114384a8c03b91668e7f02ae00fe4f047
6e320ce114 [PHP 8.0] Improve single case check (#175)
2021-06-08 07:43:06 +00:00
Tomas Votruba
773ce7949a Updated Rector to commit 7de2aa413a1c139d1bdd51585bc16a375af933c8
7de2aa413a skip extends unless class_
2021-06-07 23:40:38 +00:00
Tomas Votruba
5dbd0aca36 Updated Rector to commit 20d55c5a23c86a945a355c4a8d97f13dc38e4cce
20d55c5a23 [PHP 8.0] Include throws default in match (#172)
2021-06-07 23:07:01 +00:00
Tomas Votruba
06a9abecab Updated Rector to commit be3abfb729ede49d5d59dd2a739e3f10bd127852
be3abfb729 [PHP 8.0] Skip switch with default (#171)
2021-06-07 21:47:57 +00:00
Tomas Votruba
07c960561d Updated Rector to commit 017c6357b0dd0cf37c84423d1ff29353a4f27c70
017c6357b0 [PHP 8] Enable Property promotion (#167)
2021-06-07 14:38:40 +00:00
Tomas Votruba
b82be72250 Updated Rector to commit 0c9a1f82b87dd7008effa50841e7525dbeccf8a9
0c9a1f82b8 [PSR4] Fix deleting file that matches class name (#163)
2021-06-07 07:27:06 +00:00
Tomas Votruba
8953d4eb8c Updated Rector to commit 84c80e4cb3b771dd60e33a3daa37c697f6f09bb5
84c80e4cb3 [Naming] Skip change duplicate type on RenamePropertyToMatchTypeRector (#161)
2021-06-06 12:02:44 +00:00
Tomas Votruba
d29020633e Updated Rector to commit 3158767ccb2ed82779541a67b19f4eeeced79383
3158767ccb [automated] Re-Generate Nodes/Rectors Documentation (#157)
2021-06-06 07:59:41 +00:00
Tomas Votruba
0c3832254b Updated Rector to commit a54d7eece452cc28345046b613643495ae5469c7
a54d7eece4 allow to put single class to AnnotationToAttribute
2021-06-05 21:47:54 +00:00
Tomas Votruba
ca0099e05a Updated Rector to commit 3818dfdbfca501d457712c1db8a56a0f10efbb12
3818dfdbfc unprefix instanceof in PhpFileLoader.php since Symfony 5.3
2021-06-05 18:54:16 +00:00
Tomas Votruba
2535f6a548 Updated Rector to commit 4e71338466d10e09447d72ccbbed89e64f6335bf
4e71338466 [Privatization] Skip Entity and Embeddable Attribute Doctrine\ORM\Mapping on FinalizeClassesWithoutChildrenRector (#155)
2021-06-05 14:17:34 +00:00