Commit Graph

813 Commits

Author SHA1 Message Date
Tomas Votruba
990fd729ae Updated Rector to commit 0d7e293404
0d7e293404 [CodingStyle] Handle Non-string specifier for EncapsedStringsToSprintfRector (#622)
2021-08-08 17:03:07 +00:00
Tomas Votruba
e9e85a1300 Updated Rector to commit a8b01f217b
a8b01f217b [automated] Re-Generate Nodes/Rectors Documentation (#619)
2021-08-08 00:26:40 +00:00
Tomas Votruba
b5290c94c5 Updated Rector to commit 2d22795af1
2d22795af1 [DeadCode] Skip RemoveDeadConstructorRector on empty constructor with class extends (#611)
2021-08-07 11:33:39 +00:00
Tomas Votruba
ed866c99db Updated Rector to commit 7398a6637c
7398a6637c Add failing test fixture for RemoveUnusedPrivateMethodRector (#604)
2021-08-06 06:45:08 +00:00
Tomas Votruba
fa67d66a44 Updated Rector to commit 3eb503653f
3eb503653f [BetterStandardPrinter] Using Expr_ArrowFunction->returnType with print return type double colon right after the bracket (#596)
2021-08-05 05:49:38 +00:00
Tomas Votruba
fcfef6acab Updated Rector to commit 529eb40360
529eb40360 [DowngradePhp80] Handle both DowngradeTypedPropertyRector and DowngradeMixedTypeDeclarationRector Name parameter (#591)
2021-08-04 07:34:48 +00:00
Tomas Votruba
46cf4c1774 Updated Rector to commit 0888a92985
0888a92985 [CodeQuality] Skip class with constructor parameter for ClassConstFetch on CallableThisArraToAnonymousFunctionRector (#581)
2021-08-03 10:22:54 +00:00
Tomas Votruba
1452c5d9ff Updated Rector to commit b3480900f3
b3480900f3 [CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576)
2021-08-02 17:48:07 +00:00
Tomas Votruba
bfa1433bd5 Updated Rector to commit 2c71aa6976
2c71aa6976 [VersionBonding] Update rector warning message for min PHP version project (#572)
2021-08-02 09:39:41 +00:00
Tomas Votruba
d0e5aaee2f Updated Rector to commit 645b7a8e8f
645b7a8e8f [automated] Re-Generate Nodes/Rectors Documentation (#562)
2021-08-01 00:25:55 +00:00
Tomas Votruba
c3bc0fc47d Updated Rector to commit d9f47f8572
d9f47f8572 [DeadCode] Using SideEffectNodeDetector::detectCallExpr() on RemoveOverriddenValuesRector (#554)
2021-07-31 11:34:50 +00:00
Tomas Votruba
7b8909a8bc Updated Rector to commit 62cca3bfeb
62cca3bfeb [CodingStyle] Fix ArrayCallableToMethodCallFactory for non-object types (#548)
2021-07-30 07:56:13 +00:00
Tomas Votruba
406cb3c9f8 Updated Rector to commit a152283fd7
a152283fd7 cleanup (#547)
2021-07-30 07:40:46 +00:00
Tomas Votruba
ff5108a964 Updated Rector to commit cdad000d81
cdad000d81 [DowngradePhp80] Register DowngradeThrowExprRector to downgrade-php80 config set (#538)
2021-07-29 00:44:05 +00:00
Tomas Votruba
f41cfb1de8 Updated Rector to commit b4392749f4
b4392749f4 Fix some code samples (#535)
2021-07-28 12:55:48 +00:00
Tomas Votruba
b8d4e57170 Updated Rector to commit a7f111e201
a7f111e201 [PHPStan] Clean up PHPStan ignore error messages (#530)
2021-07-28 04:37:30 +00:00
Tomas Votruba
a23b777a9a Updated Rector to commit 3a96b9097d
3a96b9097d [DeadCode] Skip fluent return  on RemoveEmptyMethodCallRector (#521)
2021-07-27 11:16:44 +00:00
Tomas Votruba
c231e32779 Updated Rector to commit eb91c61b95
eb91c61b95 [Config] Clean up rector.php config (#514)
2021-07-26 09:06:10 +00:00
Tomas Votruba
dfa7a8133f Updated Rector to commit 923bb72983
923bb72983 [Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511)
2021-07-25 16:57:05 +00:00
Tomas Votruba
4a70b89e41 Updated Rector to commit 4456c4690b
4456c4690b extend AutowiredClassMethodAnalyzer with property
2021-07-25 07:47:04 +00:00
Tomas Votruba
4c03335bdf Updated Rector to commit 771a3390b0
771a3390b0 [TypeDeclaration] Handle simple class name as string for non-native class (#501)
2021-07-24 11:53:32 +00:00
Tomas Votruba
27e4e06416 Updated Rector to commit 5967ffa267
5967ffa267 Fix along other packages gha (#492)
2021-07-23 06:16:10 +00:00
Tomas Votruba
29db7ec980 Updated Rector to commit 1747d9899a
1747d9899a [DeadCode] Skip next used as variable variable on RemoveUnusedVariableAssignRector (#486)
2021-07-22 14:50:45 +00:00
Tomas Votruba
8b47bb5ba9 Updated Rector to commit bba606c609
bba606c609 Fix alias object imports (#480)
2021-07-21 14:23:45 +00:00
Tomas Votruba
e3f99041de Updated Rector to commit 24a32dfefb
24a32dfefb Fix docs double import (#478)
2021-07-21 13:46:30 +00:00
Tomas Votruba
1127b0c4e2 Updated Rector to commit bc9d2d48d5
bc9d2d48d5 [DX] Add MissedRectorDueVersionChecker (#465)
2021-07-21 09:35:57 +00:00
Tomas Votruba
7483b5a016 Updated Rector to commit 692e9e3db4
692e9e3db4 Rector 7.0 Native init steps (#475)
2021-07-21 08:41:12 +00:00
Tomas Votruba
9e4b848150 Updated Rector to commit 48ccb539d4
48ccb539d4 [DeadCode] Handle null start token position attribute in NodeByTypeAndPositionCollector (#469)
2021-07-20 14:23:43 +00:00
Tomas Votruba
cad500c817 Updated Rector to commit 0d3e54357f
0d3e54357f extract VendorLocationDetector (#462)
2021-07-19 20:57:26 +00:00
Tomas Votruba
1c8f0de25b Updated Rector to commit 9da4597c9a
9da4597c9a Improve attribute order rule (#460)
2021-07-19 09:21:13 +00:00
Tomas Votruba
767752c16e Updated Rector to commit bb41d72116
bb41d72116 [CodingStyle] Add OrderAttributesRector (#459)
2021-07-19 06:34:07 +00:00
Tomas Votruba
0ead874fad Updated Rector to commit 75c06eab69
75c06eab69 Fix match static method name in annotation (#446)
2021-07-19 05:06:26 +00:00
Tomas Votruba
d77b300a95 Updated Rector to commit 2fc18bd2c0
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba
e3f781999f Updated Rector to commit 2a28758894
2a28758894 [Core] Fix --no-progress-bar option not applied (#447)
2021-07-17 03:01:09 +00:00
Tomas Votruba
cc15e42d73 Updated Rector to commit a0f2ad9789
a0f2ad9789 [Privatization] Skip ChangeGlobalVariablesToPropertiesRector on read only global variable (#442)
2021-07-16 09:16:38 +00:00
Tomas Votruba
816016aac7 Updated Rector to commit 294bea2d18
294bea2d18 [FileProcessor] Run untill the file is fixed completelly (#432)
2021-07-15 03:40:51 +00:00
Tomas Votruba
68e641029b Updated Rector to commit 4f2d2d12dd
4f2d2d12dd [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on array param has default null (#433)
2021-07-14 07:23:54 +00:00
Tomas Votruba
adc6b8148a Updated Rector to commit f7eeebaa7b
f7eeebaa7b [DeadCode] Fix non-null type check on RemoveUnusedNonEmptyArrayBeforeForeachRector (#430)
2021-07-13 05:50:47 +00:00
Tomas Votruba
55c47b9663 Updated Rector to commit d08a87f692
d08a87f692 added promoted property test for annotation to attribute rule (#425)
2021-07-12 08:28:11 +00:00
Tomas Votruba
f3645ab6a9 Updated Rector to commit fb9ad83c32
fb9ad83c32 [CodeQuality] Skip InlineIfToExplicitIfRector on constant definition (#422)
2021-07-11 15:30:37 +00:00
Tomas Votruba
54dcc7b361 Updated Rector to commit a49c8612af
a49c8612af [Downgrade PHP 8.0] Fix DowngradeNullsafeToTernaryOperatorRector for trait (#412)
2021-07-10 00:43:27 +00:00
Tomas Votruba
8883574049 Updated Rector to commit 6f1f047087
6f1f047087 add RenameParamValueObjectInterface to trusted downgrade widening types
2021-07-09 23:00:32 +00:00
Tomas Votruba
4e9b6ff030 Updated Rector to commit 0293296974
0293296974 extract UseImportNameMatcher (#407)
2021-07-08 15:57:28 +00:00
Tomas Votruba
4f5c3f4a02 Updated Rector to commit 0c709dfac7
0c709dfac7 Refactor node removing to phpdoc node traverser (#405)
2021-07-08 15:36:45 +00:00
Tomas Votruba
207c620c29 Updated Rector to commit 311a96fbf8
311a96fbf8 bump php-parser to 4.11, phpstan to 0.12.91 (#402)
2021-07-08 00:06:13 +00:00
Tomas Votruba
09e84aa431 Updated Rector to commit 20153a915b
20153a915b [TypeDeclaration] Skip mixed union return on ReturnTypeDeclarationRector (#393)
2021-07-07 00:20:29 +00:00
Tomas Votruba
3910e49c60 Updated Rector to commit 95e6a5e628
95e6a5e628 [CodingStyle] Handle FuncGetArgsToVariadicParamRector in Method/Static Call (#389)
2021-07-06 11:41:14 +00:00
Tomas Votruba
8a32b5f563 Updated Rector to commit 150da023db
150da023db include standalone traits in downgrade too
2021-07-06 08:19:07 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992cc
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00
Tomas Votruba
bb3e86de23 Updated Rector to commit 904a5a7a1c
904a5a7a1c Make use of ClassMethodReturnVendorLockResolver (#377)
2021-07-04 21:21:47 +00:00
Tomas Votruba
4333c09758 Updated Rector to commit dfbbb02dec
dfbbb02dec [PHP 8.0] Fix DowngradeNamedArgumentRector named arguments (#373)
2021-07-04 13:13:54 +00:00
Tomas Votruba
ec097d0fda Updated Rector to commit 9907e913af
9907e913af bump to fixed ECS
2021-07-03 10:57:19 +00:00
Tomas Votruba
5f58406472 Updated Rector to commit ecfaf2147c
ecfaf2147c [CodingStyle] Handle Change Exception variable usage after try catch on CatchExceptionNameMatchingTypeRector (#360)
2021-07-02 10:39:22 +00:00
Tomas Votruba
3172746a80 Updated Rector to commit 171417d720
171417d720 Fix typo (#363)
2021-07-02 10:36:52 +00:00
Tomas Votruba
79df1ed831 Updated Rector to commit 6238705e93
6238705e93 mics
2021-07-02 00:08:09 +00:00
Tomas Votruba
6cdf569f7e Updated Rector to commit c280ef9fc1
c280ef9fc1 [CodingStyle] Default empty array [] on UnSpreadOperatorRector (#359)
2021-07-01 22:11:47 +00:00
Tomas Votruba
1666838b21 Updated Rector to commit 9575dd2231
9575dd2231 [CodingStyle] Skip indirect version number on VersionCompareFuncCallToConstantRector (#344)
2021-07-01 08:50:15 +00:00
Tomas Votruba
6949a054ce Updated Rector to commit 1d1dc73fcb
1d1dc73fcb [PHP 8.0] Fix attribute multi-line (#337)
2021-06-30 01:01:00 +00:00
Tomas Votruba
3cd8f75855 Updated Rector to commit 1d84e60878
1d84e60878 [CodingStyle] Allow Closure and Inner function on FuncGetArgsToVariadicParamRector (#332)
2021-06-29 17:09:54 +00:00
Tomas Votruba
636eeecaf4 Updated Rector to commit dfd048342b
dfd048342b [PHP 8.0] Run union types for filled param type too (#331)
2021-06-29 14:24:45 +00:00
Tomas Votruba
a7f25f1444 Updated Rector to commit 2a394c750f
2a394c750f Reflection cleanup + inline union types for couple of param docs (#330)
2021-06-29 13:37:16 +00:00
Tomas Votruba
ed4f2ecd4c Updated Rector to commit e666df703e
e666df703e More Reflection cleanup (#328)
2021-06-29 00:31:58 +00:00
Tomas Votruba
20323fa50b Updated Rector to commit 5282793145
5282793145 Add enums (#326)
2021-06-28 21:18:55 +00:00
Tomas Votruba
d8c2a5ac52 Updated Rector to commit 62bbaa56d2
62bbaa56d2 Cleanup stuff (#324)
2021-06-28 17:10:14 +00:00
Tomas Votruba
57002777fc Updated Rector to commit 1a87a3dfcc
1a87a3dfcc [TypeDeclaration] Prevent checking class like has external fully qualifieds when class like is null (#319)
2021-06-28 09:39:23 +00:00
Tomas Votruba
791eb8723f Updated Rector to commit a435716072
a435716072 Unite any extra reflection parsing to single ReflectionResolver service (#313)
2021-06-27 17:35:23 +00:00
Tomas Votruba
5a0a45ded6 Updated Rector to commit 20ad16b1e6
20ad16b1e6 [automated] Re-Generate Nodes/Rectors Documentation (#307)
2021-06-27 12:12:15 +00:00
Tomas Votruba
2037399677 Updated Rector to commit 04981badaa
04981badaa Rename ReflectionAstResolver to simple AstResolver (#300)
2021-06-26 11:50:38 +00:00
Tomas Votruba
c99e19b804 Updated Rector to commit 4f619aae72
4f619aae72 NodeRepository usage cleanup (#287)
2021-06-25 06:35:08 +00:00
Tomas Votruba
10c6241f66 Updated Rector to commit d36ee6357b
d36ee6357b [CodingStyle] Skip PreslashSimpleFunctionRector on function defined previous call (#284)
2021-06-24 11:01:06 +00:00
Tomas Votruba
fe83c379c5 Updated Rector to commit 29e9bf5610
29e9bf5610 Cleaning up NodeRepository dependency (#280)
2021-06-24 08:24:49 +00:00
Tomas Votruba
3419d090b1 Updated Rector to commit 5daf16907a
5daf16907a [DowngradePhp80] Fix Type boolan and array on DowngradeNamedArgumentRector (#279)
2021-06-23 17:04:26 +00:00
Tomas Votruba
4982b19288 Updated Rector to commit 68d7671ee1
68d7671ee1 Handle nested arrays in CurlyListNode (#274)
2021-06-23 12:46:02 +00:00
Tomas Votruba
b5f061b071 Updated Rector to commit 28891ea62d
28891ea62d remove deprecated sets option (#267)
2021-06-22 15:34:03 +00:00
Tomas Votruba
f88f666b48 Updated Rector to commit 7c30a9713b
7c30a9713b [CodingStyle] Escape percent when encapsed strings to sprintf (#265)
2021-06-22 13:12:40 +00:00
Tomas Votruba
5c17ab737b Updated Rector to commit a41384bc00
a41384bc00 Fix doc importing on Doctrine annotation class rename (#264)
2021-06-22 10:43:16 +00:00
Tomas Votruba
89bf6477a6 Updated Rector to commit ff4a9883f9
ff4a9883f9 [automated] Re-Generate Nodes/Rectors Documentation (#252)
2021-06-21 19:24:28 +00:00
Tomas Votruba
dd0f41032c Updated Rector to commit dc90b45425
dc90b45425 Alternative for 241 (Remove backslash from fallback var name) (#251)
2021-06-20 00:37:20 +00:00
Tomas Votruba
54f83536f1 Updated Rector to commit 9987001099
9987001099 [Config] Clean up comment in rector.php config (#247)
2021-06-19 01:07:33 +00:00
Tomas Votruba
281d0518a0 Updated Rector to commit dce60231f7
dce60231f7 [TypeDeclaration][Php 8] Enable ReturnTypeDeclarationRector (#184)
2021-06-18 17:31:16 +00:00
Tomas Votruba
6736aed6b9 Updated Rector to commit e783801584
e783801584 [Php71] Handle variadic check inside function with function_exists() check (#244)
2021-06-18 17:14:06 +00:00
Tomas Votruba
dda18414a1 Updated Rector to commit 5e6a01145f
5e6a01145f [README] fix ecs.php link
2021-06-17 09:46:43 +00:00
Tomas Votruba
26f92fe9e9 Updated Rector to commit 5157414f6c
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 f7ba591fd6
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 c8900bf348
c8900bf348 [PHP 8.0] Fix conflicting attribute import (#223)
2021-06-14 17:05:09 +00:00
Tomas Votruba
dc1722f44a Updated Rector to commit 75056429be
75056429be [CodingStyle] Fix newline before new assign set (#220)
2021-06-14 14:16:03 +00:00
Tomas Votruba
0f17e48d24 Updated Rector to commit fc17cc90a9
fc17cc90a9 [Php80] Test for misplaced } on multiline in AnnotationToAttributeRector (#218)
2021-06-14 02:16:47 +00:00
Tomas Votruba
ab3b6b2c9e Updated Rector to commit 651562dca2
651562dca2 [automated] Re-Generate Nodes/Rectors Documentation (#211)
2021-06-13 10:00:46 +00:00
Tomas Votruba
5fe45cf0b2 Updated Rector to commit 8ebc4fe300
8ebc4fe300 fix cs
2021-06-12 16:18:38 +00:00
Tomas Votruba
9af6860899 Updated Rector to commit 3b64243cf0
3b64243cf0 [CodingStyle] Fix change short php version on VersionCompareFuncCallToConstantRector (#209)
2021-06-12 13:58:46 +00:00
Tomas Votruba
843f414034 Updated Rector to commit 7bbbed11e7
7bbbed11e7 Test:  +  (#208)
2021-06-12 06:41:08 +00:00
Tomas Votruba
a130d42a04 Updated Rector to commit 9dea8d8cd8
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 3f039f15e8
3f039f15e8 [SetList] Add import SetList::PHP_74 in rector.php (#199)
2021-06-10 23:32:40 +00:00
Tomas Votruba
4e4ad99d9a Updated Rector to commit 1a3afef04d
1a3afef04d PHPStan updated and static fixes (#192)
2021-06-10 10:46:24 +00:00
Tomas Votruba
6fa9c12855 Updated Rector to commit 4f26e3643d
4f26e3643d [Scoped] Early downgrade src/functions (#185)
2021-06-09 02:43:00 +00:00
Tomas Votruba
ff9660d77a Updated Rector to commit 6e320ce114
6e320ce114 [PHP 8.0] Improve single case check (#175)
2021-06-08 07:43:06 +00:00
Tomas Votruba
b82be72250 Updated Rector to commit 0c9a1f82b8
0c9a1f82b8 [PSR4] Fix deleting file that matches class name (#163)
2021-06-07 07:27:06 +00:00
Tomas Votruba
d29020633e Updated Rector to commit 3158767ccb
3158767ccb [automated] Re-Generate Nodes/Rectors Documentation (#157)
2021-06-06 07:59:41 +00:00
Tomas Votruba
2535f6a548 Updated Rector to commit 4e71338466
4e71338466 [Privatization] Skip Entity and Embeddable Attribute Doctrine\ORM\Mapping on FinalizeClassesWithoutChildrenRector (#155)
2021-06-05 14:17:34 +00:00
Tomas Votruba
55b0e2405f Updated Rector to commit d34b8469aa
d34b8469aa Add test fixture and fix for AnnotationToAttributeRector (#145)
2021-06-04 11:46:51 +00:00
Tomas Votruba
c424fee1aa Updated Rector to commit df07500a76
df07500a76 [BUGFIX] Check if argument is string (#146)
2021-06-03 22:54:09 +00:00
Tomas Votruba
9ea339bb13 Rector 0.11.8 2021-06-03 08:31:26 +00:00
Tomas Votruba
3547d90d45 Updated Rector to commit 1913747f01
1913747f01 [CodingStyle] Handle NotIdentical on CountArrayToEmptyArrayComparisonRector (#144)
2021-06-03 08:30:49 +00:00
Tomas Votruba
f04617a297 Updated Rector to commit d88e3a3efb
d88e3a3efb Fix copy-paste errors in rule docs (#143)
2021-06-02 22:56:35 +00:00
Tomas Votruba
2d7c16f73c Updated Rector to commit 6f7cd6ee39
6f7cd6ee39 [Core] Fix ConfigurableCallValuesCollectingPhpFileLoader::import()  type (#140)
2021-06-02 02:12:14 +00:00
Tomas Votruba
63b5dba28f Updated Rector to commit 743738b66c
743738b66c [CodingStyle] Make MakeInheritedMethodVisibilitySameAsParentRector skip magic methods and annotation methods (#137)
2021-06-01 16:29:18 +00:00
Tomas Votruba
3167527b46 Updated Rector to commit 02f9524e34
02f9524e34 [DowngradePhp80] Add DowngradeNamedArgumentRector (#133)
2021-06-01 12:39:02 +00:00
Tomas Votruba
1a63f1a06c Updated Rector to commit 6fe5a9f4f1
6fe5a9f4f1 [Downgrade PHP 7.3] Add DowngradeIsCountableRector (#128)
2021-05-31 09:35:19 +00:00
Tomas Votruba
fff9179119 Updated Rector to commit f7e9986835
f7e9986835 [PHP 8.0] Add downgrade for str_starts_with() (#126)
2021-05-30 10:12:56 +00:00
Tomas Votruba
d6ce660185 Updated Rector to commit 0864547a0d
0864547a0d [automated] Re-Generate Nodes/Rectors Documentation (#125)
2021-05-30 07:54:06 +00:00
Tomas Votruba
7313b64374 Updated Rector to commit b90952fdeb
b90952fdeb Let Rector upgrade itself to PHP 8 🤖😇 (#123)
2021-05-29 22:10:59 +00:00
Tomas Votruba
578cb687e1 Rector 0.11.6 2021-05-29 17:17:11 +00:00
Tomas Votruba
ebc0abcc08 Updated Rector to commit e0b4e852a6
e0b4e852a6 [Php80] Annotation attribute should keep order original annotation comment (#104)
2021-05-28 12:08:33 +00:00
Tomas Votruba
47087101c1 Updated Rector to commit 80e6c3b959
80e6c3b959 FileRelocationResolverTest: fix RegexpException on windows (#116)
2021-05-27 20:54:56 +00:00
Tomas Votruba
47d722993a Updated Rector to commit ae96c1a308
ae96c1a308 Skip FormatPerservingPrinterTest on windows (#109)
2021-05-26 10:17:03 +00:00
Tomas Votruba
9b5515a16d Updated Rector to commit 4f4c416041
4f4c416041 [CodeQuality] Skip UnusedForeachValueToArrayKeysRector when value used in compact (#100)
2021-05-25 11:50:23 +00:00
Tomas Votruba
89eee6ea29 Updated Rector to commit 5b74ac7ae6
5b74ac7ae6 [PhpDocInfoPrinter] fix running tests on windows (#98)
2021-05-24 16:18:32 +00:00
Tomas Votruba
3fefd8d078 Updated Rector to commit b82d93650d
ac45979d26 fix ns b82d93650d fix namespace
2021-05-23 14:21:14 +00:00
Tomas Votruba
8ef1dfb7af Updated Rector to commit ed8191fb64
ed8191fb64 [Docs] Fixes rector_rules_overview.md docs link in each rules (#92)
2021-05-23 09:33:26 +00:00
Tomas Votruba
90a746a8cf Updated Rector to commit 617c04a9be
617c04a9be [TypeDeclaration] Separated inferred and no types (#90)
2021-05-22 20:37:33 +00:00
Tomas Votruba
3689a516db Updated Rector to commit db00e23b5e
db00e23b5e [PHP 8.0] Downgrade  (#85)
2021-05-21 16:44:29 +00:00
Tomas Votruba
91a82e9ca5 Updated Rector to commit b5c00cbf1c
b5c00cbf1c [BUGFIX] Respect indent_size for tabs (#81)
2021-05-20 14:35:36 +00:00
Tomas Votruba
1fc5dba0b1 Updated Rector to commit 7a712ba445
e2bd8de348 resolve version on release 7a712ba445 date time
2021-05-19 00:12:47 +00:00
Tomas Votruba
270eaef34d Rector 0.11.5 2021-05-18 13:45:09 +00:00
Tomas Votruba
9987c84c58 Rector 0.11.3 2021-05-17 07:55:27 +00:00
Tomas Votruba
10b65060a2 Updated Rector to commit cefe13feab
cefe13feab fix rector rules overview dump location (#49)
2021-05-16 08:19:51 +00:00
Tomas Votruba
80c6cbecea Updated Rector to commit fa8e59708b
fa8e59708b Use local version resolver (#36)
2021-05-15 01:39:19 +00:00
Tomas Votruba
146dc7d680 Updated Rector to commit f2c0023dad
f2c0023dad [PHP 8.1] Add MyClabs enum to native ENUM (#30)
2021-05-14 09:53:43 +00:00
Tomas Votruba
693ce44ea9 Updated Rector to commit 9305fdf4f4
9305fdf4f4 typo
2021-05-13 00:24:58 +00:00
Tomas Votruba
758a350d87 Updated Rector to commit 6af13d7b76234edf43dbb0b4c533912cec19f971 2021-05-12 13:15:45 +00:00
Tomas Votruba
436fcb7505 Updated Rector to commit 0684911cdf
0684911cdf [PHP 8.0] Promoted property fixes (#8)
2021-05-11 10:40:34 +00:00
Tomas Votruba
cdc3b7adef Updated Rector to commit f451b0b8e1
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94d
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
345a89a7e2 Updated Rector to commit a657258f31
a657258f31 cleanup CHANGELOG, is part of GitHub releases now (#2)
2021-05-10 00:23:30 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba
af559edbe9 add changelog link 2021-05-08 01:36:24 +02:00
TomasVotruba
15b84ee2fe fix possible circular reference 2021-05-08 00:59:33 +02:00
TomasVotruba
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02:00
Tomas Votruba
38248d08f4
Return array of nodes directly from refactor() if possible (#6366)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-06 10:23:37 +02:00
Tomas Votruba
327f5fc126
[DowngradePhp70] Add SplitGroupedUseImportsRector + allow to return list of stmt[] in refactor() (#6364)
* rename SeparateMultiUseImportsRector to SeparateMultiUseImportsRector

* [PHP 7.0] Add SplitGroupedUseImportsRector

* allow to return multiple nodes to avoid addStmts() and removeNode() combo

* dot not FQN namespace and use improts
2021-05-06 01:44:08 +02:00
Tomas Votruba
745a7a9739
[CodingStyle] Add CallUserFuncToMethodCallRector (#6328) 2021-05-04 14:59:15 +00:00
Tomas Votruba
21bf53f2ec
[CodeQuality] Add FuncGetArgsToVariadicParamRector (#6318) 2021-05-03 21:27:20 +00:00
Tomas Votruba
2e6d188522
[CodingStyle] Add variadic method call unpack to CallUserFuncCallToVariadicRector (#6316) 2021-05-03 21:03:16 +02:00
Tomas Votruba
e83b7f2538
[PHPStan] Resolve dependency juggling (#6258) 2021-04-28 09:33:25 +00:00
Tomas Votruba
f9dc93cb1a
Fix WrapEncapsedVariableInCurlyBracesRector reporting (#6220)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-23 19:32:59 +00:00
Joyce Babu
49d4f71214
Fix #6161 (#6166) 2021-04-19 11:02:12 +00:00
Tomas Votruba
e7e1b091d2
Simplify PropertyFetchByMethodAnalyzer (#6147)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 22:30:36 +00:00
Tomas Votruba
8b402bfe02
Make use of File object instead of passing around provider of file info, tokens, stmts etc. (#6110)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-13 00:12:48 +00:00
Tomas Votruba
79621dbb99
Flip @see to @changelog links (#6092) 2021-04-10 18:47:17 +00:00
Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser (#5974)
* remove doctrine/annotations

* Refactor doctrine/annotation parser to static reflection with phpdoc-parser

* remove doctirne-annotation-parser-syncer

* remove annotation stubs

* use nodes

* almost there

* [ci-review] Rector Rectify

* skip temporary

* phpstan: remove fixed messages

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
Abdul Malik Ikhsan
b10fc7dab2
[Naming] Allow used outside scope for RenameForeachValueVariableToMatchExprVariableRector (#5990)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-25 22:20:10 +01:00
Abdul Malik Ikhsan
37db8e75cb
[CodingStyle] Escape content delimiter in pattern for ConsistentPregDelimiterRector (#5988) 2021-03-25 22:10:24 +01:00
Tomas Votruba
ae1c6b90f7
Remove dynamic type checks #2 (#5941) 2021-03-21 21:31:18 +00:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks (#5939) 2021-03-21 19:41:17 +01:00
Tomas Votruba
c01d9699b5
Remove type-hiding name methods (#5912)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-19 23:11:36 +00:00
TomasVotruba
de02a85e3f remove parent class 2021-03-18 00:00:16 +01:00
TomasVotruba
7df115b051 make use of reflection 2021-03-18 00:00:16 +01:00
Tomas Votruba
09a3adb696
Less attributes (#5884)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-17 23:03:49 +01:00
Tomas Votruba
69e66cbf1f
Replace StaticRectorStrings with Stringy class, remove CamelCaseFunctionNamingToUnderscoreRector to avoid naming rules (#5882) 2021-03-17 19:59:18 +00:00
Tomas Votruba
0acc05cc6e
remove runnable interface, to lower complexity (#5829) 2021-03-13 01:23:22 +00:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00