143 Commits

Author SHA1 Message Date
Tomas Votruba
09e84aa431 Updated Rector to commit 20153a915bbbbd665084f44f725a10fc8c6b778f
20153a915b [TypeDeclaration] Skip mixed union return on ReturnTypeDeclarationRector (#393)
2021-07-07 00:20:29 +00:00
Tomas Votruba
8a32b5f563 Updated Rector to commit 150da023db4a54a72f1a8225dba52754c5295cf3
150da023db include standalone traits in downgrade too
2021-07-06 08:19:07 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992ccc8e6d4b20e92a5833316d381921391
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
31b96d8276 Updated Rector to commit 5f43d6b712538efcbcb976418c2e856de0468e3a
5f43d6b712 Make RemoveUnusedPrivateClassConstantRector use of static reflection (#384)
2021-07-05 09:49:56 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a1d327542ef2326a84b71554856b9ef
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 904a5a7a1c8dd041524cb51ec3a689ad4cbef436
904a5a7a1c Make use of ClassMethodReturnVendorLockResolver (#377)
2021-07-04 21:21:47 +00:00
Tomas Votruba
1f8149a055 Updated Rector to commit a9b1bbba885aa28167e65e5a46063959cf6449a3
a9b1bbba88 [PHP 8.0] Make Downgrade widening union depend on ClassMethod, the narrow scope (#375)
2021-07-04 18:27:51 +00:00
Tomas Votruba
4333c09758 Updated Rector to commit dfbbb02dec1ee271ee4da600a93a430178d1f9d2
dfbbb02dec [PHP 8.0] Fix DowngradeNamedArgumentRector named arguments (#373)
2021-07-04 13:13:54 +00:00
Tomas Votruba
ec097d0fda Updated Rector to commit 9907e913af6ed37ec8b00273caf91a29a02263ad
9907e913af bump to fixed ECS
2021-07-03 10:57:19 +00:00
Tomas Votruba
79df1ed831 Updated Rector to commit 6238705e938a643cb84e0b4275cb682d26307975
6238705e93 mics
2021-07-02 00:08:09 +00:00
Tomas Votruba
7f55328e3b Updated Rector to commit 3966aa0770f0ad31b990ddb1c4cd9c12a0d14ae3
3966aa0770 Improve PhpDocNodeTraverser (#356)
2021-07-01 16:34:59 +00:00
Tomas Votruba
5585a0cc88 Updated Rector to commit 2bc0f4c0966f2c6fbd7440a920235baf6c38f175
2bc0f4c096 [DeadCode] Skip nullable from param for RemoveUnusedNonEmptyArrayBeforeForeachRector (#347)
2021-07-01 12:49:39 +00:00
Tomas Votruba
1666838b21 Updated Rector to commit 9575dd2231f38d6dd04606e53c51919527c9333c
9575dd2231 [CodingStyle] Skip indirect version number on VersionCompareFuncCallToConstantRector (#344)
2021-07-01 08:50:15 +00:00
Tomas Votruba
6949a054ce Updated Rector to commit 1d1dc73fcbac8f15b4af03b7baa5ee90fe71f0e2
1d1dc73fcb [PHP 8.0] Fix attribute multi-line (#337)
2021-06-30 01:01:00 +00:00
Tomas Votruba
636eeecaf4 Updated Rector to commit dfd048342b88db3c2adcf20ec701a9fd9a4e2319
dfd048342b [PHP 8.0] Run union types for filled param type too (#331)
2021-06-29 14:24:45 +00:00
Tomas Votruba
ed4f2ecd4c Updated Rector to commit e666df703e78bed6a404315db4a8482b8f1b98ed
e666df703e More Reflection cleanup (#328)
2021-06-29 00:31:58 +00:00
Tomas Votruba
d8c2a5ac52 Updated Rector to commit 62bbaa56d25f109fe648949592bb50d94d30055d
62bbaa56d2 Cleanup stuff (#324)
2021-06-28 17:10:14 +00:00
Tomas Votruba
57002777fc Updated Rector to commit 1a87a3dfcc2caaaa74b05b4318035ba2c697c559
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
91f35a766a Updated Rector to commit 947da2c680d912e4d503ff0f26f9b73fd122c16d
947da2c680 add property reflection resolver (#317)
2021-06-27 23:35:53 +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
5a0a45ded6 Updated Rector to commit 20ad16b1e6ad957009035498a8384b684c74f938
20ad16b1e6 [automated] Re-Generate Nodes/Rectors Documentation (#307)
2021-06-27 12:12:15 +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
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
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
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
4982b19288 Updated Rector to commit 68d7671ee12da8d1c9a2f72796c9cb884f04195b
68d7671ee1 Handle nested arrays in CurlyListNode (#274)
2021-06-23 12:46:02 +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
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
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
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
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
dda18414a1 Updated Rector to commit 5e6a01145feda29e844606d161ff278c2297fa8f
5e6a01145f [README] fix ecs.php link
2021-06-17 09:46:43 +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
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
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
ab3b6b2c9e Updated Rector to commit 651562dca23b2637184260a754f4dcdd7c41c520
651562dca2 [automated] Re-Generate Nodes/Rectors Documentation (#211)
2021-06-13 10:00:46 +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
4e4ad99d9a Updated Rector to commit 1a3afef04d83ebac3cef3b00b18de7773ec4332c
1a3afef04d PHPStan updated and static fixes (#192)
2021-06-10 10:46:24 +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