2230 Commits

Author SHA1 Message Date
Tomas Votruba
91f35a766a Updated Rector to commit 947da2c680d912e4d503ff0f26f9b73fd122c16d
947da2c680 add property reflection resolver (#317)
2021-06-27 23:35:53 +00:00
Tomas Votruba
791eb8723f Updated Rector to commit a43571607264ad82557fe869aab550dff21d01ec
a435716072 Unite any extra reflection parsing to single ReflectionResolver service (#313)
2021-06-27 17:35:23 +00:00
Tomas Votruba
82fbf12196 Updated Rector to commit e3727aad8101adc655b6c7105d4e71771ef9acbf
e3727aad81 [DeadCode] Make private property removal dependent on local property fetches (#311)
2021-06-27 16:22:20 +00:00
Tomas Votruba
ba438584ff Updated Rector to commit 4f4dce928e5d6534caaf904349740f1d2a9bf1b1
4f4dce928e Improve reflection for Variadic analyzer (#310)
2021-06-27 14:06:45 +00:00
Tomas Votruba
5a0a45ded6 Updated Rector to commit 20ad16b1e6ad957009035498a8384b684c74f938
20ad16b1e6 [automated] Re-Generate Nodes/Rectors Documentation (#307)
2021-06-27 12:12:15 +00:00
Tomas Votruba
a094563744 Updated Rector to commit 4da26f66805a08039ee3df5be8a2f766f5d7153b
4da26f6680 fix ReturnTypeFromStrictTypedCallRector
2021-06-26 21:53:44 +00:00
Tomas Votruba
78ccb28752 Updated Rector to commit 0b717e1df41c952169335877a45c753e1e3a00c1
0b717e1df4 cleanup OptionalParametersAfterRequiredRector
2021-06-26 18:46:16 +00:00
Tomas Votruba
6c8071d20a Updated Rector to commit d808426e719d4667ed39d3b074e44f4eaa18d464
d808426e71 [Naming] Add CLASS_MAP_FILES option + fix missing about-to-be-renamed renamed classes with custom SourceLocator (#303)
2021-06-26 18:33:28 +00:00
Tomas Votruba
4d8ab9294a Updated Rector to commit 99abcba0505fcc960d65b639b2482c85a7c7e95c
99abcba050 ping ci (#302)
2021-06-26 14:52:05 +00:00
Tomas Votruba
9a8c076100 Updated Rector to commit 6a3f274f2458e74d96bb365d78aef6de2a8e2ef8
6a3f274f24 bump deps (#301)
2021-06-26 12:33:28 +00:00
Tomas Votruba
2037399677 Updated Rector to commit 04981badaadd4a5950b85cea5a39b9c03cb28c68
04981badaa Rename ReflectionAstResolver to simple AstResolver (#300)
2021-06-26 11:50:38 +00:00
Tomas Votruba
8ac9a8f8ba Updated Rector to commit 68c2bcda1bad5b45226f6af5232c19139a902a95
68c2bcda1b [composer] remove dependency on nette-to-symfony, very niche package that would require much work to be used in public (#290)
2021-06-25 17:12:46 +00:00
Tomas Votruba
56f42aa88e Updated Rector to commit edd78eb3109e879ef3bf92ba0e678feb3f915d61
edd78eb310 fix cs
2021-06-25 15:48:58 +00:00
Tomas Votruba
348ed1d016 Updated Rector to commit c0758c29a9250cc16686e4d738a0b80381290b1b
c0758c29a9 [DeadCode] Add RemovePhpVersionIdCheckRector (#222)
2021-06-25 15:32:54 +00:00
Tomas Votruba
16b47c2532 Updated Rector to commit 46e563eb57a58d2891bfdf817571cb211df46681
46e563eb57 PropertyTypeDeclarationRector: support  and  prefixed  (#293)
2021-06-25 15:32:16 +00:00
Tomas Votruba
aabefcfa4c Updated Rector to commit d7013d080b96966a91dc46a4d30b1f26cd4f9ff1
d7013d080b [EarlyReturn] Handle If inside closure for ChangeAndIfToEarlyReturnRector (#289)
2021-06-25 12:32:16 +00:00
Tomas Votruba
dba6b87202 Updated Rector to commit 6162f70e75199ba4c56e0e845fb1f8c6ecdd2db1
6162f70e75 [DeadCode] Keep Assign expr on RemoveUnusedVariableAssignRector for impure function (#282)
2021-06-25 09:05:38 +00:00
Tomas Votruba
c99e19b804 Updated Rector to commit 4f619aae7257f4ad2fa5e13b79d5a18797137db8
4f619aae72 NodeRepository usage cleanup (#287)
2021-06-25 06:35:08 +00:00
Tomas Votruba
3164f411cc Updated Rector to commit 328b5b4a02df62bcfed9af0f7c2aabc9db5178a1
328b5b4a02 [Cleanup] Removing NodeRepository from constant string regex rule + [Naming] Remove dangerou isser/getter renames (#286)
2021-06-24 13:19:56 +00:00
Tomas Votruba
8c26861e95 Updated Rector to commit 24fc2e6068e7991fcb361187294a6c8cffd88c66
24fc2e6068 Various NodeRepository removal + fix of Annotation parsing trailing comma (#283)
2021-06-24 11:03:06 +00:00
Tomas Votruba
10c6241f66 Updated Rector to commit d36ee6357b3bce3e743b6dac26dca976d9228eba
d36ee6357b [CodingStyle] Skip PreslashSimpleFunctionRector on function defined previous call (#284)
2021-06-24 11:01:06 +00:00
Tomas Votruba
650e9d7876 Updated Rector to commit b028d5633a3bad2c44d6a946c912153610227b52
b028d5633a Remove NodeRepository dependency on ChangeReadOnlyPropertyWithDefaultValueToConstantRector (#281)
2021-06-24 10:09:03 +00:00
Tomas Votruba
fe83c379c5 Updated Rector to commit 29e9bf5610dd9a01cadc68e823e64562476a7517
29e9bf5610 Cleaning up NodeRepository dependency (#280)
2021-06-24 08:24:49 +00:00
Tomas Votruba
3419d090b1 Updated Rector to commit 5daf16907abbbe6657c4138acbf96893870f8a97
5daf16907a [DowngradePhp80] Fix Type boolan and array on DowngradeNamedArgumentRector (#279)
2021-06-23 17:04:26 +00:00
Tomas Votruba
0ef9715e0d Updated Rector to commit 3575ba0e47f81c072ec530674d020278457f6e32
3575ba0e47 [DowngradePhp80] Enable New_ on DowngradeNamedArgumentRector (#276)
2021-06-23 14:44:39 +00:00
Tomas Votruba
4982b19288 Updated Rector to commit 68d7671ee12da8d1c9a2f72796c9cb884f04195b
68d7671ee1 Handle nested arrays in CurlyListNode (#274)
2021-06-23 12:46:02 +00:00
Tomas Votruba
7cdc668f8b Updated Rector to commit ea11625cfb69e7f5a0438ef8391dc9177fdb7f1d
ea11625cfb compact
2021-06-22 19:34:44 +00:00
Tomas Votruba
71b64910b3 Updated Rector to commit b7359eda29da4377d8ee842c0964f981fbd42abd
b7359eda29 [Php80] Fix Non namespaced class with annotation on AnnotationToAttributeRector (#268)
2021-06-22 16:12:07 +00:00
Tomas Votruba
98ca09597d Updated Rector to commit 0c035c390d4afd73b76f186313d4b7f7d906e072
5689cbe017 remove passing extra fileInfo with file, already included 7bba40aa32 remove OPTION_ prefix c2ce6104d3 remove extra parma in value object 77a90c5fd4 remove is cache debug ff3de640d4 add shot options constant 0c035c390d misc
2021-06-22 15:56:17 +00:00
Tomas Votruba
b5f061b071 Updated Rector to commit 28891ea62d7ee55dd7a247668b43aa10e6aec4ae
28891ea62d remove deprecated sets option (#267)
2021-06-22 15:34:03 +00:00
Tomas Votruba
f88f666b48 Updated Rector to commit 7c30a9713bca2d4389d47c569c2017ed4ee0b353
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 a41384bc0064fa78211ac59a79a0debd89868eb1
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 ff4a9883f9320f3289cc6f11f6339400dc30caac
ff4a9883f9 [automated] Re-Generate Nodes/Rectors Documentation (#252)
2021-06-21 19:24:28 +00:00
Tomas Votruba
8fb4c4de26 Updated Rector to commit dc1d8625a1086779b8c235564128f214e0e1ee55
dc1d8625a1 fix name variable caller -> callerName (#253)
2021-06-20 10:00:08 +00:00
Tomas Votruba
dd0f41032c Updated Rector to commit dc90b45425c4921e221b7b6b826fa3cb22ccd981
dc90b45425 Alternative for 241 (Remove backslash from fallback var name) (#251)
2021-06-20 00:37:20 +00:00
Tomas Votruba
e1e4a30cb1 Updated Rector to commit 2723dfd4df1f6c3f7a56afbbc211e0b63289bfd7
2723dfd4df [Php80] Fix OptionalParametersAfterRequiredRector to treat variadic as optional (#248)
2021-06-19 15:32:40 +00:00
Tomas Votruba
4465a95e7a Updated Rector to commit e639ed4d1a1780e5ab26d2017f874fdc2d10044e
e639ed4d1a [PHPStan] Add PHPStan 0.12.90 support (#246)
2021-06-19 14:06:22 +00:00
Tomas Votruba
dc5e1f3102 Updated Rector to commit 2723dfd4df1f6c3f7a56afbbc211e0b63289bfd7
2723dfd4df [Php80] Fix OptionalParametersAfterRequiredRector to treat variadic as optional (#248)
2021-06-19 14:06:03 +00:00
Tomas Votruba
54f83536f1 Updated Rector to commit 9987001099543c79af8e2087524b2ec8c8335a99
9987001099 [Config] Clean up comment in rector.php config (#247)
2021-06-19 01:07:33 +00:00
Tomas Votruba
11b9fe9deb Updated Rector to commit 24384c10ed4f6b41d3f84b9d7b2903c3c5bbafe9
24384c10ed [Php 8] Enable RenamePropertyToMatchTypeRector (#168)
2021-06-18 19:29:49 +00:00
Tomas Votruba
6b9c9cbaf5 Updated Rector to commit c251806319f0f9e140a8ea0c9c3d7ba7c6529327
c251806319 [Order] Cleanup set from rules that are nicely handled by php-cs-fixer (#245)
2021-06-18 18:13:33 +00:00
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
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